Problem with check_by_ssh

Matt Simmons standalone.sysadmin at gmail.com
Fri Feb 5 18:52:36 CET 2010


My first guess would be that there is some sort of environmental
variable being set when you log in that wouldn't be set when you
aren't (ie, when Nagios triggers it). Are you using keys that have
passphrases, maybe?  Can you give us a look at the contents of
check_by_ssh?

--Matt


On Fri, Feb 5, 2010 at 10:12 AM, mirko stefanelli
<mirko.stefanelli at gmail.com> wrote:
> Hi to all,
>
> We run nagios on Ubuntu server with 2Gb ramm kernel version
> 2.6.24-23-server. Nagios version is 3.2.0.
>
> We have configured all our server (Linux REL) to execute our custom plugin
> by check_by_ssh. The problem is that for some server this check fails and
> the output is:
>
> CRITICAL - Plugin timed out while executing system call
>
> If we try to do same command, executed with check_by_shh, from user nagios
> on cli the command work fine!
>
> Any idea?
>
> Regards,
> Mirko.
>
> ------------------------------------------------------------------------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the
> business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> _______________________________________________
> 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
>



-- 

LITTLE GIRL: But which cookie will you eat FIRST?
COOKIE MONSTER: Me think you have misconception of cookie-eating process.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
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