From e5f2387683c02a2d14b1bcbf8141c690d1def9d8 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 27 Jun 2009 23:48:32 +0200 Subject: [PATCH] ping alive check --- config/nagios-master.cfg | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 -- 2.20.1