<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
There are 2 ways you can go about this.<br>
<br>
1. Edit bb-services and create a new test called "javaprog" or whatever
you want to call it. Creating a new port test is pretty easy and
looking at the examples in bb-services and/or the man page should get
you there, heck I will just tell you:<br>
<br>
[javaprog]<br>
port 8888<br>
<br>
After you add that to bb-services, you would add "javaprog" to your
bb-hosts file for that host.  You would then get a column called
"javaprog" that showed it's status. <br>
<br>
2. You can also define a local port test on the server that is running
the java program (assuming its one that you have a hobbit client on).
This will basically look at the ouput of netstat and alert if the port
is not in a LISTEN state.  For this read the "Ports" section of the
hobbit-clients.cfg file and man page. <br>
<br>
-Charles<br>
<br>
Callahan, Tom wrote:
<blockquote cite="mid:C3FD9F25.50DB%25CallahanT@tessco.com" type="cite">
  <title>Using Hobbit to monitor a specific port for availability?</title>
  <font size="4"><font face="Calibri, Verdana, Helvetica, Arial"><span
 style="font-size: 11pt;">How would I get hobbit to monitor a specific
port to ensure it is listening? For instance, I want to monitor a Java
program that listens on port 8888, but just want hobbit to check if it
can connect, and then disconnect.<br>
How could I do this?<br>
  <br>
Thanks,<br>
Tom Callahan</span></font></font>
</blockquote>
<br>
</body>
</html>