From: Peter Palfrader Date: Sat, 27 Jun 2009 21:48:32 +0000 (+0200) Subject: ping alive check X-Git-Url: https://wiki.adam-barratt.org.uk/gitweb/?a=commitdiff_plain;h=e5f2387683c02a2d14b1bcbf8141c690d1def9d8;p=mirror%2Fdsa-nagios.git ping alive check --- diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 5405fc8..b9857fe 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -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