diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-06-18 18:51:06 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-06-18 18:51:06 +0100 |
commit | 94b10fdcf6fdd02c17943e8e1a69a6e7963bdf8a (patch) | |
tree | 717c76e722aa8690c3536196d22d6a7928b9e383 /nagios/objects/commands.cfg | |
parent | Check generic cache volume, not just Apache cache (diff) | |
download | config-94b10fdcf6fdd02c17943e8e1a69a6e7963bdf8a.tar.bz2 config-94b10fdcf6fdd02c17943e8e1a69a6e7963bdf8a.tar.xz config-94b10fdcf6fdd02c17943e8e1a69a6e7963bdf8a.zip |
Add checks for ldap, ntp and dns
Diffstat (limited to 'nagios/objects/commands.cfg')
-rw-r--r-- | nagios/objects/commands.cfg | 15 |
1 files changed, 15 insertions, 0 deletions
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 |