check_tcp in the presence of tcp wrappers
Skip Montanaro
skip at pobox.com
Thu Jan 29 19:17:14 CET 2004
I have a check_telnet command defined as
$USER1$/check_tcp -H $HOSTADDRESS$ -p 23
(I don't recall if it's part of Nagios or NagMIN or something I chucked in
there.)
In the presence of tcp wrappers this seems like a pretty useless check,
since I might successfully get to port 23 but not get past the wrappers to
the real telnet daemon. I tried something like
check_tcp -H host -p 23 -e "login:"
or
check_tcp -H host -p 23 -s "" -e "login:"
but these both just hang. What send/expect chit chat should I use to
determine that I actually received a login prompt?
Thanks,
--
Skip Montanaro
Got gigs? http://www.musi-cal.com/submit.html
Got spam? http://spambayes.sf.net/
skip at pobox.com
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
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