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, 8 insertions, 3 deletions
diff --git a/nagios/objects/cluster.cfg b/nagios/objects/cluster.cfg index 23945f7..59a2fd6 100644 --- a/nagios/objects/cluster.cfg +++ b/nagios/objects/cluster.cfg @@ -276,19 +276,19 @@ define service { use remote-service hostgroup_name linux-servers service_description Home mount - check_command check_service!home.mount + check_command check_mount!/home } define service { use remote-service hostgroup_name linux-servers service_description WWW mount - check_command check_service!var-www-shared.mount + check_command check_mount!/var/www/shared } define service { use remote-service hostgroup_name linux-servers service_description Git mount - check_command check_service!var-git.mount + check_command check_mount!/var/git } define service { use remote-service diff --git a/nagios/objects/commands.cfg b/nagios/objects/commands.cfg index 7c9f215..7d2d9d3 100644 --- a/nagios/objects/commands.cfg +++ b/nagios/objects/commands.cfg @@ -34,6 +34,11 @@ define command { } define command { + command_name check_mount + command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_mount -a $ARG1$ +} + +define command { command_name check_drbd command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_drbd } |