[ nagiosplug-Feature Requests-3518544 ] check_by_ssh -H hostname:port
SourceForge.net <[email protected]>
| Newsgroups | gmane.network.nagios.plugins.devel |
|---|---|
| Message-ID | <[email protected]> |
Feature Requests item #3518544, was opened at 2012-04-16 12:32
Message generated for change (Tracker Item Submitted) made by beneford
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397600&aid=3518544&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
Priority: 5
Private: No
Submitted By: beneford (beneford)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_by_ssh -H hostname:port
Initial Comment:
It would be really useful to allow:
check_by_ssh -H hostname:port
rather than having to specify hostname and port in separate parameters
check_by_ssh -H hostname -p port
The code changes are minimal and can be localised to the process_arguments case statement
check_by_ssh.c line 225:
[begin]
case 'H': /* host */
if (p1=strstr(optarg,":"))
*p1=0; // terminate the host-name
host_or_die(optarg);
hostname = optarg;
if (!p1)
break;
optarg=p1+1; // Set port number as next param and
// fall through to process the port...
case 'p': /* port number */
[end]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397600&aid=3518544&group_id=29880
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________________
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