[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Alerting on UP / DOWN
- To: <hobbit (at) hswn.dk>
- Subject: Alerting on UP / DOWN
- From: d.tom.schmitt (at) L-3com.com
- Date: Mon, 2 Nov 2009 16:45:58 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=l-3com.com; i=d.tom.schmitt (at) l-3com.com; q=dns/txt; s=mail; t=1257205858; x=1288741858; h=from:sender:reply-to:subject:date:message-id:to:cc: mime-version:content-transfer-encoding:content-id: content-description:resent-date:resent-from:resent-sender: resent-to:resent-cc:resent-message-id:in-reply-to: references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:list-owner:list-archive; z=From:=20d.tom.schmitt (at) L-3com.com|Subject:=20Alerting=20o n=20UP=20/=20DOWN|Date:=20Mon,=202=20Nov=202009=2016:45:5 8=20-0700|Message-ID:=20<2B2CEF0E4EE10B449E5D9BB95E6DA0E8 FD1215 (at) MAIL2.csw.l-3com.com>|To:=20<hobbit (at) hswn.dk> |MIME-Version:=201.0; bh=75+JuOSMCoWKa1v/CwsEwmZ/Vg9ibwFZOKeTvfLgYMs=; b=4QR3v3Arst0UXwEnVm2vAEM3ncCNcULZaPmuDHTNTH6lkEJHpP2q/Ee1 7A/wlCQjKKGHaQnV106aEcbipIkxJw==;
- Thread-index: AcpcF1HBS8c4rsqeSOGOYN681pwh8g==
- Thread-topic: Alerting on UP / DOWN
I am running Xymon-4.3.0-0.beta2 on CentOS 5.3.
When I create a bash shell script to be used from the hobbit-alerts.cfg
file,
I only receive one alert for going DOWN and one for RECOVERY.
Is this by design?
Do you only get multiple alerts for down if you request them?
REPEAT=30m
I have monitor2 watching monitor1 and if connectivity fails, it assumes
the responsibilities of monitor1 until monitor1 is available.
The script watches for events DOWN (1st time) and RECOVER to move the
appropriate files for alerting.
I have both systems monitoring but only one alerting.
The files are kept current by using RSYNC between the two systems. This
also creates a backup of each system on the opposite system for a
re-build.
The seconds question is then, if I want to have an escalation to the
next level up, do I have to use the same HOST entry or do I create a
separate one?
HOST=monitor1.csw.l-3com.com SERVICE=conn RECOVERED DURATION>9m
MAIL D.Tom.Schmitt (at) L-3Com.com COLOR=red REPEAT=4d
SCRIPT /home/xymon/SCRIPTS/takeover.sh 911
2nd entry for escalation:
HOST=monitor1.csw.l-3com.com SERVICE=conn RECOVERED DURATION>1h
MAIL The.Boss (at) L-3Com.com COLOR=red REPEAT=4d
Thanks,
Tom Schmitt
Senior IT Staff - R&D
Phone (801) 594-3030
Cell (801) 231-7230
D.Tom.Schmitt (at) L-3Com.com
\\\\||////
\ ~ ~ /
| @ @ |
--oOo---(_)---oOo--