Xymon Mailing List Archive search

Problems with acking

5 messages in this thread

list David Fogarty · Mon, 1 Jun 2015 14:49:13 -0700 (PDT) ·
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
list Adam Goryachev · Tue, 02 Jun 2015 08:42:05 +1000 ·
quoted from David Fogarty
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
list David Fogarty · Wed, 3 Jun 2015 09:17:34 -0700 (PDT) ·
quoted from Adam Goryachev
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
list Darin D [itsys] Dugan · Wed, 3 Jun 2015 18:16:39 +0000 ·
Wouldn't a preemptive ack just be a disable? 
quoted from David Fogarty

-----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
list David Fogarty · Wed, 3 Jun 2015 16:48:21 -0700 (PDT) ·
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.
quoted from Darin D [itsys] Dugan

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