ping alive check
authorPeter Palfrader <peter@palfrader.org>
Sat, 27 Jun 2009 21:48:32 +0000 (23:48 +0200)
committerPeter Palfrader <peter@palfrader.org>
Sat, 27 Jun 2009 21:48:32 +0000 (23:48 +0200)
config/nagios-master.cfg

index 5405fc8..b9857fe 100644 (file)
@@ -507,6 +507,7 @@ servers:
     hostgroups: notacomputer
     # unless we implement runfrom for host alive checks
     pingable: false
+    check_command: dsa_check_always_ok
 
   lebrun:
     address: 193.198.184.10
@@ -1917,8 +1918,16 @@ services:
     check: "dsa_check_soas_add!alioth.debian.org!alioth.debian.org"
     hosts: global
  ############
+  -
+    name: ping alive check
+    remotecheck: "/usr/lib/nagios/plugins/check_ping -H $HOSTADDRESS$ -w 50,10% -c 200,30%"
+    runfrom: dijkstra
+    hosts: giustini
+    normal_check_interval: 5
+    max_check_attempts: 4
+    retry_check_interval: 1
   -
     name: Overall Unit Status
-    remotecheck: "/usr/lib/nagios/plugins/check_snmp -H giustini-mnt -C public -P 2c -o connUnitStatus -n -c 3 -w 3"
+    remotecheck: "/usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -C public -P 2c -o connUnitStatus -n -c 3 -w 3"
     runfrom: dijkstra
     hosts: giustini