diff options
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 7d57b7f..bb03a64 100644 --- a/nagios/objects/cluster.cfg +++ b/nagios/objects/cluster.cfg @@ -218,6 +218,12 @@ define service { check_interval 1 retry_interval 1 } +define service { + use remote-service + hostgroup_name linux-servers + service_description Raid + check_command check_raid +} # # Cluster state checks diff --git a/nagios/objects/commands.cfg b/nagios/objects/commands.cfg index 938b642..c057b2c 100644 --- a/nagios/objects/commands.cfg +++ b/nagios/objects/commands.cfg @@ -29,6 +29,11 @@ define command { } define command { + command_name check_raid + command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_raid +} + +define command { command_name check_load command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_load } |