[Nagiosplug-help] Problem with check_by_ssh plugin
Thomas Guyot-Sionnest
dermoth at aei.ca
Sat Apr 4 02:02:52 CEST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 03/04/09 03:36 AM, Erik Wasser wrote:
> On Friday 03 April 2009, kaouther mechri wrote:
>
>> In fact, I am trying to execute this command in shell before it is
>> implementation in Nagios. I'm using the check_by_ssh of the last
>> version of plugins
>
> It seems that the parameter -C accepts a single argument. And it seems
> that the single quotes are not delivered correctly through the
> different calling levels.
>
> I'm see three choices:
>
> a) Wrap the tests for the nagios2 in little shell scripts on the
> nagios3.
>
> b) Patch "check_by_ssh" so that everything after -C is a parameter for
> the calling command.
>
> c) Fiddle with shell escaping (if it's possible at all with this
> configuration).
d) Try this patch:
https://sourceforge.net/tracker/?func=detail&aid=1985246&group_id=29880&atid=397597
e) Pray the next nagios-plugins release has this fixed - unlikely unless:
a. Release is delayed by a few more weeks
b. I manage to find free time before the next release
c. Someone review the patch, answers my questions and it looks fine
> Good luck with every one this options. B-)
I second that, although if the patch was well thought (d) might work for
you :)
- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJ1qOr6dZ+Kt5BchYRAmhIAJ0cYYAQeFjo7p+Os0IBg+9k8bT4lgCcDYrO
H4MmugHJ14/on79Zl30woag=
=gi4u
-----END PGP SIGNATURE-----
More information about the Help
mailing list