Still facing max check attempt issues
Matt Pounsett
matt.pounsett at cira.ca
Wed Jan 28 16:52:54 CET 2004
On Wed, 28 Jan 2004, kudjat wrote:
> Hello,
>
> I wrote my own nagios plugins.
> Those are requested thanks to SSH.
> Those are written in perl and run on linux or win2K servers.
> They work since they display their service status and description in nagios.
>
> However, if such a check returns me a CRITICAL or a WARNING state, nagios
> does not try to check another time 1 minute later as I asked it to do in
> services.cfg
> As a consequence nagios cannot reach the max_check_attempts and so cannot
> notify me.
I don't see a call to exit() anywhere in your code. You'll probably want to
read http://nagiosplug.sourceforge.net/developer-guidelines.html
--
Matt Pounsett CIRA - Canadian Internet Registration Authority
Technical Support Programmer 350 Sparks Street, Suite 1110
matt.pounsett at cira.ca Ottawa, Ontario, Canada
613.237.5335 ext. 231 http://www.cira.ca
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
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