[hobbit] COLOR keyword in alerts
OK, it's a bug that triggers when you have a color-setting followed by some other rule.
Patch is attached, it is also available at http://www.hswn.dk/beta/
Great. Looks like the patch does the trick.
Question: If I have COLOR=red,purple and RECOVERED, will I get recovery alerts for machines which go into 'yellow'? Obviously this isn't desired behavior.
Thanks.
-- Bruce Z. Lysik <blysik at shutterfly.com> Operations Engineer
On Mon, Feb 07, 2005 at 11:04:15AM -0800, Bruce Lysik wrote:
Question: If I have COLOR=red,purple and RECOVERED, will I get recovery alerts for machines which go into 'yellow'? Obviously this isn't desired behavior.
This was raised a while ago, and ended up with two options for hobbitd: The --alertcolors option defines which colors are critical and may result in an alert, and the --okcolors option that defines which colors may result in a recovery message.
By default, red yellow and purple are considered critical, and green blue and clear are OK. So with the scenario you describe, you will NOT get a recovery message when the status goes yellow - only when it goes green. However, no alerts will be sent while the status is yellow.
Henrik
participants (2)
-
blysik@shutterfly.com
-
henrik@hswn.dk