Xymon Mailing List Archive search

Example of alerts.cfg

list Neil Simmonds
Fri, 21 Oct 2011 13:59:44 +0100
Message-Id: <user-4a8babdacaa3@xymon.invalid>

I've got something line this in mine (email addresses are obviously
different in the real file.)

 
It seems to work fine. The correct people get the correct Emails. I did
have to add CLASS:win32 etc on the end of each server definition in
hosts.cfg to make it work though.

 
HOST=ukclamon01 COLOR=purple SERVICE=dm

        SCRIPT /xymon/server/scripts/devmon_restart.sh 1234567890

 
SERVICE=db 
        MAIL user-088889c3c81f@xymon.invalid REPEAT=120 RECOVERED

 
SERVICE=sql

        MAIL user-088889c3c81f@xymon.invalid REPEAT=120 RECOVERED

 
GROUP=unixsupport

        MAIL user-088889c3c81f@xymon.invalid REPEAT=120 RECOVERED SERVICE=disk  
        MAIL user-088889c3c81f@xymon.invalid REPEAT=1440 RECOVERED SERVICE=disk STOP 
        MAIL user-088889c3c81f@xymon.invalid REPEAT=120 RECOVERED SERVICE=cpu
DURATION>15       
        MAIL user-088889c3c81f@xymon.invalid REPEAT=1440 RECOVERED SERVICE=cpu
DURATION>15 STOP  
        MAIL user-088889c3c81f@xymon.invalid REPEAT=120 RECOVERED EXSERVICE=cpu,disk

        MAIL user-088889c3c81f@xymon.invalid REPEAT=1440 RECOVERED EXSERVICE=cpu,disk
STOP

 
GROUP=windowssupport

        MAIL user-088889c3c81f@xymon.invalid REPEAT=360 RECOVERED 
        MAIL user-088889c3c81f@xymon.invalid REPEAT=360 RECOVERED 
        MAIL user-088889c3c81f@xymon.invalid REPEAT=360 RECOVERED 
        MAIL user-088889c3c81f@xymon.invalid REPEAT=360 RECOVERED 
        MAIL user-088889c3c81f@xymon.invalid REPEAT=1440 RECOVERED  
 
GROUP=windowssupport SERVICE=msgs

        MAIL user-088889c3c81f@xymon.invalid REPEAT=360 RECOVERED STOP

 
GROUP=sqlsupport

        MAIL user-088889c3c81f@xymon.invalid REPEAT=360 RECOVERED 
        MAIL user-088889c3c81f@xymon.invalid REPEAT=360 RECOVERED 
        MAIL user-088889c3c81f@xymon.invalid REPEAT=360 RECOVERED 
        MAIL user-088889c3c81f@xymon.invalid REPEAT=360 RECOVERED 
        MAIL user-088889c3c81f@xymon.invalid REPEAT=1440 RECOVERED 
        MAIL user-088889c3c81f@xymon.invalid REPEAT=1440 RECOVERED STOP 
 
PAGE=Environment

        MAIL user-088889c3c81f@xymon.invalid REPEAT=1440 RECOVERED

        MAIL user-088889c3c81f@xymon.invalid REPEAT=1440 RECOVERED STOP

 
HOST=*

      MAIL user-088889c3c81f@xymon.invalid REPEAT=120 RECOVERED 
      MAIL user-088889c3c81f@xymon.invalid REPEAT=1440 RECOVERED

 
Neil Simmonds Operations Analyst
Operations Support Group Express Gifts Ltd. user-8188d25e65e4@xymon.invalid 
Tel :- 01254 303092 Fax :- 01254 303100 

From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf
Of Stefan
Sent: 21 October 2011 13:28
To: Xymon Mailing List
Subject: [Xymon] Example of alerts.cfg

 
Hi

Can anyone please give me an example of a more complicated alerts.cfg?
I need to just see how the structure looks.
I can't seem to get the group/page alerts working, not sure if you need
to just specify PAGE= or PAGE= and HOST= both.
I know there's just something I'm missing.

Thanks


Name & Registered Office: EXPRESS GIFTS LIMITED, 2 GREGORY ST, HYDE, CHESHIRE, ENGLAND, SK14 4TH, Company No. 00718151.
Express Gifts Limited is authorised and regulated by the Financial Services Authority
NOTE:  This email and any information contained within or attached in a separate file is confidential and intended solely for the Individual to whom it is addressed. The information or data included is solely for the purpose indicated or previously agreed. Any information or data included with this e-mail remains the property of Findel PLC and the recipient will refrain from utilising the information for any purpose other than that indicated and upon request will destroy the information and remove it from their records.  Any views or opinions presented are solely those of the author and do not necessarily represent those of Findel PLC. If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. No warranties or assurances are made in relation to the safety and content of this e-mail and any attachments.  No liability is accepted for any consequences arising from it. Findel Plc reserves the right to monitor all e-mail communications through its internal and external networks. If you have received this email in error please notify our IT helpdesk on +44(0) 1254 303030