invalid syntax for check_ssh plugin

Bug #1244713 reported by Tom Worley
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
nagios-plugins (Debian)
Fix Released
Unknown
nagios-plugins (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Since upgrading to 13.10 our check_ssh has been failing with the error:"Usage:" with an "unknown" state.

After a little digging it seems that the following file has the incorrect definition for the check_ssh checker:
/etc/nagios-plugins/config/ssh.cfg
Specifically the first section:

define command{
        command_name check_ssh
        command_line /usr/lib/nagios/plugins/check_ssh '$HOSTADDRESS$' '$ARG1$'
        }

Changing the command _line like this fixes the issue and checks resume as normal:
command_line /usr/lib/nagios/plugins/check_ssh '$HOSTADDRESS$'

Regards,
Tom

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

Please be so kind and merge 1.4.16-3 from Debian, which fixes this issue (beside some small other once):

nagios-plugins (1.4.16-3) unstable; urgency=medium

  * Fixed check_squid* command definitions
  * Add double threshold to check_smtp (LP: #318703)
    - 12_check_smtp_double_threshold.dpatch
  * Remove the additional argument from check_ssh and check_proc
    (Closes: #717229, 720580)

You can fetch the package from http://snapshot.debian.org/package/nagios-plugins/1.4.16-3/

Changed in nagios-plugins (Debian):
status: Unknown → Fix Released
Revision history for this message
Tom Worley (tom-worley) wrote :

Wow, that was quick, good job guys =)
Thanks,
Tom

Revision history for this message
Jan Wagner (waja) wrote : Re: [Bug 1244713] Re: invalid syntax for check_ssh plugin

> Wow, that was quick, good job guys =)

Until now, in Ubuntu nothing happened. This fix only exist in Debian
and needs to be merged and pushed into 13.10.
The Status changed to "Fix Rleased" cause lanchpad detected the
referenced Debian bug is marked as fixed.

Anyways ... the question is: Why didn't got the package fixed _before_
the release of 13.10 as the nagios-plugins 1.4.16-3 was uploaded to
Debian on 23th Aug, with just only bugfixes (one fixing a bug reported
in Ubuntu). This is a sign for a very bad release strategy in my eyes.

Robie Basak (racb)
Changed in nagios-plugins (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
tags: added: saucy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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