Is there a way to "quietly" disable hosts that have NOTICE set?

Charles Jones jonescr at cisco.com
Mon Sep 25 07:56:15 CEST 2006


I have the NOTICE flag set for all of my production hosts - I want pages 
to go out if someone disables or enables any of them.

However, when backups are done, the oracle databases are brought down, 
which triggers an alert. If they are manually disabled, the NOTICE 
message goes out which also wakes people up for no reason.

If I use DOWNTIME in bb-hosts, then I have to specify a window which is 
guaranteed to be longer than the possible time it could take to backup 
the databases (which is a dynamic thing which will surely be wrong from 
time to time). So what ends up happening is for example, I would specify 
an hour of DOWNTIME, but the backups sometimes only take 30 minutes. 
That means there is a 30 minute window where a real alert would be 
masked, which is unacceptable in a production environment.

I guess what I'm looking for, is a way that I can send a commands to 
Hobbit via a shellscript (called from the db backup script), that would 
put a host/services in maint mode (disabled - blue dot), and NOT send a 
NOTICE page.

-Charles



More information about the Xymon mailing list