<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.5726" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=667483110-09022009><FONT face=Arial color=#0000ff size=2>If I 
recall correctly a clear status is shown when Xymon hasn't received any status 
message for that particular test, or if it is not configured to process that 
particular message (using the "noconn" option for example). I would confirm that 
you have configured the software to check and report files, ports and 
procs.</FONT></SPAN></DIV>
<DIV><SPAN class=667483110-09022009><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=667483110-09022009><FONT face=Arial color=#0000ff size=2>I have 
one example where I am checking that a program called "tethereal" is running. 
There must be at least one of these but there can be up to 
50.</FONT></SPAN></DIV>
<DIV><SPAN class=667483110-09022009><FONT face=Arial color=#0000ff size=2>I am 
also checking that port 5901 has a VNC daemon running on it.</FONT></SPAN></DIV>
<DIV><SPAN class=667483110-09022009><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=667483110-09022009><FONT face=Arial color=#0000ff 
size=2>HOST=vsniff.FRA<BR>        PORT 
"LOCAL=%([.:]5901)$" state=LISTEN 
TEXT=vnc<BR>        PROC tethereal 1 50 
red<BR></FONT></SPAN></DIV>
<DIV><SPAN class=667483110-09022009><FONT face=Arial color=#0000ff size=2>To 
verify that this is working put these lines, or something that's going to work, 
in</FONT></SPAN><SPAN class=667483110-09022009><FONT face=Arial color=#0000ff 
size=2> the hobbit-clients.cfg on the server. </FONT></SPAN><SPAN 
class=667483110-09022009><FONT face=Arial color=#0000ff size=2>After a few 
minutes look in your web browser to see if this data is showing as up or down on 
your Xymon website, you should see some data.</FONT></SPAN></DIV>
<DIV><SPAN class=667483110-09022009><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=667483110-09022009><FONT face=Arial color=#0000ff size=2>I 
believe that this information is retrieved from the message packet that the 
client sends to the server, you can view this data in your web browser by 
clicking on any of the available test links for a given server (apart from info) 
and clicking on the "<A 
href="http://hbt0.lon.oss.colt.net/hobbit-cgi/bb-hostsvc.sh?CLIENT=nms2.lon.oss.colt.net"><FONT 
face="Times New Roman">Client data</FONT></A><FONT face="Times New Roman" 
color=#87a9e5> available" link</FONT>. Once the server retrieves this data it 
searches the process list for the PROC entries and it searches the "netstat -a" 
data for the PORT entries.</FONT></SPAN></DIV>
<DIV><SPAN class=667483110-09022009><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=667483110-09022009><FONT face=Arial color=#0000ff size=2>As for 
the connection being white, hobbitping is what you have configured your Xymon 
server to use to check connectivity. If your hobbitping isn't able to run then 
connectivity cannot be checked and this is why everything is white in this 
column.</FONT></SPAN></DIV>
<DIV><SPAN class=667483110-09022009><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=667483110-09022009><FONT face=Arial color=#0000ff size=2>Do as 
you have been instructed and set the hobbitping program to run setuid. I believe 
that it should be set this way during installation so try the 
following:</FONT></SPAN></DIV>
<DIV><SPAN class=667483110-09022009><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=667483110-09022009><FONT face=Arial color=#0000ff size=2>$ ls 
-al /opt/xymon/server/bin/hobbitping</FONT></SPAN></DIV>
<DIV><SPAN class=667483110-09022009><FONT face=Arial color=#0000ff 
size=2>-rwsr-xr-x   1 root     
hobbit    125088 Jan  9 15:27 
hobbitping<BR></FONT></SPAN></DIV>
<DIV><SPAN class=667483110-09022009><FONT face=Arial color=#0000ff size=2>You 
should see the output as I have it above, however from the error message you are 
getting I guess you are seeing something like:</FONT></SPAN></DIV>
<DIV><SPAN class=667483110-09022009><FONT face=Arial color=#0000ff 
size=2>-rwxr-xr-x   1 hobbit  hobbit    125088 
Jan  9 15:27 hobbitping<BR></FONT></SPAN></DIV>
<DIV><SPAN class=667483110-09022009><FONT face=Arial color=#0000ff size=2>So you 
will need to change to the root user (use sudo or su) and 
execute:</FONT></SPAN></DIV>
<DIV><SPAN class=667483110-09022009><FONT face=Arial color=#0000ff size=2># 
chown root:hobbit /opt/xymon/server/bin/hobbitping</FONT></SPAN></DIV>
<DIV><SPAN class=667483110-09022009><FONT face=Arial color=#0000ff size=2># 
chmod 4755 /opt/xymon/server/bin/hobbitping</FONT></SPAN></DIV>
<DIV><SPAN class=667483110-09022009><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=667483110-09022009><FONT face=Arial color=#0000ff size=2>The 
first changes the owner to root and the second changes it so that when 
hobbitping is executed it is run with the root user's 
privileges.</FONT></SPAN></DIV>
<DIV><SPAN class=667483110-09022009><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=667483110-09022009><FONT face=Arial color=#0000ff 
size=2>HTH</FONT></SPAN></DIV>
<DIV><SPAN class=667483110-09022009><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=667483110-09022009><FONT face=Arial color=#0000ff 
size=2>|\/|artin</DIV></FONT></SPAN>
<BLOCKQUOTE 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> pankaj dorlikar 
  [mailto:pankaj.dorlikar@gmail.com] <BR><B>Sent:</B> 07 February 2009 
  11:23<BR><B>To:</B> hobbit@hswn.dk<BR><B>Subject:</B> [hobbit] 
  conn,files,ports and procs columns have status as 
  clear..help<BR><BR></FONT></DIV>Hi,<BR>i am using xymon 4.2.2.RC1 for linux.In 
  all clients and server also i get status of <BR clear=all>conn,files,ports and 
  procs columns status as clear <A href="http://always.is">always.is</A> there 
  any erro?How to make these colums show correct stastus?<BR>Details 
  :<BR> conn - Hobbit system error(clear)<BR>Files- No files 
  checked(clear)<BR>Ports-No port checks defined(clear)<BR>Procs-No process 
  checks defined(clear)<BR><BR>also Execution of 'hobbitping -Ae' failed - 
  program not suid root? is shown in bbtest columcn of serevr(red)<BR><BR>For 
  getting complete status of client, is it sufficient to just copy client folder 
  to another client and run runclient.sh ?will it give me complete status of 
  client including extrenal tests configured for client<BR>kindly 
  help<BR>--<BR>Pankaj V. Dorlikar<BR></BLOCKQUOTE><FONT SIZE=3><BR>
<BR>
*************************************************************************************<BR>
The message is intended for the named addressee only and may not be disclosed to or used by anyone else, nor may it be copied in any way. <BR>
<BR>
The contents of this message and its attachments are confidential and may also be subject to legal privilege.  If you are not the named addressee and/or have received this message in error, please advise us by e-mailing security@colt.net and delete the message and any attachments without retaining any copies. <BR>
<BR>
Internet communications are not secure and COLT does not accept responsibility for this message, its contents nor responsibility for any viruses. <BR>
<BR>
No contracts can be created or varied on behalf of COLT Telecommunications, its subsidiaries or affiliates ("COLT") and any other party by email Communications unless expressly agreed in writing with such other party.  <BR>
<BR>
Please note that incoming emails will be automatically scanned to eliminate potential viruses and unsolicited promotional emails. For more information refer to www.colt.net or contact us on +44(0)20 7390 3900.<BR>
</FONT>
</BODY></HTML>