Is it possible to test a TCP port on a remote machine with the Hobbit server? I have some applications that can't be tested with anything standard (HTTP, SMTP, etc). I'm just looking for a basic acknowledgement that the TCP port is listening on the host being monitored.
Thanks, Josh
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
Yes, if the service is listed in /etc/services. Use the PORT test. If it's non-standard, it can always be added.
Josh Luthman wrote:
Is it possible to test a TCP port on a remote machine with the Hobbit server? I have some applications that can't be tested with anything standard (HTTP, SMTP, etc). I'm just looking for a basic acknowledgement that the TCP port is listening on the host being monitored.
Thanks, Josh
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
-- Rich Smrcina VM Assist, Inc. Phone: 414-491-6001 Ans Service: 360-715-2467 rich.smrcina at vmassist.com http://www.linkedin.com/in/richsmrcina
Catch the WAVV! http://www.wavv.org WAVV 2008 - Chattanooga - April 18-22, 2008
I don't see the syntax in bb-hosts, should this be done in hobbit-clients.cfg?
Josh
On 2/8/08, Rich Smrcina <rsmrcina at wi.rr.com> wrote:
Yes, if the service is listed in /etc/services. Use the PORT test. If it's non-standard, it can always be added.
Josh Luthman wrote:
Is it possible to test a TCP port on a remote machine with the Hobbit server? I have some applications that can't be tested with anything standard (HTTP, SMTP, etc). I'm just looking for a basic acknowledgement that the TCP port is listening on the host being monitored.
Thanks, Josh
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
-- Rich Smrcina VM Assist, Inc. Phone: 414-491-6001 Ans Service: 360-715-2467 rich.smrcina at vmassist.com http://www.linkedin.com/in/richsmrcina
Catch the WAVV! http://www.wavv.org WAVV 2008 - Chattanooga - April 18-22, 2008
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
The PORT test is a Hobbit client feature.
Josh Luthman wrote:
I don't see the syntax in bb-hosts, should this be done in hobbit-clients.cfg?
Josh
On 2/8/08, *Rich Smrcina* <rsmrcina at wi.rr.com <mailto:rsmrcina at wi.rr.com>> wrote:
Yes, if the service is listed in /etc/services. Use the PORT test. If it's non-standard, it can always be added. Josh Luthman wrote: > Is it possible to test a TCP port on a remote machine with the Hobbit > server? I have some applications that can't be tested with anything > standard (HTTP, SMTP, etc). I'm just looking for a basic > acknowledgement that the TCP port is listening on the host being monitored. > > Thanks, > Josh > > -- > Josh Luthman > Office: 937-552-2340 > Direct: 937-552-2343 > 1100 Wayne St > Suite 1337 > Troy, OH 45373 > > Those who don't understand UNIX are condemned to reinvent it, poorly. > --- Henry Spencer -- Rich Smrcina VM Assist, Inc. Phone: 414-491-6001 Ans Service: 360-715-2467 rich.smrcina at vmassist.com <http://vmassist.com> http://www.linkedin.com/in/richsmrcina Catch the WAVV! http://www.wavv.org WAVV 2008 - Chattanooga - April 18-22, 2008 To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk <mailto:hobbit-unsubscribe at hswn.dk>-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
-- Rich Smrcina VM Assist, Inc. Phone: 414-491-6001 Ans Service: 360-715-2467 rich.smrcina at vmassist.com http://www.linkedin.com/in/richsmrcina
Catch the WAVV! http://www.wavv.org WAVV 2008 - Chattanooga - April 18-22, 2008
You could just add the entry to bb-services and add that entry as a check on the servers...
Such as
bb-services
[wints] Port 3389
Then in bb-hosts
10.1.0.1 windowsbox # wints
Mike
-----Original Message----- From: Rich Smrcina [mailto:rsmrcina at wi.rr.com] Sent: 08 February 2008 19:19 To: hobbit at hswn.dk Subject: Re: [hobbit] Port check from server
The PORT test is a Hobbit client feature.
Josh Luthman wrote:
I don't see the syntax in bb-hosts, should this be done in hobbit-clients.cfg?
Josh
On 2/8/08, *Rich Smrcina* <rsmrcina at wi.rr.com <mailto:rsmrcina at wi.rr.com>> wrote:
Yes, if the service is listed in /etc/services. Use the PORTtest. If it's non-standard, it can always be added.
Josh Luthman wrote: > Is it possible to test a TCP port on a remote machine with theHobbit > server? I have some applications that can't be tested with anything > standard (HTTP, SMTP, etc). I'm just looking for a basic > acknowledgement that the TCP port is listening on the host being monitored. > > Thanks, > Josh > > -- > Josh Luthman > Office: 937-552-2340 > Direct: 937-552-2343 > 1100 Wayne St > Suite 1337 > Troy, OH 45373 > > Those who don't understand UNIX are condemned to reinvent it, poorly. > --- Henry Spencer
-- Rich Smrcina VM Assist, Inc. Phone: 414-491-6001 Ans Service: 360-715-2467 rich.smrcina at vmassist.com <http://vmassist.com> http://www.linkedin.com/in/richsmrcina Catch the WAVV! http://www.wavv.org WAVV 2008 - Chattanooga - April 18-22, 2008 To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk <mailto:hobbit-unsubscribe at hswn.dk>-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
-- Rich Smrcina VM Assist, Inc. Phone: 414-491-6001 Ans Service: 360-715-2467 rich.smrcina at vmassist.com http://www.linkedin.com/in/richsmrcina
Catch the WAVV! http://www.wavv.org WAVV 2008 - Chattanooga - April 18-22, 2008
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
This email has been scanned for all viruses by the MessageLabs service.
This email has been scanned for all viruses by the MessageLabs service.
Josh Luthman wrote:
Is it possible to test a TCP port on a remote machine with the Hobbit server? I have some applications that can't be tested with anything standard (HTTP, SMTP, etc). I'm just looking for a basic acknowledgement that the TCP port is listening on the host being monitored.
Thanks, Josh You could do it at least two ways:
- Have hobbit client on the remote machine check for the listening port in netstat
- Define the port in bb-services.cfg and add the tag for the new service to your bb-hosts.
-Charles
I'm after that second option - though when I telnet the port I don't get any information back, can the test still be accomplished with this? There are no welcome messages or anything of the sort =/
Josh
On 2/8/08, Charles Jones <jonescr at cisco.com> wrote:
Josh Luthman wrote:
Is it possible to test a TCP port on a remote machine with the Hobbit server? I have some applications that can't be tested with anything standard (HTTP, SMTP, etc). I'm just looking for a basic acknowledgement that the TCP port is listening on the host being monitored.
Thanks, Josh You could do it at least two ways:
- Have hobbit client on the remote machine check for the listening port in netstat
- Define the port in bb-services.cfg and add the tag for the new service to your bb-hosts.
-Charles
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
It pretty much boils down to where you want to test.
The PORT test that I describe runs at the Hobbit client and uses the Netstat command to show that the listener is posted. If you believe it, then all is good.
What Charles describes actually checks the connection from the Hobbit server to see if something is there. The rub is, will something respond... :)
Josh Luthman wrote:
I'm after that second option - though when I telnet the port I don't get any information back, can the test still be accomplished with this?
There are no welcome messages or anything of the sort =/Josh
-- Rich Smrcina VM Assist, Inc. Phone: 414-491-6001 Ans Service: 360-715-2467 rich.smrcina at vmassist.com http://www.linkedin.com/in/richsmrcina
Catch the WAVV! http://www.wavv.org WAVV 2008 - Chattanooga - April 18-22, 2008
On Fri, Feb 08, 2008 at 02:16:30PM -0500, Josh Luthman wrote:
I'm after that second option - though when I telnet the port I don't get any information back, can the test still be accomplished with this? There are no welcome messages or anything of the sort =/
Doesn't matter. Unless there's an "expect FOO" then Hobbit doesn't expect the service to return any data. What you're after is just like the "qmtp" check in the default bb-services file:
[qmtp]
port 209
Just define your service like that, and you can then configure it in bb-hosts like all the other standard network tests.
Regards, Henrik
The way I read it, the test had to have some kind of message like that. Sounds good, thanks a bunch Henrik!
On 2/8/08, Henrik Stoerner <henrik at hswn.dk> wrote:
On Fri, Feb 08, 2008 at 02:16:30PM -0500, Josh Luthman wrote:
I'm after that second option - though when I telnet the port I don't get any information back, can the test still be accomplished with this? There are no welcome messages or anything of the sort =/
Doesn't matter. Unless there's an "expect FOO" then Hobbit doesn't expect the service to return any data. What you're after is just like the "qmtp" check in the default bb-services file:
[qmtp] port 209Just define your service like that, and you can then configure it in bb-hosts like all the other standard network tests.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
participants (5)
-
henrik@hswn.dk
-
jonescr@cisco.com
-
josh@imaginenetworksllc.com
-
Mike.Rowell@Rightmove.co.uk
-
rsmrcina@wi.rr.com