diff options
Diffstat (limited to 'nagios-templates.cfg')
-rw-r--r-- | nagios-templates.cfg | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/nagios-templates.cfg b/nagios-templates.cfg index eafcd74..9732e8e 100644 --- a/nagios-templates.cfg +++ b/nagios-templates.cfg @@ -118,6 +118,41 @@ define command{ } define command{ + command_name check_dns + command_line /usr/lib/nagios/plugins/check_dns -H $HOSTADDRESS$ -s $HOSTADDRESS$ +} + +define command{ + command_name check_imaps + command_line /usr/lib/nagios/plugins/check_imap -p 993 -H $HOSTADDRESS$ -S +} + +define command{ + command_name check_nfs + command_line /usr/lib/nagios/plugins/check_rpc -H $HOSTADDRESS$ -C nfs -c2,3 +} + +define command{ + command_name check_squid + command_line /usr/lib/nagios/plugins/check_http -H $HOSTADDRESS$ -p $ARG1$ -u $ARG2$ -e 'HTTP/1.0 200 OK' +} + +define command{ + command_name check_swap + command_line /usr/lib/nagios/plugins/check_swap -w $ARG1 -c $ARG2$ +} + +define command{ + command_name check_procs_zombie + command_line /usr/lib/nagios/plugins/check_procs -w $ARG1$ -c $ARG2$ -s Z +} + +define command{ + command_name check_linux_raid + command_line /usr/lib/nagios/plugins/check_linux_raid +} + +define command{ command_name check-host-alive command_line /usr/lib/nagios/plugins/check_ping -H $HOSTADDRESS$ -w 5000,100% -c 5000,100% -p 1 } |