[project @ peter@palfrader.org-20080406115250-hqx859tlprmb1lax]
authorPeter Palfrader <peter@palfrader.org>
Sun, 6 Apr 2008 11:52:50 +0000 (07:52 -0400)
committerPeter Palfrader <peter@palfrader.org>
Sun, 6 Apr 2008 11:52:50 +0000 (07:52 -0400)
own smtp check with longer timeout.  tweaks

checkcommands.cfg
nagios-master.cfg

index 806a2bc..7bfde41 100644 (file)
@@ -10,3 +10,7 @@ define command{
        command_name    dsa_check_http_port
        command_line    /usr/lib/nagios/plugins/check_http -H $HOSTADDRESS$ -I $HOSTADDRESS$ -p $ARG1$
 }
+define command{
+       command_name    dsa_check_smtp
+       command_line    /usr/lib/nagios/plugins/check_smtp -t 20 -H $HOSTADDRESS$
+}
index 6fbc709..3b8b89f 100644 (file)
@@ -282,7 +282,7 @@ servers:
   caballero:
     address: 193.201.200.200
     parents: gw-blackcat
-    hostgroups: computers, buildd, bind9-hosts
+    hostgroups: computers, buildd, sw-raid
 
 #############################
 # host groups
@@ -802,12 +802,12 @@ services:
  ###
   -
     name: network service - smtp
-    check: check_smtp
+    check: dsa_check_smtp
     hostgroups: postfix-hosts
     depends: process - postfix - master
   -
     name: network service - smtp
-    check: check_smtp
+    check: dsa_check_smtp
     hostgroups: computers
     excludehostgroups: postfix-hosts
     depends: process - exim