How about something like this:<br><br>1. create a "test" named something like "backup". No alerts should be configured for this test, you can use NOPROPRED or DOWNTIME to prevent it from showing up as red and causing anxiety.
<br>2. make your normal db tests "DEPEND" on this new test.<br>3. have your backup scripts send a command to hobbit server setting it to red at the start and green at the finish, be sure to set the status duration to be long enough to prevent purples
<br><br>This should cause your normal db tests to go clear during backups, but restore normal operation after the backups complete. <br><br>Thanks,<br>Larry Barber<br><br><div><span class="gmail_quote">On 9/26/06, <b class="gmail_sendername">
Buchan Milne</b> <<a href="mailto:bgmilne@staff.telkomsa.net">bgmilne@staff.telkomsa.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Monday 25 September 2006 07:56, Charles Jones wrote:<br>> I have the NOTICE flag set for all of my production hosts - I want pages<br>> to go out if someone disables or enables any of them.<br>><br>> However, when backups are done, the oracle databases are brought down,
<br>> which triggers an alert. If they are manually disabled, the NOTICE<br>> message goes out which also wakes people up for no reason.<br>><br>> If I use DOWNTIME in bb-hosts, then I have to specify a window which is
<br>> guaranteed to be longer than the possible time it could take to backup<br>> the databases (which is a dynamic thing which will surely be wrong from<br>> time to time). So what ends up happening is for example, I would specify
<br>> an hour of DOWNTIME, but the backups sometimes only take 30 minutes.<br>> That means there is a 30 minute window where a real alert<br><br>for a test being disabled, during scheduled downtime,<br><br>> would be
<br>> masked, which is unacceptable in a production environment.<br><br>hmm, in our environment, it is acceptable for tests to be disabled for more<br>than the time required for a change if it is within the scheduled downtime
<br>for the change.<br><br>Of course, the fact that a test was disabled would still be logged by hobbit.<br><br>> I guess what I'm looking for, is a way that I can send a commands to<br>> Hobbit via a shellscript (called from the db backup script), that would
<br>> put a host/services in maint mode (disabled - blue dot), and NOT send a<br>> NOTICE page.<br><br>If you set the TIME on your NOTICE alerts to avoid notifications during<br>downtime, notifications of notify messages will not be sent. Of course, you
<br>could have a NOTICE alert that covers this time but does not page (to track<br>anything that does occur).<br><br>BTW, it might help if you include some information on how your alerting is set<br>up, eg. line from bb-hosts and any matching rules from 
hobbit-alerts.cfg.<br><br>Regards,<br>Buchan<br><br><br>--<br>Buchan Milne<br>ISP Systems Specialist<br>B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)<br><br><br></blockquote></div><br>