Send notification if state doesn't change
Sapon, Dimitry
Dimitry.Sapon at rbccm.com
Wed May 30 16:09:48 CEST 2007
Ok gotcha.
How about this alternative (just trying to throw possibilities out there). Are you able to slightly change the output message sent to Nagios through the passive check? Maybe a variable that gets auto incremented to show the message number or something simple like that? If so, you can take advantaged of state stalking: http://nagios.sourceforge.net/docs/2_0/stalking.html
Hopefully that'll help. :)
________________________________
From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of chiel
Sent: Wednesday, May 30, 2007 9:34 AM
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Send notification if state doesn't change
That is not execly what I mean. The notivication_interval will resend a notification after a period of time.
I use passive checks, and the only thing that this check will recieve is critical states. So every time I recieve a pasive check I want a notification.
----- Original Message -----
From: Sapon, Dimitry <mailto:Dimitry.Sapon at rbccm.com>
To: nagios-users at lists.sourceforge.net
Sent: Wednesday, May 30, 2007 3:10 PM
Subject: Re: [Nagios-users] Send notification if state doesn't change
From what I understand, the notification_interval option defined in the service definition is what tells Nagios how often to resend the message. Default is 60 hence why you might never have gotten another one. Try lowering that value and that should work.
________________________________
From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of chiel
Sent: Wednesday, May 30, 2007 8:58 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Send notification if state doesn't change
hi all,
I got some passive services checks in nagios. When this services goes into critical state I get a notification.
But everytime I need to reset the service to OK by submitting a passive check through the nagios webinterface. Because if I leave it in critical I will not send a other notification if a other critical result occurs, because the service is already in a critical state.
Is there something to keep sending notification for a passive check (maybe active check to) even if that service is already in, for example, critical?
chiel
_______________________________________________________________________
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 at 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
_______________________________________________________________________
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070530/02714c00/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
More information about the Users
mailing list