Slow response from command remote call using SSH

Bret Goodfellow Bret.Goodfellow at questar.com
Wed Oct 8 21:26:36 CEST 2008


That fixed my problem.  The 'multipath' command now takes longer to
complete since upgrading to RHEL 4 Update 7.  By adding the '-t 20'
field to 'check_by_ssh', the time outs have now disappeared.  Thanks. 

-----Original Message-----
From: Marc Powell [mailto:marc at ena.com] 
Sent: Friday, October 03, 2008 3:03 PM
To: Nagios Users
Subject: Re: [Nagios-users] Slow response from command remote call using
SSH


On Oct 3, 2008, at 2:03 PM, Bret Goodfellow wrote:

>
> Multipath            CRITICAL              10-01-2008 12:16:59 0d 1h  
> 0m 59s   3/3     CRITICAL - Plugin timed out while executing system  
> call
>
> <image001.png>

Wouldn't copy/paste have been easier? ;) Please don't send  
screenshots, especially screenshots of text content that would have  
been easier to read/quote/respond to as _text_. It's bad for readers,  
responders, the Digests and archives and usually considered bad form.  
If you must have screenshots, post them to a public location and  
provide a full link (no TinyURLs please).

>
> QUESTION:  How do I set up 'nagios' so that it will wait up to 15  
> seconds for the service to complete?

Quoting from a response this morning (changing NRPE timeout) --

"- nagios overall service plugin execution timeout. This should be
higher than your highest plugin specific timeout --

$ grep timeout etc/nagios.cfg
service_check_timeout=15

- And the plugin that NRPE is executing on the remote host will have a
default timeout value as well. Standard plugins support a -t parameter
(like check_nrpe) but you can always run '/path/to/plugin --help' to
see if it is a parameter and what it expects."

In this case, the plugin isn't NRPE but the blurb about 'Standard  
plugins' applies. check_by_ssh is a standard plugin that has a  
configurable timeout value. You'll need to adjust your check_by_ssh  
definition's command_line to include the '-t 15' parameter.

> Please keep in mind that this service, check_ssh_multipath,  worked  
> fine prior to the upgrade to RHEL 4.7

Stored but I don't think I'll need it. I've saved it in the cells  
that'll be killed by the wine tonight so it has a short TTL.

--
Marc

- Did someone say it's EOB Friday?


------------------------------------------------------------------------
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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