[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [hobbit] help wth alarms



To follow up on Pierre's email, these lines:
HOST=burgos.cmt.es      SERVICE=conn,cpu,cpu2,disk,memory
    MAIL salvarez (at) cmt.es DURATION>30m COLOR=red REPEAT=60 RECOVERED

Can be explained as:
    When an alert comes in from burgos.cmt.es
    and if it's to do with any of the conn,cpu,cpu2,disk,memory services
    and if the alert status is red
    and if it's been red for more than 30 minutes
        send an email to salvarez (at) cmt.es
        and keep sending emails every 60 minutes
        and send a final email saying that the broken service is OK again when it goes green.

Simple, eh?

|\/|

-----Original Message-----
From: NARBEY Pierre [mailto:p.narbey (at) mairie-bordeaux.fr] 
Sent: 05 August 2008 12:21
To: hobbit (at) hswn.dk
Subject: RE: [hobbit] help wth alarms



Your yellow message comes from your second line.
Each line you put in the hobbit-alerts.cfg is used.

In order to avoid the yellow message with 2 lines try :

HOST=burgos.cmt.es      SERVICE=conn,cpu,cpu2,disk,memory
    MAIL salvarez (at) cmt.es DURATION>30m COLOR=red
    MAIL salvarez (at) cmt.es REPEAT=60 RECOVERED COLOR=red

But I think you should try to use only one line :

HOST=burgos.cmt.es      SERVICE=conn,cpu,cpu2,disk,memory
    MAIL salvarez (at) cmt.es DURATION>30m COLOR=red REPEAT=60 RECOVERED

Pierre

-----Message d'origine-----
De : jose erquicia [mailto:mosimodo (at) gmail.com] 
Envoyé : mardi 5 août 2008 12:03
À : hobbit (at) hswn.dk
Objet : Re: [hobbit] help wth alarms

hi thanks for the mail.
I thougt i need that second line , for repat the alert until it be recovered. i´ll try your example . thanks, but still dont understand the yellow mesaages , that hobbit send to me . regards!!!

2008/8/5, NARBEY Pierre <p.narbey (at) mairie-bordeaux.fr>:
>
> Excuse me, I did a mistake, here s the first example :
>
> HOST=%.* PAGE=page5
>        MAIL mail (at) domain.com REPEAT=6h RECOVERED DURATION>15 COLOR=red TIME=W:0720:2000
>        MAIL mail2 (at) domain.com REPEAT=6h RECOVERED DURATION>15 COLOR=red 
> TIME=W:0720:2000
>
> Pierre
>
> -----Message d'origine-----
> De : NARBEY Pierre [mailto:p.narbey (at) mairie-bordeaux.fr]
> Envoyé : mardi 5 août 2008 09:55
> À : hobbit (at) hswn.dk
> Objet : RE: [hobbit] help wth alarms
>
>
> Hi,
>
> Why did you put the same mail 2 times ?
> What do you want hobbit to do ?
>
> I think you need to put all your parameters on the same line.
>
> Here 2 examples of my configuration, I hope this will help you :
>
> HOST=%.* PAGE=page5
> MAIL mail (at) domain.com REPEAT=6h RECOVERED DURATION>15 COLOR=red 
> TIME=W:0720:2000 MAIL mail2 (at) domain.com REPEAT=6h RECOVERED DURATION>15 
> COLOR=red TIME=W:0720:2000
>
> HOST=XXX-YYYY SERVICE=TblSpace
> MAIL mail3 (at) domain.com REPEAT=6h RECOVERED COLOR=yellow,red 
> TIME=W:0720:2000
>
>
> Pierre
>
> -----Message d'origine-----
> De : jose erquicia [mailto:mosimodo (at) gmail.com]
> Envoyé : mardi 5 août 2008 08:51
> À : hobbit (at) hswn.dk
> Objet : [hobbit] help wth alarms
>
> HI evereyone, Im using hobbit since 4 months , i did some little ext . 
> But now im working with the alerts , they dont do what i want.
>
> this is one line .
>
> HOST=burgos.cmt.es      SERVICE=conn,cpu,cpu2,disk,memory
>     MAIL salvarez (at) cmt.es DURATION>30m COLOR=red
>     MAIL salvarez (at) cmt.es REPEAT=60 RECOVERED
>
> the theme is that hobbit is sending us yellow alerts to  and i  only 
> have configure red alerts. And some times is sending an alert that is 
> recovered at the same minute.
>
> some help?
> regards, and have a good time!
>
> To unsubscribe from the hobbit list, send an e-mail to 
> hobbit-unsubscribe (at) hswn.dk
>
>
>
> ********************************************************************
> Ce message et toutes les pièces jointes sont confidentiels et établis 
> à l'intention exclusive de ses destinataires. Il ne constitue pas un 
> document officiel. En vertu du Code Général des Collectivités 
> Territoriales, seuls le Maire et les adjoints au Maire, secrétaire 
> général et secrétaires généraux adjoints ayant reçu une délégation de 
> signature, ont compétence pour engager la Ville de Bordeaux chacun 
> dans les domaines qui les concernent. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. La Ville de Bordeaux décline toute responsabilité au titre de ce message s'il a été altéré, déformé, falsifié.
> ********************************************************************
>
> To unsubscribe from the hobbit list, send an e-mail to 
> hobbit-unsubscribe (at) hswn.dk
>
>
>
> ********************************************************************
> Ce message et toutes les pièces jointes sont confidentiels et établis 
> à l'intention exclusive de ses destinataires. Il ne constitue pas un 
> document officiel. En vertu du Code Général des Collectivités 
> Territoriales, seuls le Maire et les adjoints au Maire, secrétaire 
> général et secrétaires généraux adjoints ayant reçu une délégation de 
> signature, ont compétence pour engager la Ville de Bordeaux chacun 
> dans les domaines qui les concernent. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. La Ville de Bordeaux décline toute responsabilité au titre de ce message s'il a été altéré, déformé, falsifié.
> ********************************************************************
>
> To unsubscribe from the hobbit list, send an e-mail to 
> hobbit-unsubscribe (at) hswn.dk
>
>
>

To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe (at) hswn.dk



********************************************************************
Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Il ne constitue pas un document officiel. En vertu du Code Général des Collectivités Territoriales, seuls le Maire et les adjoints au Maire, secrétaire général et secrétaires généraux adjoints ayant reçu une délégation de signature, ont compétence pour engager la Ville de Bordeaux chacun dans les domaines qui les concernent. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. La Ville de Bordeaux décline toute responsabilité au titre de ce message s'il a été altéré, déformé, falsifié.
********************************************************************

To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe (at) hswn.dk




*************************************************************************************
The message is intended for the named addressee only and may not be disclosed to or used by anyone else, nor may it be copied in any way. 

The contents of this message and its attachments are confidential and may also be subject to legal privilege.  If you are not the named addressee and/or have received this message in error, please advise us by e-mailing security (at) colt.net and delete the message and any attachments without retaining any copies. 

Internet communications are not secure and COLT does not accept responsibility for this message, its contents nor responsibility for any viruses. 

No contracts can be created or varied on behalf of COLT Telecommunications, its subsidiaries or affiliates ("COLT") and any other party by email Communications unless expressly agreed in writing with such other party.  

Please note that incoming emails will be automatically scanned to eliminate potential viruses and unsolicited promotional emails. For more information refer to www.colt.net or contact us on +44(0)20 7390 3900.