Scripting downtime

Marc Powell marc at ena.com
Tue Apr 13 19:31:48 CEST 2004


Jason Martin <mailto:jhmartin at toger.us> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Tue, 13 Apr 2004, Marc Powell wrote:
> > > instance is monitoring several applications with disparate
> > > maintenance windows. 
> > > 
> > > Has anyone had experience with such a situation?
> > 
> > Why not have the shutdown script submit the
> > DISABLE_SVC_NOTIFICATIONS external command to Nagios and the
> > startup script submit the ENABLE_SVC_NOTIFICATIONS external
> > command? Seems like a very straightforward, service specific and
> > workable solution, especially as you seem to indicate that those
> > scripts have access to your nagios hosts file system (if it's NFS
> > it probably won't work). 
> 
> They don't currently, but it would be easy enough to give the script
> that access (ssh or something I suppose).  Or, can you recommend a
> tool to help with this?  


I don't but ssh sounds like a good solution if you're comfortable with
that from a security standpoint. That's probably the path I would take
given the same task in our environment.

--
Marc



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
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