early return from script and wrong return-code

Marco Bano mbano at epo.org
Thu Oct 13 09:33:36 CEST 2005


Hi list



Hi list



Nagios 2.0b4 and 1.2:

Checking via nrpe "channel"  to a remote host a service (and locally
 on the same host where nagios run)

The remote check script has amf test inside. (tomcat)

locally form shell if I run the script no problem.

But "inside" nagios the script sound as the return code arrive earlier
 and wrong.

Infact the script takes 5-10 seconds to excute....giving before
 the finish just a

bit of output... but not timeout (try to extend it)

The same via check_nrpe run from shell.



Miracle via check_by_ssh it works well. Sounds that by_ssh plugin
 wait that the script finish and gives the real return-code.



any hint, any experience on similar problem?



thanks in advance to all of you.







- Marco Bano (mbano)



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

The mailing list archive is found here:

http://www.nagiosexchange.org/nagios-users.34.0.html

				


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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