[Nagiosplug-help] Problem with check_by_ssh plugin

kaouther mechri kmechri at gmail.com
Mon Apr 6 09:51:53 CEST 2009


Many thanks for all of you ,

I've downloaded the below patch but the pb is the same


Many thanks for your help

Kaouther

On Sat, Apr 4, 2009 at 2:02 AM, Thomas Guyot-Sionnest <dermoth at aei.ca>wrote:

> -----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-----
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20090406/bb010cdc/attachment.html>


More information about the Help mailing list