Hi JC,
Thanks for de quickly reply
I run the dump config, i have a lot of alerts but look good:
2069 HOST=%.* COLOR=yellow SCRIPT /usr/lib/xymon/server/analisador_de_carga.sh xxx at xxx FORMAT=SCRIPT REPEAT=30 SERVICE=uptime,cpu,disk DURATION>1 SCRIPT /usr/lib/xymon/server/analisador_de_carga.sh xxx at xxx FORMAT=SCRIPT REPEAT=1440 SERVICE=ssh,conn,disk,procs,svcs,sonicwall,zextras,zimbra,vmio,tomcat,rhds,raid,mysql,conni,bacula,apache,wb,sqlbkp,mssql,hvrepl,dhcp,dfsr,whois TIME=W:0730:1830 DURATION>60
2074 HOST=%.* COLOR=red SCRIPT /usr/lib/xymon/server/analisador_de_carga.sh xxx at xxx FORMAT=SCRIPT REPEAT=1440 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 TIME=W:0730:1830 DURATION>6
When i run xymond_alert in debug mode, there is no trigger for the item "uptime" that i have tested. In the test i just reboot my machine and the item goes yellow, but no entries on alerts.log
I have attach the log on the email.
There is anything that i could do before upgrade xymon?
Thanks
De: J.C. Cleaver <cleaver at terabithia.org> Enviado: quarta-feira, 28 de outubro de 2015 12:37 Para: Bruno Deschamps Cc: Xymon Mailing List Assunto: Re: [Xymon] Xymon Yellow alerts not working
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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon