HARD STATES

Sand Philipp Philipp.Sand at sycor.de
Wed Jan 5 14:14:04 CET 2005


Hi there,

I've got a little prob with the HARD SERVICE STATES.
I've got a selfwritten plugin, which checks some Files on an remote Server.
I configured max_check_attempts 3, to avoid false alarms, when the Plugin times out or something. I also configured, that the plugin should only send a notification, when the Status gets CRITICAL, because I got some WARNING STATES, where it's important to see on the Web GUI, that the State is Warning, but I don't want to get a email for that ;)
Now the Prob: When the check is in WARNING State, the check attempt is always 3/3 after a few checks. Then the Plugin times out, and voila, I get an email, with Plugin timed out after 10 secs :-/
Is there a possibility to reset the check_attempts counter, so the Plugin gets from WARNING HARD 3/3 to CRITICAL SOFT 1/3 and not directly to CRITICAL HARD 3/3 ???

Problem is, that the Mails are send directly to our customers, and they are always pretty cunfused about those Plugin timed out Mails ...


Thanks in advance!
Philipp

_____________________________

Philipp Sand
OC-CC-TEC-SYS

SYCOR GmbH
Heinrich-von-Stephan-Straße 1-5
D - 37073 Göttingen

Telefon	+49 (0) 551 / 490 - 0
Telefax	+49 (0) 551 / 490 - 232468

philipp.sand at sycor.de
www.sycor.de
------------------------------------------------



************************************************

sycor plastics - die neue Branchenlösung für die Kunststoffindustrie

www.sycor-plastics.de

************************************************




Diese E-Mail ist vertraulich und kann darüber hinaus persönliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgemäße Empfänger sind, löschen Sie bitte die E-Mail und deren Anhänge sofort und benachrichtigen Sie uns darüber. Die Firma sycor willigt in keine Verträge oder vertragliche Verpflichtungen ein oder übermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdrücklich in schriftlicher Form zwischen den Parteien vereinbart wurde.

This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form.



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
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