My coworkers (and I) have been frustrated with the amount of clutter there is on the bb-ack.sh page, so I wrote one of my own. It works, mostly, but falls short of our needs in one way. We'd like to pre-ack before the first page comes through.
Our version only lists tests that have cookies defined in the output of hobbitdboard (see the bb manpage). It uses that cookie to submit acks to bb-ack.sh. When there have been no notifications yet, it doesn't work. This is horrible when we're already getting flooded with tests due to a switch failure or something.
This is running on Debian wheezy (7.8) using the stock 4.3.0~beta2.dfsg-9 Debian package from the distro.
Any ideas?
Dave Fogarty
-- Senior System Administrator CollegeNET.com
On 02/06/15 07:49, David Fogarty wrote:
My coworkers (and I) have been frustrated with the amount of clutter there is on the bb-ack.sh page, so I wrote one of my own. It works, mostly, but falls short of our needs in one way. We'd like to pre-ack before the first page comes through.
Our version only lists tests that have cookies defined in the output of hobbitdboard (see the bb manpage). It uses that cookie to submit acks to bb-ack.sh. When there have been no notifications yet, it doesn't work. This is horrible when we're already getting flooded with tests due to a switch failure or something.
This is running on Debian wheezy (7.8) using the stock 4.3.0~beta2.dfsg-9 Debian package from the distro.
Any ideas?
Set an alert at with 0 delay which is a script which doesn't do anything other than create the cookie? Just a thought....
Regards, Adam
-- Adam Goryachev Website Managers www.websitemanagers.com.au
On Tue, 2 Jun 2015, Adam Goryachev wrote:
Set an alert at with 0 delay which is a script which doesn't do anything other than create the cookie? Just a thought....
Thanks. That might work and I might have to use it but I was really hoping to get someone who really knows the internals of alerts to clarify how to do it properly in the system.
Dave Fogarty
-- Senior System Administrator CollegeNET.com
Wouldn't a preemptive ack just be a disable?
-----Original Message----- From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of David Fogarty Sent: Wednesday, June 3, 2015 11:18 AM To: Adam Goryachev Cc: xymon at xymon.com Subject: Re: [Xymon] Problems with acking
On Tue, 2 Jun 2015, Adam Goryachev wrote:
Set an alert at with 0 delay which is a script which doesn't do anything other than create the cookie? Just a thought....
Thanks. That might work and I might have to use it but I was really hoping to get someone who really knows the internals of alerts to clarify how to do it properly in the system.
Dave Fogarty
-- Senior System Administrator CollegeNET.com
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Nope. That has a different effect which makes it so you can't see the overall status of up/down hosts on the non-green page.
Dave Fogarty
-- Senior System Administrator CollegeNET.com
On Wed, 3 Jun 2015, Dugan, Darin D [ITSYS] wrote:
Wouldn't a preemptive ack just be a disable?
-----Original Message----- From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of David Fogarty Sent: Wednesday, June 3, 2015 11:18 AM To: Adam Goryachev Cc: xymon at xymon.com Subject: Re: [Xymon] Problems with acking
On Tue, 2 Jun 2015, Adam Goryachev wrote:
Set an alert at with 0 delay which is a script which doesn't do anything other than create the cookie? Just a thought....
Thanks. That might work and I might have to use it but I was really hoping to get someone who really knows the internals of alerts to clarify how to do it properly in the system.
Dave Fogarty
-- Senior System Administrator CollegeNET.com
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
participants (3)
-
dave@collegenet.com
-
dddugan@iastate.edu
-
mailinglists@websitemanagers.com.au