Skip to content

Commit

Permalink
Merge pull request #188 from k0ste/help
Browse files Browse the repository at this point in the history
Added more testdata json's
  • Loading branch information
NiceGuyIT authored Mar 2, 2024
2 parents 17da669 + 3b2c702 commit 0dc8fb3
Show file tree
Hide file tree
Showing 139 changed files with 63,613 additions and 0 deletions.
119 changes: 119 additions & 0 deletions testdata/nvme-null-CT250P2SSD8-nvme0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
{
"device": {
"info_name": "/dev/nvme0",
"name": "/dev/nvme0",
"protocol": "NVMe",
"type": "nvme"
},
"firmware_version": "REDACTED",
"json_format_version": [
1,
0
],
"local_time": {
"asctime": "Fri Feb 13 23:31:30 2009 UTC",
"time_t": 1234567890
},
"logical_block_size": 512,
"model_name": "CT250P2SSD8",
"nvme_controller_id": 1,
"nvme_ieee_oui_identifier": 41077,
"nvme_namespaces": [
{
"capacity": {
"blocks": 488397168,
"bytes": 250059350016
},
"eui64": {
"ext_id": 391110459468,
"oui": 41077
},
"formatted_lba_size": 512,
"id": 1,
"size": {
"blocks": 488397168,
"bytes": 250059350016
},
"utilization": {
"blocks": 488397168,
"bytes": 250059350016
}
}
],
"nvme_number_of_namespaces": 1,
"nvme_pci_vendor": {
"id": 49321,
"subsystem_id": 49321
},
"nvme_smart_health_information_log": {
"available_spare": 100,
"available_spare_threshold": 5,
"controller_busy_time": 1675,
"critical_comp_time": 0,
"critical_warning": 0,
"data_units_read": 4932757,
"data_units_written": 1002900,
"host_reads": 38087906,
"host_writes": 29940645,
"media_errors": 0,
"num_err_log_entries": 1,
"percentage_used": 0,
"power_cycles": 8,
"power_on_hours": 10147,
"temperature": 26,
"temperature_sensors": [
40
],
"unsafe_shutdowns": 5,
"warning_temp_time": 0
},
"nvme_total_capacity": 250059350016,
"nvme_unallocated_capacity": 0,
"nvme_version": {
"string": "1.3",
"value": 66304
},
"power_cycle_count": 8,
"power_on_time": {
"hours": 10147
},
"serial_number": "REDACTED",
"smart_status": {
"nvme": {
"value": 0
},
"passed": true
},
"smart_support": {
"available": true,
"enabled": true
},
"smartctl": {
"argv": [
"smartctl",
"--json",
"--info",
"--health",
"--attributes",
"--tolerance=verypermissive",
"--nocheck=standby",
"--format=brief",
"--log=error",
"/dev/nvme0"
],
"build_info": "REDACTED",
"exit_status": 0,
"platform_info": "REDACTED",
"version": [
7,
3
]
},
"temperature": {
"current": 26
},
"user_capacity": {
"blocks": 488397168,
"bytes": 250059350016
}
}
88 changes: 88 additions & 0 deletions testdata/nvme-null-HUSMR7632BHP301-nvme0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
{
"device": {
"info_name": "/dev/nvme0",
"name": "/dev/nvme0",
"protocol": "NVMe",
"type": "nvme"
},
"firmware_version": "REDACTED",
"json_format_version": [
1,
0
],
"local_time": {
"asctime": "Fri Feb 13 23:31:30 2009 UTC",
"time_t": 1234567890
},
"model_name": "HUSMR7632BHP301",
"nvme_controller_id": 35,
"nvme_ieee_oui_identifier": 3274,
"nvme_number_of_namespaces": 128,
"nvme_pci_vendor": {
"id": 7256,
"subsystem_id": 7256
},
"nvme_smart_health_information_log": {
"available_spare": 100,
"available_spare_threshold": 10,
"controller_busy_time": 1184621,
"critical_comp_time": 0,
"critical_warning": 0,
"data_units_read": 790641770,
"data_units_written": 2824080560,
"host_reads": 9757701763,
"host_writes": 40892765082,
"media_errors": 0,
"num_err_log_entries": 34,
"percentage_used": 5,
"power_cycles": 53,
"power_on_hours": 482,
"temperature": 40,
"temperature_sensors": [
40,
32,
36,
38
],
"unsafe_shutdowns": 29,
"warning_temp_time": 0
},
"nvme_total_capacity": 3204045602816,
"nvme_unallocated_capacity": 0,
"power_cycle_count": 53,
"power_on_time": {
"hours": 482
},
"serial_number": "REDACTED",
"smart_status": {
"nvme": {
"value": 0
},
"passed": true
},
"smartctl": {
"argv": [
"smartctl",
"--json",
"--info",
"--health",
"--attributes",
"--tolerance=verypermissive",
"--nocheck=standby",
"--format=brief",
"--log=error",
"/dev/nvme0"
],
"build_info": "REDACTED",
"exit_status": 0,
"platform_info": "REDACTED",
"svn_revision": "5022",
"version": [
7,
1
]
},
"temperature": {
"current": 40
}
}
108 changes: 108 additions & 0 deletions testdata/nvme-null-INTEL_MEMPEK1W032GA-nvme0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
{
"device": {
"info_name": "/dev/nvme0",
"name": "/dev/nvme0",
"protocol": "NVMe",
"type": "nvme"
},
"firmware_version": "REDACTED",
"json_format_version": [
1,
0
],
"local_time": {
"asctime": "Fri Feb 13 23:31:30 2009 UTC",
"time_t": 1234567890
},
"logical_block_size": 512,
"model_name": "INTEL MEMPEK1W032GA",
"nvme_controller_id": 0,
"nvme_ieee_oui_identifier": 6083300,
"nvme_namespaces": [
{
"capacity": {
"blocks": 57149440,
"bytes": 29260513280
},
"formatted_lba_size": 512,
"id": 1,
"size": {
"blocks": 57149440,
"bytes": 29260513280
},
"utilization": {
"blocks": 57149440,
"bytes": 29260513280
}
}
],
"nvme_number_of_namespaces": 1,
"nvme_pci_vendor": {
"id": 32902,
"subsystem_id": 32902
},
"nvme_smart_health_information_log": {
"available_spare": 100,
"available_spare_threshold": 0,
"controller_busy_time": 0,
"critical_warning": 0,
"data_units_read": 3539278,
"data_units_written": 4744607,
"host_reads": 26487271,
"host_writes": 210021083,
"media_errors": 0,
"num_err_log_entries": 0,
"percentage_used": 1,
"power_cycles": 194,
"power_on_hours": 41159,
"temperature": 31,
"unsafe_shutdowns": 173
},
"nvme_version": {
"string": "<1.2",
"value": 0
},
"power_cycle_count": 194,
"power_on_time": {
"hours": 41159
},
"serial_number": "REDACTED",
"smart_status": {
"nvme": {
"value": 0
},
"passed": true
},
"smart_support": {
"available": true,
"enabled": true
},
"smartctl": {
"argv": [
"smartctl",
"--json",
"--info",
"--health",
"--attributes",
"--tolerance=verypermissive",
"--nocheck=standby",
"--format=brief",
"--log=error",
"/dev/nvme0"
],
"build_info": "REDACTED",
"exit_status": 0,
"platform_info": "REDACTED",
"version": [
7,
3
]
},
"temperature": {
"current": 31
},
"user_capacity": {
"blocks": 57149440,
"bytes": 29260513280
}
}
Loading

0 comments on commit 0dc8fb3

Please sign in to comment.