What I have done :

On status ok of my monitor, I exit with 2 instead of 0.

In my mon.cf :

alert exit=2 trap.alert -o 1 my_mon_central_server

So I send a trap with status = ok and the informations ...

I use exit=2 because

alert exit=0 trap.alert -o 1 my_mon_central_server

does not seem to work.

-----Message d'origine-----
De : Daniel Luginger [mailto:[EMAIL PROTECTED]]
Envoy� : lundi 24 juin 2002 10:33
� : [EMAIL PROTECTED]
Objet : Send a trap on non failure


Hi ,
i want to send a trap if the status of a service is ok.

Is there a possibility to make an entry in the .cf file like this or in
an other way:

period wd {Sun-Sat}
    alert trap.alert  // If the service is false
    alertok trap.alert   // If the service is ok



Any idea is welcome.

Daniel
-----------------------------------------------------------------

Ce message est confidentiel ; son contenu ne represente en aucun
cas un engagement de la part de Dexia Credit Local ou de Dexia
CLF Banque. Toute publication, utilisation ou diffusion, meme
partielle, doit etre autorisee prealablement par l'emetteur. Si
vous n'etes pas destinataire de ce message, merci d'en avertir
immediatement l'expediteur.

This message is confidential ; its contents do not constitute a
commitment by Dexia Credit Local or Dexia CLF Banque. Any
unauthorised disclosure, use or dissemination, either whole or
partial, is prohibited. If you are not the intended recipient of
the message, please notify the sender immediately.
-----------------------------------------------------------------
Consultez notre site internet www.dexia-clf.fr
La cle d'une gestion optimisee du secteur public local

-----------------------------------------------------------------

Reply via email to