[Nagiosplug-devel] [ nagiosplug-Patches-2895334 ] Added -F configfile option to check_by_ssh
SourceForge.net
noreply at sourceforge.net
Mon Apr 9 22:18:09 CEST 2012
Patches item #2895334, was opened at 2009-11-10 09:01
Message generated for change (Comment added) made by svennierlein
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=2895334&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: Enhancement
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: sni (svennierlein)
Assigned to: Nobody/Anonymous (nobody)
Summary: Added -F configfile option to check_by_ssh
Initial Comment:
This patch adds a new option to check_by_ssh.
Example Commandline:
./check_by_ssh -F ~/.ssh/config -H localhost -C /bin/true
Patch is against:
%>./plugins/check_by_ssh -V
check_by_ssh vtrunk.2272.dirty (nagios-plugins 1.4.14)
The new -F option is directly passed through to ssh.
From the ssh man page:
-F configfile
Specifies an alternative per-user configuration file. If a configuration file is given on the command line, the system-wide configuration file
(/etc/ssh/ssh_config) will be ignored. The default for the per-user configuration file is ~/.ssh/config.
With such a config file, you dont have to add multiple -o options to check_by_ssh. And you can maintain your ssh configuration from one place.
I would be happy to see this patch applied. (2 new tests are included)
----------------------------------------------------------------------
Comment By: sni (svennierlein)
Date: 2012-04-09 13:18
Message:
This problem is now fixed in Git. Thank you for your report.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=2895334&group_id=29880
More information about the Devel
mailing list