<DIV>Just add some scripting to the customers scripts that will execute an expect or perl script that;</DIV>
<DIV> </DIV>
<DIV>cat  "DISABLE_SVC_CHECK;Name_of_object;PING" >> nagios.cmd<BR></DIV>
<DIV>Do tail -f nagios.cmd file for more examples.....<BR><BR><B><I>Jason Martin <jhmartin@toger.us></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">-----BEGIN PGP SIGNED MESSAGE-----<BR>Hash: SHA1<BR><BR>I have a situation where I need to script arbitrarily-long downtime and am <BR>not quite sre how to approach it. I have an application that spans <BR>several machines. Every night a script is lauched by someone that shuts <BR>down the application, and some hours later anothe script is executed to <BR>start it back up again. The customer would like alarms squelched during <BR>thd downtime, but re-enabled as soon as the application is back up. The <BR>downtime is different every night depending on what sort of mainenance is <BR>being performed. For that reason the simple solution of making the <BR>notification / check periods exclude the maintenance window won't work. <BR>Scheduling downtime doesn't work very well either since the scri
 pt that <BR>brings the application down won't know how long it will be down.<BR><BR>I could modify
 the app-specific plugins to look for a 'flag-file' touched<BR>by the shutdown script and removed by the startup script and always return<BR>OK if they see it, but that feels like a hack-ish solution.<BR><BR>I also can't disable all checks / notifications as this Nagios instance is <BR>monitoring several applications with disparate maintenance windows.<BR><BR>Has anyone had experience with such a situation?<BR><BR>Thanks,<BR>- -Jason Martin<BR><BR>-----BEGIN PGP SIGNATURE-----<BR>Version: GnuPG v1.3.5 (GNU/Linux)<BR>Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/<BR><BR>iD8DBQFAfAzCl2ODWuqVSBMRApZ4AKCV8qsl04vA/WqwGHxv6+nhTvx6NACfTBmo<BR>htzcwcTuQ0hu6NGesGIvXk4=<BR>=pvXi<BR>-----END PGP SIGNATURE-----<BR><BR><BR>-------------------------------------------------------<BR>This SF.Net email is sponsored by: IBM Linux Tutorials<BR>Free Linux tutorial presented by Daniel Robb
 ins, President and CEO of<BR>GenToo technologies. Learn everything from fundamentals to
 system<BR>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click<BR>_______________________________________________<BR>Nagios-users mailing list<BR>Nagios-users@lists.sourceforge.net<BR>https://lists.sourceforge.net/lists/listinfo/nagios-users<BR>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. <BR>::: Messages without supporting info will risk being sent to /dev/null</BLOCKQUOTE><p>
                <hr size=1><font face=arial size=-1>Do you Yahoo!?<br>
<a href="http://us.rd.yahoo.com/evt=23609/*http://promotions.yahoo.com/design_giveaway/static/index2.html">Yahoo! Small Business $15K Web Design Giveaway</a> - Enter today