Xymon Yellow alerts not working
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
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
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
Interesting. A yellow should at least be sent down the channel.
What are the values of the ALERTCOLORS and OKCOLORS variables in xymonserver.cfg? If not present, yellow might need to be added to the ALERTCOLORS line.
-jc
On Oct 28, 2015, at 9:06 AM, Bruno Deschamps <bruno at redix.com.br> wrote:
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
<alerts.txt>
JC,
The ALERTCOLORS variable has only red and purple.
I add the yellow, restart Xymon and now is working.
Thank you very much
De: Japheth Cleaver <cleaver at terabithia.org> Enviado: quarta-feira, 28 de outubro de 2015 16:49 Para: Bruno Deschamps Cc: Xymon Mailing List Assunto: Re: [Xymon] Xymon Yellow alerts not working
Interesting. A yellow should at least be sent down the channel.
What are the values of the ALERTCOLORS and OKCOLORS variables in xymonserver.cfg? If not present, yellow might need to be added to the ALERTCOLORS line.
-jc
On Oct 28, 2015, at 9:06 AM, Bruno Deschamps <bruno at redix.com.br> wrote:
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
<alerts.txt>
On Wed, October 28, 2015 12:21 pm, Bruno Deschamps wrote:
JC,
The ALERTCOLORS variable has only red and purple.
I add the yellow, restart Xymon and now is working.
Thank you very much
No problem! Glad it helped!
-jc
De: Japheth Cleaver <cleaver at terabithia.org> Enviado: quarta-feira, 28 de outubro de 2015 16:49 Para: Bruno Deschamps Cc: Xymon Mailing List Assunto: Re: [Xymon] Xymon Yellow alerts not working
Interesting. A yellow should at least be sent down the channel.
What are the values of the ALERTCOLORS and OKCOLORS variables in xymonserver.cfg? If not present, yellow might need to be added to the ALERTCOLORS line.
-jc
On Oct 28, 2015, at 9:06 AM, Bruno Deschamps <bruno at redix.com.br> wrote:
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
<alerts.txt>
participants (2)
-
bruno@redix.com.br
-
cleaver@terabithia.org