[hobbit] Preliminary patch for RC3 brokenness
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.)
I've confirmed that this is an issue with the patch. I rolled back to RC3 without patch, and suddenly the alerting definitions that are displayed on the 'info' pages make sense again.
-- Bruce Z. Lysik <blysik at shutterfly.com> Operations Engineer
On Wed, Feb 23, 2005 at 03:59:16PM -0800, Bruce Lysik wrote:
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.)I've confirmed that this is an issue with the patch. I rolled back to RC3 without patch, and suddenly the alerting definitions that are displayed on the 'info' pages make sense again.
Thanks for providing a good test-case with the configuration you use.
The patch you tried was a bit too eager in applying the criteria for recipients; it used the criteria from the last recipient for all of the recipients hanging off the same rule (i.e. all lines with recipients would get the same setup).
I've fixed this, and updated the post-RC3 patch. With the new version, your configuration results in the correct alert-setup, as far as I can tell.
Patch is at http://www.hswn.dk/beta/post-RC3.patch (same location as before). You must un-install the old version of the patch first:
cd hobbit-4.0-RC3 patch -R -p0 </tmp/post-RC3.patch.old
then apply the new one: patch -p0 </tmp/post-RC3.patch
and then do the "make" "make install".
I'd be very happy if you can confirm that this results in the correct alert-setup for your hosts.
Regards, Henrik
Henrik Stoerner wrote:
Patch is at http://www.hswn.dk/beta/post-RC3.patch (same location as before). You must un-install the old version of the patch first:
cd hobbit-4.0-RC3 patch -R -p0 </tmp/post-RC3.patch.old
then apply the new one: patch -p0 </tmp/post-RC3.patch
and then do the "make" "make install".
If I didn't apply the old patch, was I still supposed to delete the Makefile?
I'd be very happy if you can confirm that this results in the correct alert-setup for your hosts.
I can confirm that my alerts setup in the info page is now displaying properly, which it wasn't when I upgraded to RC3 and before I applied the latest patch. (having the alert rules show up in info is an awesome feature, BTW.)
Haven't seen any hobbitd_larrd core files either...so far so good.
Tom
On Thu, Feb 24, 2005 at 08:43:32AM -0500, Tom Georgoulias wrote:
Henrik Stoerner wrote:
Patch is at http://www.hswn.dk/beta/post-RC3.patch (same location as before). You must un-install the old version of the patch first:
cd hobbit-4.0-RC3 patch -R -p0 </tmp/post-RC3.patch.old
then apply the new one: patch -p0 </tmp/post-RC3.patch
and then do the "make" "make install".
If I didn't apply the old patch, was I still supposed to delete the Makefile?
Yes. At least if you're building it on a Linux or *BSD platform.
I can confirm that my alerts setup in the info page is now displaying properly, which it wasn't when I upgraded to RC3 and before I applied the latest patch. (having the alert rules show up in info is an awesome feature, BTW.)
Haven't seen any hobbitd_larrd core files either...so far so good.
Really nice - thanks!
Regards, Henrik
On Thu, 2005-02-24 at 15:05 +0100, Henrik Stoerner wrote:
On Thu, Feb 24, 2005 at 08:43:32AM -0500, Tom Georgoulias wrote:
Henrik Stoerner wrote:
I can confirm that my alerts setup in the info page is now displaying properly, which it wasn't when I upgraded to RC3 and before I applied the latest patch. (having the alert rules show up in info is an awesome feature, BTW.)
Haven't seen any hobbitd_larrd core files either...so far so good.
Really nice - thanks!
Ditto. my core files are gone now.
I am still having trouble with the apache graphs. I finally figured out that I had to enable extendedstatus in the /etc/httpd/conf/commonhttpd.conf file, and I'm getting a graph that finally has data other than NaN on the trends page, but no button on the main page... Is that expected?
[mcdonalddj at ldap2 hobbit]$ cat server/etc/bb-hosts
Master configuration file for Hobbit and Big Brother
10.10.9.70 ldap2.austin-energy.net # BBDISPLAY BBPAGER BBNET bbd http://ldap2.austin-energy.net/ noconn apache=http://localhost/server-status?auto ldap ntp include bb-hosts-critical include bb-hosts-network
-- Daniel J McDonald, CCIE # 2495, CNX Austin Energy
dan.mcdonald at austinenergy.com
On Thu, Feb 24, 2005 at 08:21:36AM -0600, Daniel J McDonald wrote:
I am still having trouble with the apache graphs. I finally figured out that I had to enable extendedstatus in the /etc/httpd/conf/commonhttpd.conf file, and I'm getting a graph that finally has data other than NaN on the trends page, but no button on the main page... Is that expected?
It is, yes. The "apache" test only collects some performance statistics - much like the "vmstat" or "netstat" reports; it has no way of going red or yellow. So the performance data is sent using the BB/Hobbit "data" protocol which doesn't result in a button on the status webpage.
Henrik
participants (4)
-
blysik@shutterfly.com
-
dan.mcdonald@austinenergy.com
-
henrik@hswn.dk
-
tgeorgoulias@nandomedia.com