[Xymon] Understanding the alerts.cfg file

Ward, Martin Martin.Ward at colt.net
Fri Jan 25 13:45:06 CET 2013


Hi all,

I have still not sorted out my alerts issues so thought I would ask a few simple questions in the hope of getting more understanding of the way it works.

Are the HOST and PAGE keywords in the alerts.cfg file mutually exclusive or can they be used in combination? In other words can I have:

PAGE=p1
    HOST=h1 SERVICE=ssh
    SCRIPT /opt/xymon/server/ext/restart.sh
    HOST=* SERVICE=ssh
    SCRIPT /opt/xymon/server/ext/email_p1.sh
PAGE=p2
    HOST=* SERVICE=ssh
   SCRIPT /opt/xymon/server/ext/email_p2.sh

to run a restart script if ssh dies on h1, run the email_p1.sh script if ssh dies on any other server on the page and run email_p2.sh if ssh dies on any server in p2?

|\/|
[Description: Colt email signature FINAL]
Martin Ward
Manager, Technical Services
Service Operations

DDI:+44 (0) 20 7863 5218 / Fax: +44 (0)20 7863 5610 / Mob: +44 (0) 7971 97 77 21 /  www.colt.net<http://www.colt.net/>
Colt Technology Services, Beaufort House, 15 St. Botolph Street, London, EC3A 7QN, UK.

Help reduce your carbon footprint | Think before you print. Registered in England and Wales, registered number 02452736, VAT number GB 645 4205 50


[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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20130125/cd3db1bd/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 23274 bytes
Desc: image001.jpg
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20130125/cd3db1bd/attachment.jpg>


More information about the Xymon mailing list