]> granicus.if.org Git - icinga2/blob - itl/plugins-contrib.d/smart-attributes.conf
Indentation: space to tab
[icinga2] / itl / plugins-contrib.d / smart-attributes.conf
1 /* 
2  * Icinga2 CheckCommand definition for the SMART Attributes Monitoring Plugin
3  */
4
5 object CheckCommand "smart-attributes" {
6         import "plugin-check-command"
7
8         command = [ PluginDir + "/check_smart_attributes" ]
9
10         arguments = {
11                 "-dbj" = {
12                         required = true
13                         value = "$smart_attributes_config_path$"
14                         description = "Path to the smart attributes config file (e.g. check_smartdb.json)"
15                 }
16                 "-d" = {
17                         required = true
18                         value = "$smart_attributes_device$"
19                         description = "Insert the device name (e.g. /dev/sda) to monitor"
20                 }
21         }
22
23         vars.smart_attributes_config_path = ConfigDir + "/plugins-config/check_smartdb.json"
24 }