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

Buchan Milne bgmilne at staff.telkomsa.net
Tue Sep 26 13:21:50 CEST 2006


On Monday 25 September 2006 07:56, Charles Jones wrote:
> 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

for a test being disabled, during scheduled downtime,

> would be 
> masked, which is unacceptable in a production environment.

hmm, in our environment, it is acceptable for tests to be disabled for more 
than the time required for a change if it is within the scheduled downtime 
for the change.

Of course, the fact that a test was disabled would still be logged by hobbit.

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

If you set the TIME on your NOTICE alerts to avoid notifications during 
downtime, notifications of notify messages will not be sent. Of course, you 
could have a NOTICE alert that covers this time but does not page (to track 
anything that does occur).

BTW, it might help if you include some information on how your alerting is set 
up, eg. line from bb-hosts and any matching rules from hobbit-alerts.cfg.

Regards,
Buchan


-- 
Buchan Milne
ISP Systems Specialist
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20060926/6e8bd884/attachment.sig>


More information about the Xymon mailing list