You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
smart_attributes_smartclt_path | **Optional.** Path where the smartctl binary can be found.
3038
+
smart_attributes_device | **Required.** Device name (e.g. /dev/sda) to monitor.
3039
+
smart_attributes_device_regex | **Required.** Alternative to *smart_attributes_device* but with the availability to use regex.
3040
+
smart_attributes_config_path | **Required.** Path to the smart attributes config file (e.g. check_smartdb.json).
3041
+
smart_attributes_user_config_path | **Optional.** Path where the JSON user config file can be found.
3042
+
smart_attributes_critical_if_not_found | **Optional.** If set to true, the check enters cirical state if the device was not found in the database.
3043
+
smart_attributes_no_sudo | **Optional.** If set to true, disable the usage of sudo for smartctl.
3044
+
smart_attributes_get_allperfs | **Optional.** Get performance data for all monitor-able smart attributes and don't limit performance data to the 'Perfs' section in the smartdb.json.
3045
+
smart_attributes_ssd_only | **Optional.** If set to true, only SSDs are checked, even if more devices are given
3046
+
smart_attributes_options | **Optional.** Additional parameters forwarded to smartctl binary
description = "Show critical if the device was not found in database."
36
+
}
37
+
"-nosudo" = { # Only one '-' is correct, not a typo
38
+
set_if = "$smart_attributes_no_sudo$"
39
+
description = "Disable the usage of sudo for smartctl."
40
+
}
41
+
"--allperfs" = {
42
+
set_if = "$smart_attributes_get_allperfs$"
43
+
description = "Get performance data for all monitor-able smart attributes and don't limit performance data to the 'Perfs' section in the smartdb.json."
44
+
}
45
+
"--ssdonly" = {
46
+
set_if = "$smart_attributes_ssd_only$"
47
+
description = "Check SSDs only, even if more devices are given."
48
+
}
49
+
"--options" = {
50
+
value = "$smart_attributes_options$"
51
+
description = "Additional parameters forwarded to smarctl binary"
0 commit comments