Xymon Mailing List Archive search

Xymon Yellow alerts not working

list Japheth Cleaver
Wed, 28 Oct 2015 07:37:34 -0700
Message-Id: <user-0a71d7f91770@xymon.invalid>

Hi Bruno,

The syntax looks correct at first glance; though typically the SERVICE
lines are specified on the initial header line, I believe that's still
valid. Can you run "xymoncmd xymond_alert --dump-config" and post the
output? That should show how xymond_alert is interpreting it.

If everything looks good, can you enable debug mode on xymond_alert (send
its PID a -USR2 signal) and trigger a "yellow" notification? We might see
a reason in the output.

Finally, it might be time to upgrade. A number of minor have bug fixes
have gone through since 4.3.11 around parsing generally.

HTH,
-jc


On Wed, October 28, 2015 4:25 am, Bruno Deschamps wrote:
Hi,


I have many alerts on my xymon working fine with the color red.

I have configured some yellow color alerts, but they are not working. I
check the notifications.log file and it does not show anything for yellow
alerts.

Im using xymon 4.3.11


Here ir my alerts.cfg file:


HOST=%.* COLOR=yellow
        SCRIPT $ANALISADOR_BIN xxx at xxx DURATION>1m SERVICE=uptime,cpu,disk
        SCRIPT $ANALISADOR_BIN xxx at xxx REPEAT=1d TIME=$HORARIO_COMERCIAL
DURATION>1h
SERVICE=ssh,conn,disk,procs,svcs,sonicwall,zextras,zimbra,vmio,tomcat,rhds,raid,mysql,conni,bacula,apache,wb,sqlbkp,mssql,hvrepl,dhcp,dfsr,whois


HOST=%.* COLOR=red
        SCRIPT $ANALISADOR_BIN xxx at xxx REPEAT=1d TIME=$HORARIO_COMERCIAL
DURATION>6m
SERVICE=bkp,fbbkp,fwcluster,netstat,ntbkp,orabkp,orastb,ssh,standby,uptime,conn,conni,disk,drbd,eth,procs,svcs,vm,kvm,mysql,raid,rdp,rhds,tomcat,bnu,sbkp,snet,mssql,hvrepl,dhcp,dfsr


There is something wrong in my cfg file?
Anyone has the same problem?


Thanks