diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2020-10-31 18:39:06 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2020-10-31 19:04:27 +0000 |
commit | 83306793066febaa07d5b407d3703f80959932ff (patch) | |
tree | b35419dca82b4d01c336fd7ce4cfe7d6d4a5ff4e /nagios/objects | |
parent | Add check of RAID arrays (diff) | |
download | config-83306793066febaa07d5b407d3703f80959932ff.tar.bz2 config-83306793066febaa07d5b407d3703f80959932ff.tar.xz config-83306793066febaa07d5b407d3703f80959932ff.zip |
Add lm sensors checks
Diffstat (limited to 'nagios/objects')
-rw-r--r-- | nagios/objects/cluster.cfg | 6 | ||||
-rw-r--r-- | nagios/objects/commands.cfg | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/nagios/objects/cluster.cfg b/nagios/objects/cluster.cfg index bb03a64..451cdf4 100644 --- a/nagios/objects/cluster.cfg +++ b/nagios/objects/cluster.cfg @@ -125,6 +125,12 @@ define service { } define service { use remote-service + hostgroup_name linux-servers + service_description Sensors + check_command check_sensors +} +define service { + use remote-service host_name defiant service_description MythTV Volume check_command check_disk!10%!5%!/var/store/mythrecordings/ diff --git a/nagios/objects/commands.cfg b/nagios/objects/commands.cfg index c057b2c..4bf4f67 100644 --- a/nagios/objects/commands.cfg +++ b/nagios/objects/commands.cfg @@ -54,6 +54,11 @@ define command { } define command { + command_name check_sensors + command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_sensors +} + +define command { command_name check_haproxy command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_haproxy } |