Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e393c3af3f
commit
4978089aab
4963 changed files with 677545 additions and 0 deletions
1
plugins/inputs/smartctl/testcases_device/nvme/device
Normal file
1
plugins/inputs/smartctl/testcases_device/nvme/device
Normal file
|
@ -0,0 +1 @@
|
|||
/dev/nvme0
|
1
plugins/inputs/smartctl/testcases_device/nvme/deviceType
Normal file
1
plugins/inputs/smartctl/testcases_device/nvme/deviceType
Normal file
|
@ -0,0 +1 @@
|
|||
nvme
|
|
@ -0,0 +1 @@
|
|||
smartctl,model=Sabrent\ Rocket\ 4.0\ 1TB,name=/dev/nvme0,serial=6D1107091C9583054511,type=nvme available_spare=100i,available_spare_threshold=5i,capacity=1000204886016i,controller_busy_time=1635i,critical_comp_time=0i,critical_warning=0i,data_units_read=28337502i,data_units_written=76471882i,firmware="RKT401.3",health_ok=true,host_reads=294243226i,host_writes=733021025i,media_errors=0i,num_err_log_entries=4871i,percentage_used=4i,power_cycles=1815i,power_on_hours=8733i,temperature=48i,unsafe_shutdowns=39i,warning_temp_time=0i,logical_block_size=512i 1711480345635747372
|
145
plugins/inputs/smartctl/testcases_device/nvme/response.json
Normal file
145
plugins/inputs/smartctl/testcases_device/nvme/response.json
Normal file
|
@ -0,0 +1,145 @@
|
|||
{
|
||||
"json_format_version": [
|
||||
1,
|
||||
0
|
||||
],
|
||||
"smartctl": {
|
||||
"version": [
|
||||
7,
|
||||
4
|
||||
],
|
||||
"pre_release": false,
|
||||
"svn_revision": "5530",
|
||||
"platform_info": "x86_64-linux-6.8.1-arch1-1",
|
||||
"build_info": "(local build)",
|
||||
"argv": [
|
||||
"smartctl",
|
||||
"-a",
|
||||
"-d",
|
||||
"nvme",
|
||||
"/dev/nvme0",
|
||||
"--json"
|
||||
],
|
||||
"exit_status": 0
|
||||
},
|
||||
"local_time": {
|
||||
"time_t": 1711371013,
|
||||
"asctime": "Mon Mar 25 06:50:13 2024 MDT"
|
||||
},
|
||||
"device": {
|
||||
"name": "/dev/nvme0",
|
||||
"info_name": "/dev/nvme0",
|
||||
"type": "nvme",
|
||||
"protocol": "NVMe"
|
||||
},
|
||||
"model_name": "Sabrent Rocket 4.0 1TB",
|
||||
"serial_number": "6D1107091C9583054511",
|
||||
"firmware_version": "RKT401.3",
|
||||
"nvme_pci_vendor": {
|
||||
"id": 6535,
|
||||
"subsystem_id": 6535
|
||||
},
|
||||
"nvme_ieee_oui_identifier": 6584743,
|
||||
"nvme_total_capacity": 1000204886016,
|
||||
"nvme_unallocated_capacity": 0,
|
||||
"nvme_controller_id": 1,
|
||||
"nvme_version": {
|
||||
"string": "1.3",
|
||||
"value": 66304
|
||||
},
|
||||
"nvme_number_of_namespaces": 1,
|
||||
"nvme_namespaces": [
|
||||
{
|
||||
"id": 1,
|
||||
"size": {
|
||||
"blocks": 1953525168,
|
||||
"bytes": 1000204886016
|
||||
},
|
||||
"capacity": {
|
||||
"blocks": 1953525168,
|
||||
"bytes": 1000204886016
|
||||
},
|
||||
"utilization": {
|
||||
"blocks": 1953525168,
|
||||
"bytes": 1000204886016
|
||||
},
|
||||
"formatted_lba_size": 512,
|
||||
"eui64": {
|
||||
"oui": 6584743,
|
||||
"ext_id": 268705991866
|
||||
}
|
||||
}
|
||||
],
|
||||
"user_capacity": {
|
||||
"blocks": 1953525168,
|
||||
"bytes": 1000204886016
|
||||
},
|
||||
"logical_block_size": 512,
|
||||
"smart_support": {
|
||||
"available": true,
|
||||
"enabled": true
|
||||
},
|
||||
"smart_status": {
|
||||
"passed": true,
|
||||
"nvme": {
|
||||
"value": 0
|
||||
}
|
||||
},
|
||||
"nvme_smart_health_information_log": {
|
||||
"critical_warning": 0,
|
||||
"temperature": 48,
|
||||
"available_spare": 100,
|
||||
"available_spare_threshold": 5,
|
||||
"percentage_used": 4,
|
||||
"data_units_read": 28337502,
|
||||
"data_units_written": 76471882,
|
||||
"host_reads": 294243226,
|
||||
"host_writes": 733021025,
|
||||
"controller_busy_time": 1635,
|
||||
"power_cycles": 1815,
|
||||
"power_on_hours": 8733,
|
||||
"unsafe_shutdowns": 39,
|
||||
"media_errors": 0,
|
||||
"num_err_log_entries": 4871,
|
||||
"warning_temp_time": 0,
|
||||
"critical_comp_time": 0
|
||||
},
|
||||
"temperature": {
|
||||
"current": 48
|
||||
},
|
||||
"power_cycle_count": 1815,
|
||||
"power_on_time": {
|
||||
"hours": 8733
|
||||
},
|
||||
"nvme_error_information_log": {
|
||||
"size": 63,
|
||||
"read": 16,
|
||||
"unread": 0,
|
||||
"table": [
|
||||
{
|
||||
"error_count": 4871,
|
||||
"submission_queue_id": 0,
|
||||
"command_id": 20495,
|
||||
"status_field": {
|
||||
"value": 8194,
|
||||
"do_not_retry": false,
|
||||
"status_code_type": 0,
|
||||
"status_code": 2,
|
||||
"string": "Invalid Field in Command"
|
||||
},
|
||||
"phase_tag": false,
|
||||
"parm_error_location": 40,
|
||||
"lba": {
|
||||
"value": 0
|
||||
},
|
||||
"nsid": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"nvme_self_test_log": {
|
||||
"current_self_test_operation": {
|
||||
"value": 0,
|
||||
"string": "No self-test in progress"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue