Hi,
I wrote a script test and it's not sending the emails every 5 minutes. It sends the first email as soon as I initiate the false positive and it will send the email when it recovers but nothing in between -- sometimes I leave the false positive for 20 minutes. I looked in the mail logs and I see the same thing: the email on the first false positive and the email on the recovery but nothing in between. The default conn test does send the email every 5 minutes as expected but.
Here is what my alerts.cfg looks like for that host:
HOST=New-xxxxx-Patient-Portal SERVICE=new-xxxx-patient-portal,http,sslcert,conn MAIL rod.xxxxx at xxxxxx.com COLOR=red RECOVERED MAIL rod.xxxxx at xxxxxxx.com COLOR=yellow RECOVERED MAIL nur.xxxxx at xxxxxxx.com COLOR=red RECOVERED MAIL john.xxxxx at xxxxxxx.com COLOR=red RECOVERED MAIL oleg.xxxxxx at xxxxxxx.com COLOR=red RECOVERED MAIL pm_xxxxx at xxxxxxx.com COLOR=yellow RECOVERED
Here is the tasks.cfg
[new-xxxxxx-patient-portal] ENVFILE /usr/lib/xymon/server/etc/xymonserver.cfg CMD /usr/lib/xymon/server/ext/States/nm/xxxxxx.pl LOGFILE /var/log/xymon/xxxxxxx.log INTERVAL 5m
Here is the hosts.cfg part: xx.192.160.xx <hostname> # new-xxxxxx-patient-portal sslcert https://xxxxxxxx NOCOLUMNS:info,trends,clientlog,ports,procs,files,inode
Any help will be appreciated.