Help with DOWNTIME tag
Just took the plunge to HOBBIT today and overall it is working very nice. Big Brother has been great - this is going to be a winner!
Reading through the bb-hosts manpage i discovered the DOWNTIME tag. This is great by its description. I have been preventing alerts at specified times of the day, but unfortunately things still go red, though no alerts go out. If I understand DOWNTIME correctly, it should allow failed tests during this downtime window to result in a blue status instead of red. I added it to bb-hosts on a host specific line similar to the following.
1.2.3.4 myhost.com # DOWNTIME=*:2259:0531test1 test2 test3 test4 test...
I anxiously awaited the moment several processes stopped for dayend backups and processing, but the staus went red as usual.
Am i coding this wrong or not understnding its implementation correctly?
Thanks
Terry Barnes Siemens Com @ HFHS 248-853-4968 (Office) 586-405-8382 (Cellular) 248-844-3030 (Fax) 5864058382 at messaging.nextel.com (Text Pager) tbarnes1 at hfhs.org
CONFIDENTIALITY NOTICE: This email contains information from the sender that may be CONFIDENTIAL, LEGALLY PRIVILEGED, PROPRIETARY or otherwise protected from disclosure. This email is intended for use only by the person or entity to whom it is addressed. If you are not the intended recipient, any use, disclosure, copying, distribution, printing, or any action taken in reliance on the contents of this email, is strictly prohibited. If you received this email in error, please contact the sending party by replying in an email to the sender, delete the email from your computer system and shred any paper copies of the email you printed.
Note to Patients: There are a number of risks you should consider before using e-mail to communicate with us. These risks are described in our Privacy Policy at http://henryford.com. Review that policy carefully before continuing to communicate with us by e-mail. For greater Internet security, our policy describes the Henry Ford MyHealth electronic communication process - you may register at http://henryford.com. If you do not believe that our policy gives you the privacy and security protection you need, do not send e-mail or Internet communications to us.
On Thu, Mar 24, 2005 at 11:43:59PM -0500, Terry Barnes wrote:
Just took the plunge to HOBBIT today and overall it is working very nice. Big Brother has been great - this is going to be a winner!
Reading through the bb-hosts manpage i discovered the DOWNTIME tag.
[snip description of it not working]
I think you're right - there is a bug in how this is handled. Glad you spotted it.
Attached is a patch for this. To apply it, save the attachment to /tmp/postrc6-downtime.patch, and:
cd hobbit-4.0-RC6 patch -p0 </tmp/postrc6-downtime.patch make
Stop Hobbit, su to root and run "make install", then start Hobbit again.
Regards, Henrik
participants (2)
-
henrik@hswn.dk
-
TBARNES1@hfhs.org