I do it like this:
HOST=%(server*|server2*)
MAIL user-04ae7151bbbd@xymon.invalid EXSERVICE=smtp REPEAT=999999 RECOVERED
Thanks,
Larry Barber
On Thu, Jul 12, 2012 at 4:29 PM, Balderston, David <user-63a5a9869cbc@xymon.invalid>wrote:
Hey,
I need some help to ignore this service. Have tried many different ways
of putting this in the code, but nothing seems to work. Trying to ignore
smtp for one host because it alerts every time it turns on to send an
email. Here is what i have in the alerts.cfg:
HOST=%(server*|server2*)
IGNORE HOST=server* SERVICE=smtp
MAIL user-04ae7151bbbd@xymon.invalid REPEAT=999999 RECOVERED
So the way i understand this is that it should be ignoring smtp but still
emailing about the other services. If anyone has any ideas on what i may
be doing wrong that would be great.
Thanks,
David Balderston
Core Bio Services
user-63a5a9869cbc@xymon.invalid