From 94b10fdcf6fdd02c17943e8e1a69a6e7963bdf8a Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 18 Jun 2019 18:51:06 +0100 Subject: Add checks for ldap, ntp and dns --- nagios/objects/commands.cfg | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'nagios/objects/commands.cfg') 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 -- cgit v1.2.3