Trap reset script

Steve Shipway s.shipway at auckland.ac.nz
Wed Mar 14 00:51:03 CET 2007


> It will look up the status and command files from the Nagios config,
parse
> the status and then force an active check for services matching these
> criterias:
> 1. Should not be scheduled to be checked
> 2. Has active checks enabled

Is there a reason why you are not using the Nagios freshness checking to
achieve this?

We have a similar system, with SNMP alerts coming into Nagios, and use
the Freshness Check to set the status to OK after a set period of time.
Services are set to volatile, max_checks=1, so they notify immediately
on receiving a trap no matter what the current state.

Steve

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list