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:john.thurston at alaska.gov <mailto:john.thurston at alaska.gov>] 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