[Pkg-nagios-devel] Bug#717229: Bug#717229: nagios-plugins-basic: check_ssh returns warning state incorrectly

Jan Wagner waja at cyconet.org
Thu Jul 18 11:03:38 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Kiko,

thanks for taking time to report this issue.

Am 18.07.2013 10:27, schrieb Kiko Piris:
> In /etc/nagios-plugins/config/ssh.cfg, check_ssh is called with a
> second argument '$ARG1$' which causes the plugin to return this:
> 
> Usage: check_ssh [-46] [-t <timeout>] [-r <remote version>] [-p
> <port>] <host>
> 
> Making nagios believe that the service is in a warning sate.
> 
> Removing that second argument (see following trivial patch as an
> example) makes check_ssh work as expected:

Could you please check if the following is working for you:

command_line	/usr/lib/nagios/plugins/check_ssh '$ARG1$' '$HOSTADDRESS$'

Thanks, Jan.
- -- 
Never write mail to <waja at spamfalle.info>, you have been warned!
- -----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT d-- s+: a C+++ UL++++ P+ L+++ E--- W+++ N+++ o++ K++ w--- O M V-
PS PE Y++
PGP++ t-- 5 X R tv- b+ DI D+ G++ e++ h---- r+++ y++++
- ------END GEEK CODE BLOCK------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iD8DBQFR58uK9u6Dud+QFyQRAgUBAJ49UVc/gYZ4l+EN3qe42ex5k9h3xwCfTcvI
c+gn1kkECDYiSqZujAI3mHg=
=kfje
-----END PGP SIGNATURE-----



More information about the Pkg-nagios-devel mailing list