Skip to content

Commit

Permalink
Add tests for pysmart
Browse files Browse the repository at this point in the history
  • Loading branch information
technowhizz committed Jan 21, 2025
1 parent b5b72ba commit 146b26c
Show file tree
Hide file tree
Showing 2 changed files with 279 additions and 258 deletions.
24 changes: 24 additions & 0 deletions etc/kayobe/ansible/scripts/drives/nvme.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"device_info": {
"name": "/dev/nvme0",
"interface": "nvme",
"vendor": "AcmeCorp",
"family": "Acme NVMe Family",
"model": "Acme NVMe 1TB",
"serial": "ABCD1234",
"firmware": "3.0.1",
"smart_capable": true,
"smart_enabled": true,
"assessment": "PASS"
},
"if_attributes": {
"criticalWarning": 0,
"temperature": 36,
"availableSpare": 100,
"availableSpareThreshold": 10,
"percentageUsed": 0,
"dataUnitsRead": 117446405,
"dataUnitsWritten": 84630284,
"notInSmartmonAttrs": 999
}
}
Loading

0 comments on commit 146b26c

Please sign in to comment.