[Nagiosplug-help] escalations help
Rick Garland
Rick.Garland at quantum.com
Mon Jan 7 20:26:52 CET 2008
Hi all:
Working with Nagios 2.9 and plugins 1.4.9
The server is a CentOS5 system and the host are a mix of HPUX, Linux
(mainly RHEL4), and Solaris.
I created a script to watch for Service Guard failover on some of out
HPUX nodes. Exit 0 if the package is running on the primary node, exit 1
if the package is running on the failover (secondary) node, and exit 2
if the package is not running on any node. (And of course exit 3 for
UNK)
What I am wanting to do is have an email sent to the admins for exit 1
and a page for exit 2.
I have been looking at escalations but this does not appear to be what I
want to do. We could have the package running on a secondary node until
our next maintenance window which could be up to 4 weeks.
>From what I gather in the escalations it appears to be counting the
number of notifications for the escalation. Since I would not know what
this count could be I can't see the escalations working.
So in short, when watching the same service, send an email on exit 1
(WARN) and send a page for exit 2 (CRIT
Rick Garland
Sr System Administrator
Quantum, Corp.
8560 Upland Dr.
Englewood, CO 80112
office 720-249-5984
cell 720-210-4671
rick.garland at quantum.com
-----------------------------------------------------------
The information contained in this transmission may be
confidential. Any disclosure, copying, or further
distribution of confidential information is not permitted
unless such privilege is explicitly granted in writing by
Quantum Corporation. Furthermore, Quantum Corporation is not
responsible for the proper and complete transmission of the
substance of this communication or for any delay in its
receipt.
------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20080107/74859ea2/attachment.html>
More information about the Help
mailing list