Thanks Henrik that helped a huge amount. I was able to diagnose the issue which was that I was specifying a subpage incorrectly.
To help those searching the Internet for this problem, if you have a subpage that you want to get alerts about then it must be specified as:
PAGE=Main/Sub
Instead of:
PAGE=Sub
Which is what I had; the actual config lines now work correctly:
PAGE=Infovista/IV32 HOST=%ivma[12].*.osspriv.colt.net EXSERVICE=files,msgs,ports,procs,cpu SCRIPT /opt/xymon/server/ext/html_mail.pl martin.ward at colt.net DURATION>1h COLOR=red RECOVERED STOP
@Kenneth, I tried adding a comma at the end of the EXSERVICE line, it made no difference but thanks for the suggestion.
|\/|artin
Martin Ward Manager, Technical Services Service Operations
DDI:+44 (0) 20 7863 5218 / Fax: +44 (0)20 7863 9999 / www.colt.net Colt Technology Services, Unit 12, Powergate Business Park, Volt Avenue, Park Royal, London, NW10 6PW, UK.
Help reduce your carbon footprint | Think before you print. Registered in England and Wales, registered number 02452736, VAT number GB 645 4205 50
-----Original Message----- From: henrik at hswn.dk [mailto:henrik at hswn.dk] Sent: 04 March 2013 11:27 To: Ward, Martin Cc: xymon at xymon.com Subject: Re: [Xymon] Xymon alerting when it's been told not to
On Mon, 4 Mar 2013 09:19:25 +0000, "Ward, Martin" <Martin.Ward at colt.net> wrote:
Hi all,
I have the following in my alerts.cfg: [snip] Yet I am still getting CPU alerts from ivma2.lon.osspriv.colt.net
Try running xymoncmd xymond_alert --test ivma2.lon.osspriv.colt.net cpu and look for lines like
00004226 2013-03-04 12:24:11 Matching host:service:dgroup:page 'cscxymweb3.csc.dk:disk:Xymon servers:cscdk/mwsmonitor,cscdk/mwsmonitor' against rule line 1260 00004226 2013-03-04 12:24:11 *** Match with 'MAIL $XYMONADM $XYMONADMREPEAT' *** 00004226 2013-03-04 12:24:11 Mail alert with command '/usr/bin/mail -s "Xymon [12345] cscxymweb3.csc.dk:disk CRITICAL (RED)" 29236260 at sms.csc.dk' 00004226 2013-03-04 12:24:11 Matching host:service:dgroup:page 'cscxymweb3.csc.dk:disk:Xymon servers:cscdk/mwsmonitor,cscdk/mwsmonitor' against rule line 126
to see which rule triggers the alert.
Regards, Henrik
[Colt Disclaimer] This email is from an entity of the Colt group of companies. Colt Group S.A., K2 Building, Forte 1, 2a rue Albert Borschette, L-1246 Luxembourg, R.C.S. B115679. Corporate and contact information for our entities can be found at http://colt.net/uk/en/Colt-Group-of-Companies/index.htm. Internet communications are not secure and Colt does not accept responsibility for the accurate transmission of this message. Content of this email or its attachments is not legally or contractually binding unless expressly previously agreed in writing by Colt