Request new functionality: "Off Hours" state.

Steve Shipway s.shipway at auckland.ac.nz
Fri Feb 16 05:09:55 CET 2007


> > What we need / would like is a per-service and per-host 
> configuration
> > option that allows a host or service to enter an "Off 
> hours" state in
> > the CGI displays. (Or perhaps there should also be a global 
> option for this?)

The way we do this is via a small modification to the status.cgi script,
so that there is an extra filter option which only displays things
currently within their alerting window (its an extra flag in the
bitfield options to serviceprops and hostprops).  So, with this flag
set, the screen will only show items which are currently able to send
out alerts.  

Works well for us - I can send a copy of the modified status.c if you
want, but we're using nagios 1.4...

Steve

--
Steve Shipway
ITSS, University of Auckland 
(09) 3737 599 x 86487
s.shipway at auckland.ac.nz


-------------------------------------------------------------------------
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