check_by_ssh banner bug?
Millard, Matt
Millard.Matt at principal.com
Wed Aug 10 21:23:38 CEST 2005
We had to actually modify the source of check_by_ssh to ignore anything
in the banner. We wrap our banner with a standard couple of lines so it
wasn't too difficult.
******************************** N O T I C E
*********************************
the rest of the banner goes here
************************************************************************
******
Attached is the patch that we used with the hardcoded banner lines in it
if it will help you out. It's not too elegant, but it got the job done
for us.
Matt
-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Aaron
Carr
Sent: Wednesday, August 10, 2005 12:36 PM
To: nagiosplug-help at lists.sourceforge.net
Cc: Nagios User List
Subject: [Nagios-users] check_by_ssh banner bug?
I've searched the archives, and I found that someone asked on
2004-09-17 and again on 2004-09-23 if there is a fix for check_by_ssh
not working if there is a banner set.
I didn't however see any answer whatsoever.
So I'd like to know if anyone knows any workarounds to
removing/disabling the sshd banner (since company policy will not allow
me to do so). I tried multiple variations of clearing the screen, then
piping to the check command, but when I tried those, the plugin would
ust timeout. The only way I got them to work was when I moved
/etc/issue to some alternate filename.
Any help with this would be greatly appreciated.
Aaron
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle
Practices Agile & Plan-Driven Development * Managing Projects & Teams *
Testing & QA Security * Process Improvement & Measurement *
http://www.sqe.com/bsce5sf
_______________________________________________
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
-----Message Disclaimer-----
This e-mail message is intended only for the use of the individual or
entity to which it is addressed, and may contain information that is
privileged, confidential and exempt from disclosure under applicable law.
If you are not the intended recipient, any dissemination, distribution or
copying of this communication is strictly prohibited. If you have
received this communication in error, please notify us immediately by
reply email to Connect at principal.com and delete or destroy all copies of
the original message and attachments thereto. Email sent to or from the
Principal Financial Group or any of its member companies may be retained
as required by law or regulation.
Nothing in this message is intended to constitute an Electronic signature
for purposes of the Uniform Electronic Transactions Act (UETA) or the
Electronic Signatures in Global and National Commerce Act ("E-Sign")
unless a specific statement to the contrary is included in this message.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_by_ssh.c.patch0
Type: application/octet-stream
Size: 2242 bytes
Desc: check_by_ssh.c.patch0
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050810/338e3fba/attachment.obj>
More information about the Users
mailing list