Does your oracle test run on the same box?
We're running a hacked version of the 'roracle' script from deadcat; one of the hacks is to report 'blue' if the backup is running. And our backup script sets a specific lockfile at the start, removing it at the end. And we monitor the lockfile existence, to alert on a backup running too long.
Maybe this would be a better approach? Possible send 'clear' instead of 'blue', if the 'blue' triggers the notice?
Tom Kauffman NIBCO, Inc
-----Original Message----- From: Charles Jones [mailto:jonescr at cisco.com] Sent: Monday, September 25, 2006 1:56 AM To: hobbit at hswn.dk Subject: [hobbit] Is there a way to "quietly" disable hosts that have NOTICE set?
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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
CONFIDENTIALITY NOTICE: This email and any attachments are for the
exclusive and confidential use of the intended recipient. If you are not
the intended recipient, please do not read, distribute or take action in
reliance upon this message. If you have received this in error, please
notify us immediately by return email and promptly delete this message
and its attachments from your computer system. We do not waive
attorney-client or work product privilege by the transmission of this
message.