[ nagiosplug-Bugs-2859548 ] check_by_ssh exit status when reaching timeout

SourceForge.net <[email protected]>
Newsgroups gmane.network.nagios.plugins.devel
Message-ID <[email protected]>
Bugs item #2859548, was opened at 2009-09-15 13:30
Message generated for change (Comment added) made by archiecobbs
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=2859548&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Guillaume Rousse (guillomovitch)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_by_ssh exit status when reaching timeout

Initial Comment:
check_by_ssh currently exist with CRITICAL status when reaching timeout. When used just as a transport mechanism for invoking a remote plugin, it should rather exit with UNKNOWN status in this case.

The patch is trivial, I'd be happy to contribute it if this is agreed.

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

Comment By: Archie Cobbs (archiecobbs)
Date: 2013-01-03 11:50

Message:
FYI,

There is an easy workaround: you can achieve the same effect by adding the
-oConnectTimeout=XX flag where XX is slightly less than the timeout set
with the -t flag.


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

Comment By: Guillaume Rousse (guillomovitch)
Date: 2009-09-28 02:11

Message:
I just noticed check_nrpe has -u switch for this very purpose.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=2859548&group_id=29880

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________________
Nagios Plugin Development Mailing List Nagiosplug-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.