nvidia tested and working, added options for web and api port in jenkinsfile
This commit is contained in:
@ -1,24 +1,22 @@
|
||||
[
|
||||
{
|
||||
"name": "LAN",
|
||||
"name": "",
|
||||
"description": "",
|
||||
"multi_check": "True",
|
||||
"device_list": "",
|
||||
"device_list": " ",
|
||||
"properties": {
|
||||
"MAC Address": "",
|
||||
"Device Name": "",
|
||||
"Device ID": ""
|
||||
|
||||
},
|
||||
"metrics": {
|
||||
"IP Address": "",
|
||||
"MB Transmitted": "",
|
||||
"MB Received": "",
|
||||
"Link State": "",
|
||||
"Link Speed": ""
|
||||
}
|
||||
},
|
||||
"multi_metrics": [
|
||||
],
|
||||
"virt_ignore": [
|
||||
]
|
||||
},
|
||||
{
|
||||
"SATA GBW": "sudo /usr/sbin/smartctl -x --json /dev/{this_device} | jq -r '.physical_block_size as $block |.ata_device_statistics.pages[] | select(.name == \"General Statistics\") | .table[] | select(.name == \"Logical Sectors Written\") | .value as $sectors | ($sectors * $block) / 1073741824 ' | awk '{{printf \"%.2f GiB Written\\n\", $0}}' || true",
|
||||
"NVMe GBW": "sudo /usr/sbin/smartctl -x --json /dev/{this_device} | jq -r ' .nvme_smart_health_information_log.data_units_written as $dw | .logical_block_size as $ls | ($dw * $ls) / 1073741824 ' | awk '{{printf \"%.2f GiB Written\\n\", $0}}' || true"
|
||||
}
|
||||
]
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user