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 user-dbdfb2ed0f46@xymon.invalid COLOR=red RECOVERED
MAIL user-55746f219f2a@xymon.invalid COLOR=yellow RECOVERED
MAIL user-061f4261914e@xymon.invalid COLOR=red RECOVERED
MAIL user-544025ca1a40@xymon.invalid COLOR=red RECOVERED
MAIL user-573ddb62f0ed@xymon.invalid COLOR=red RECOVERED
MAIL user-1af7ab88806c@xymon.invalid 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.