Hi to all,<br><br>I have solved the problem by setting -t parameter in template command. By defaul plugin time out is set to 10 second. Some our server needs more time to execute control. At the moment I have set -t at 20 seconds and it's work fine.<br>
<br>Regards,<br>Mirko.<br><br><div class="gmail_quote">2010/2/5 Matt Simmons <span dir="ltr"><<a href="mailto:standalone.sysadmin@gmail.com">standalone.sysadmin@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
My first guess would be that there is some sort of environmental<br>
variable being set when you log in that wouldn't be set when you<br>
aren't (ie, when Nagios triggers it). Are you using keys that have<br>
passphrases, maybe?  Can you give us a look at the contents of<br>
check_by_ssh?<br>
<br>
--Matt<br>
<div><div></div><div class="h5"><br>
<br>
On Fri, Feb 5, 2010 at 10:12 AM, mirko stefanelli<br>
<<a href="mailto:mirko.stefanelli@gmail.com">mirko.stefanelli@gmail.com</a>> wrote:<br>
> Hi to all,<br>
><br>
> We run nagios on Ubuntu server with 2Gb ramm kernel version<br>
> 2.6.24-23-server. Nagios version is 3.2.0.<br>
><br>
> We have configured all our server (Linux REL) to execute our custom plugin<br>
> by check_by_ssh. The problem is that for some server this check fails and<br>
> the output is:<br>
><br>
> CRITICAL - Plugin timed out while executing system call<br>
><br>
> If we try to do same command, executed with check_by_shh, from user nagios<br>
> on cli the command work fine!<br>
><br>
> Any idea?<br>
><br>
> Regards,<br>
> Mirko.<br>
><br>
</div></div><div><div></div><div class="h5">> ------------------------------------------------------------------------------<br>
> The Planet: dedicated and managed hosting, cloud storage, colocation<br>
> Stay online with enterprise data centers and the best network in the<br>
> business<br>
> Choose flexible plans and management services without long-term contracts<br>
> Personal 24x7 support from experience hosting pros just a phone call away.<br>
> <a href="http://p.sf.net/sfu/theplanet-com" target="_blank">http://p.sf.net/sfu/theplanet-com</a><br>
> _______________________________________________<br>
> Nagios-users mailing list<br>
> <a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
> <a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
> ::: Please include Nagios version, plugin version (-v) and OS when reporting<br>
> any issue.<br>
> ::: Messages without supporting info will risk being sent to /dev/null<br>
><br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
<br>
LITTLE GIRL: But which cookie will you eat FIRST?<br>
COOKIE MONSTER: Me think you have misconception of cookie-eating process.<br>
</font></blockquote></div><br>