first alert generated twice
Hello all, I'm having this issue where the first alert is sent twice since I added html_mail.pl script. The alert message is generated with mail -s and html_mail.pl script, after that the emails are generated only by the html_mail.pl script.
When I run this command:
bin/bbcmd hobbitd_alert --test myserver msg
00017758 2013-03-13 12:13:06 *** Match with 'HOST=myserver' *** 00017758 2013-03-13 12:13:06 Mail alert with command 'mail -s "Hobbit [12345] myserver:msgs CRITICAL (RED)" canghel at mymail' 00017758 2013-03-13 12:13:06 Matching host:service:page 'myserver:msgs:servers' against rule line 69 00017758 2013-03-13 12:13:06 *** Match with 'SCRIPT /xymon/server/ext/html_mail.pl canghel at mymail FORMAT=PLAIN SERVICE=msgs COLOR=red REPEAT=10m RECOVERED' *** 00017758 2013-03-13 12:13:06 Script alert with command '/xymon/server/ext/html_mail.pl' and recipient canghel at mymail 00017758 2013-03-13 12:13:06 Matching host:service:page myserver:msgs:servers' against rule line 71
The entries in the hobbit-alert.cfg look like this Host=myserver SCRIPT /xymon/server/ext/html_mail.pl canghel at mymail FORMAT=PLAIN SERVICE=msgs COLOR=red REPEAT=30m RECOVERED
How do I disable the mail -s?
Thank you, Camelia Anghel
participants (1)
-
canghel@cjh.org