check_ssh plugin invoked with incorrect parameters

Bug #1257241 reported by Simon Murray
This bug report is a duplicate of:  Bug #1244713: invalid syntax for check_ssh plugin. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nagios-plugins (Ubuntu)
New
Undecided
Unassigned

Bug Description

The configuration file /etc/nagios-plugins/config/ssh.cfg used by Icinga, which I can only assume is a copy of /usr/share/nagios-plugins/templates-basic/ssh.cfg as it hads no dpkg entry is trying to execute 'check_ssh $host $arg1'. The parameters have either changed or the behaviour of the plugin (if it ever worked out the box!) as $arg1 resolves to undef (or '' on the command line) resulting in an empty argv entry which check_ssh takes offense to

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: nagios-plugins-basic 1.4.16-2ubuntu2 [modified: usr/share/nagios-plugins/templates-basic/ssh.cfg]
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
Uname: Linux 3.11.0-12-generic x86_64
ApportVersion: 2.12.5-0ubuntu2
Architecture: amd64
Date: Tue Dec 3 10:30:58 2013
InstallationDate: Installed on 2013-12-02 (0 days ago)
InstallationMedia: Ubuntu-Server 13.10 "Saucy Salamander" - Release amd64 (20131016)
MarkForUpload: True
SourcePackage: nagios-plugins
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Simon Murray (spjmurray) wrote :
Revision history for this message
Simon Murray (spjmurray) wrote :

I should clarify that check_ssh does not support any positional paramters after the hostname according to --help, so I think it's just the confiuration file out of whack with the binary

Revision history for this message
Jan Wagner (waja) wrote :

This is a duplicate of #1244713, thanks for checking there is no open bug report already about the issue.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.