Xymon Mailing List Archive search

Acknowledge purple?

list Betsy Schwartz
Tue, 28 Jan 2014 07:52:14 -0500
Message-Id: <CAAVLHR2oPeafcRxymrwS55xQSwY-_=2oZiH1VuUm0=user-3e03a60c7a43@xymon.invalid>

Wonderful, wonderful, thank you!
Will this be in 4.15?


On Mon, Jan 27, 2014 at 10:13 AM, Henrik Størner <user-ce4a2c883f75@xymon.invalid> wrote:
Hi,

Den 27-01-2014 14:42, Betsy Schwartz skrev:
I'm in the process of writing a script to turn all the purplese red
because my boss is insisting that either we need to do that, or to be
able to ack them.

    ----- Original Message -----
    From: John Thurston [mailto:user-ce4d79d99bab@xymon.invalid
    <mailto:user-ce4d79d99bab@xymon.invalid>]
    Sent: Wednesday, January 22, 2014 04:49 PM

    Having recently moved from Big Brother to Xymon, one of the features I
    find most valuable is 'acknowledge'. It lets someone say 'yeah, I know
    the host has a problem' while leaving an indication of the condition
on
    the web interface.

    What I don't understand, though, is why we are not able to
'acknowledge'
    purple events. It seems desirable and I can't see how it would cause
    confusion.

    I've looked in acknowledge.c, and it appears that is is explicitly
    querying for 'color=red,yellow'.

    Is there a business case to exclude purple from the option to 'ack'?
It isn't something that has popped up before. I think the current
behaviour is just how it has always been, without me giving it too much
thought.

Changing that query to "color=red,yellow,purple" won't cause any problems,
as far as I can tell.

There is a setting in xymonserver.cfg: "ALERTCOLORS" which by default is
red, yellow and purple. Those colors may trigger an alert. So I think the
sensible thing would be to allow ack'ing all colors that are listed in this
setting.

This patch should do it, at least it works on the xymon.com site.


Regards,
Henrik