diff options
Diffstat (limited to 'nagios')
-rw-r--r-- | nagios/objects/cluster.cfg | 18 | ||||
-rw-r--r-- | nagios/objects/commands.cfg | 15 |
2 files changed, 33 insertions, 0 deletions
diff --git a/nagios/objects/cluster.cfg b/nagios/objects/cluster.cfg index 65e4101..0767ea1 100644 --- a/nagios/objects/cluster.cfg +++ b/nagios/objects/cluster.cfg @@ -173,6 +173,24 @@ define service { define service { use local-service hostgroup_name linux-servers + service_description LDAP + check_command check_ldap +} +define service { + use local-service + hostgroup_name linux-servers + service_description NTP time + check_command check_ntp +} +define service { + use local-service + hostgroup_name linux-servers + service_description DNS + check_command check_dns +} +define service { + use local-service + hostgroup_name linux-servers service_description HA Proxy check_command check_haproxy max_check_attempts 1 diff --git a/nagios/objects/commands.cfg b/nagios/objects/commands.cfg index b11cc68..94574c9 100644 --- a/nagios/objects/commands.cfg +++ b/nagios/objects/commands.cfg @@ -109,6 +109,21 @@ define command { command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ $ARG2$ } +define command { + command_name check_ldap + command_line $USER1$/check_ldap -H $HOSTADDRESS$ -b dc=random,dc=lan -3 +} + +define command { + command_name check_ntp + command_line $USER1$/check_ntp_time -H $HOSTADDRESS$ +} + +define command { + command_name check_dns + command_line $USER1$/check_dns -H $HOSTADDRESS$ -s $HOSTADDRESS$ +} + # # These are sample performance data commands that can be used to send performance # data output to two text files (one for hosts, another for services). If you |