check_by_ssh and banner
Jason Martin
jhmartin at toger.us
Sun Feb 22 06:47:06 CET 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
If -q doesn't work, you could also just generically utilize the last line
of output; that should have the banner in it.
- -Jason Martin
On Fri, 20 Feb 2004, Karl DeBisschop
wrote:
> On Fri, 2004-02-20 at 19:14, Jason Martin wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > I believe changing the plugin to use the -q flag will do that. It'd
> > require a very simple patch to the source.
> >
> > - -Jason Martin
> > On Fri, 20
> > Feb 2004 Andrew_Hoying at blm.gov wrote:
> >
> > >
> > >
> > >
> > >
> > > Hello,
> > >
> > > I'm trying to set up check_by_ssh, but with a banner turned on it always
> > > returns the top line of the banner instead of the command. Is there any way
> > > to avoid this?
>
> To be sure that I'm targetting the right issue, the banner is in the as
> specified in the sshd_config Banner directive, right? As far as I can
> see, the '-q' option will not suppress that banner. Has anyone done
> actual testing to show otherwise? Can you share ssh/sshd version info if
> so? (I tested on FC1 openssh-3.6.1p2-19).
>
> It wouldn't be too hard to allow you to specify some number n of lines
> to skip. Ii would be a little bit of a hack because the local admin
> could change the text of the message and throw you off again. But I
> cannot think of any better approaches.
>
> --
> Karl
>
>
>
>
>
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.3 (GNU/Linux)
Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/
iD8DBQFAOEL6l2ODWuqVSBMRAr3PAJ9TjT6VICDdCrolGpTZjc/xkOPE9wCgnkRB
kRJJvMsr8sl+VCBOUnTFw1w=
=RyZf
-----END PGP SIGNATURE-----
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list