Xymon Mailing List Archive search

Preliminary patch for RC3 brokenness

list Bruce Lysik
Wed, 23 Feb 2005 15:54:11 -0800
Message-Id: <user-d248c1c0ae7f@xymon.invalid>

Hmm.  I just got some odd page with RC3-patch.

This group:

HOST=$HG-IMAGE
       SCRIPT /opt/bb/server/ext/email onduty SERVICE=procs RECOVERED        SCRIPT /opt/bb/server/ext/email ops    SERVICE=procs RECOVERED        SCRIPT /opt/bb/server/ext/email onduty SERVICE=http,conn DURATION>6 RECOVERED        SCRIPT /opt/bb/server/ext/email ops    SERVICE=http,conn DURATION>6 RECOVERED        SCRIPT /opt/bb/server/ext/email ops    EXSERVICE=procs,http,conn RECOVERED 
And I just got some cpu alerts sent to the onduty address.  In fact, the 'info' page looks totally wrong for alerts.    Ack.  Just got another alert I shouldn't have.  (A purple for a vmstat monitor which should have only gone to the 'ops' address.)

--
Bruce Z. Lysik  <user-4e63a10f8934@xymon.invalid>
Operations Engineer

-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Wednesday, February 23, 2005 3:19 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Preliminary patch for RC3 brokenness


is available at http://www.hswn.dk/beta/post-RC3.patch

It's been running for an hour now without problems, so I think I've
got the embarassing bugs fixed:

* hobbitd_larrd should not crash anymore
* the alert-configuration should load correctly
* runtime-libraries should hopefully be found correctly on Linux and *BSD
* maint.pl should no longer complain about un-initialised variables

In addition, you get:
* A new hobbit-mailack tool was added, so you can acknowledge   alerts via e-mail without having to use BB's bb-mailack.sh
  (see the hobbit-mailack man-page for instructions on setting it up)
* Support for OpenBSD was added

To install the patch, do:

   cd hobbit-4.0-RC3
   patch -p0 </tmp/post-RC3.patch
   rm Makefile
   ./configure
   make
   su -c "make install"

Note that you MUST delete the old Makefile, and re-run the configure
script.


Regards,
Henrik