[SOLVED]Re: Problem with check_by_ssh

mirko stefanelli mirko.stefanelli at gmail.com
Thu Feb 11 17:26:44 CET 2010


Hi to all,

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.

Regards,
Mirko.

2010/2/5 Matt Simmons <standalone.sysadmin at gmail.com>

> 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100211/df610610/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
-------------- next part --------------
_______________________________________________
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