Xymon Mailing List Archive search

Help with DOWNTIME tag - Fixed!

list Terry Barnes
Fri, 25 Mar 2005 13:32:47 -0500
Message-Id: <user-6b030690339d@xymon.invalid>

user-0e29285d9a67@xymon.invalid 3/25/05 1:13:59 PM >>>
user-ce4a2c883f75@xymon.invalid 3/25/05 3:36:39 AM >>>
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

Yikes - I did this and now I have everything green alright - problem
is
there are no hosts listed. Everything is gone except the "Pages
hosted
locally" page links. Tried enable/disable - no hosts listed on that
either.

bb-display.log, bb-network.log and bb-retest.log shows
2005-03-25 13:03:52 Could not connect to bbd at x.x.x.x:1984 -
Connection
refused
2005-03-25 13:03:52 Whoops ! bb failed to send message - Connection
failed
2005-03-25 13:03:52 hobbitd status-board not available (this line
only
in bb-display.log)

netstat -an|grep 1984 - returns nothing

Any ideas?
Fixed! - I found that even after stopping hobbit, some processes were
still running. They were likely running when I did the make install. So
- I stopped hobbit - had to kill hobbitlaunch which took everything else
down, did a make clean, reran configure, make and make install.
Restarted hobbit and verything is working again.

Now - I have to wait till 11:00 pm to see if the Downtime fix works.


Terry Barnes
Siemens Com @ HFHS
XXX-XXX-XXXX (Office)
XXX-XXX-XXXX (Cellular)
XXX-XXX-XXXX (Fax)
user-34ea5ff61ded@xymon.invalid (Text Pager)
user-0e29285d9a67@xymon.invalid


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.