I have the following settings in my hobbitserver.cfg: ALERTCOLORS="red,yellow,purple" OKCOLORS="green,blue,clear"
I have the following rule in my hobbit-alerts.cfg: SERVICE=disk COLOR=red MAIL asparks at photobucket.com RECOVERED
I get an alert when disk space goes critical (red). However:
- when the status goes from red->green, I get a recovery alert;
- when the status goes red->yellow->green, I get NO recovery alert.
I've read the sections on ALERTCOLORS and OKCOLORS. It does work better when I remove yellow from the list. But I need to sometimes alert on yellow status, so this is not really an option.
What have I done wrong? Thanks in advance. -Alan
OK, I've tried: SERVICE=disk COLOR=red MAIL asparks at gobucket.com COLOR=red,yellow RECOVERED
And even: SERVICE=disk COLOR=red,yellow MAIL asparks at gobucket.com COLOR=red RECOVERED
And neither sends a recovery page when disk goes red->yellow->green. If I use only the COLOR=red,yellow, I'm goind to get alerted on a yellow disk (undesired). Did I misunderstand your suggestion? Thanks. -Alan
Tim McCloskey wrote:
Try the following in the specific line in hobbitalerts.cfg: COLOR=red,yellow
Alan Sparks wrote:
I have the following rule in my hobbit-alerts.cfg: SERVICE=disk COLOR=red MAIL asparks at photobucket.com RECOVERED
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (2)
-
asparks@doublesparks.net
-
devzero@cox.net