Hi there,
 
I need to implement a certain logic into Nagios that I can't figure out
if it's possible. What I want to do is check processes running on
various boxes using the following logic when a non-OK state is returned:
 
Using active checks, I want Nagios to follow the standard logic,
changing into a SOFT state and upon the max_check_attempts reached,
going into a hard state.
 
With passive checks though, I would like to force Nagios into a HARD
state right away (so notifications are sent out immediately). I can't
figure out how to either by-pass the max_check_attempts, increment it to
the max so it switches states right away or force into into a hard state
right away. I looked into writing a script but I can't find any way to
pass that info back into Nagios either.
 
Does anyone know of a way that this can be achieved? Please let me know.

 
Thanks.
 
Regards,
Dimitry
_______________________________________________________________________

This email is intended only for the use of the individual(s) to whom it is 
addressed and may be privileged and confidential.
Unauthorised use or disclosure is prohibited. If you receive This e-mail in 
error, please advise immediately and delete the original message. 
This message may have been altered without your or our knowledge and the sender 
does not accept any liability for any errors or omissions in the message.

Ce courriel est confidentiel et protégé. L'expéditeur ne renonce pas aux droits 
et obligations qui s'y rapportent. 
Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il 
contient par une personne autre que le (les) destinataire(s) désigné(s) est 
interdite.
Si vous recevez ce courriel par erreur, veuillez m'en aviser immédiatement, par 
retour de courriel ou par un autre moyen.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to