conn,files,ports and procs columns have status as clear..help
Hi, i am using xymon 4.2.2.RC1 for linux.In all clients and server also i get status of conn,files,ports and procs columns status as clear always.is there any erro?How to make these colums show correct stastus? Details : conn - Hobbit system error(clear) Files- No files checked(clear) Ports-No port checks defined(clear) Procs-No process checks defined(clear)
also Execution of 'hobbitping -Ae' failed - program not suid root? is shown in bbtest columcn of serevr(red)
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 kindly help
Pankaj V. Dorlikar
hi fo rthe first part you must configure what files ports etc you wanna check. Do it on hobbit-client.cfg and also at client cfg ... or something i dont have hobbit here . but you must configure it at these files at .../server/etc/
something like this HOST=gdy.udhy PROC here the process you wanna check the same with ports fies and messages but with msg and files yuo must configure the other file in the same directory , this let hobbit client knows what file etc must send to the server . im wresling with it for a sparc architecture. i did it work for linuk and x86 ... read the documentation of this hobbit-client file. good luckk!
2009/2/7 pankaj dorlikar <pankaj.dorlikar at gmail.com>:
Hi, i am using xymon 4.2.2.RC1 for linux.In all clients and server also i get status of conn,files,ports and procs columns status as clear always.is there any erro?How to make these colums show correct stastus? Details : conn - Hobbit system error(clear) Files- No files checked(clear) Ports-No port checks defined(clear) Procs-No process checks defined(clear)
also Execution of 'hobbitping -Ae' failed - program not suid root? is shown in bbtest columcn of serevr(red)
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 kindly help
Pankaj V. Dorlikar
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.
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. I am also checking that port 5901 has a VNC daemon running on it.
HOST=vsniff.FRA PORT "LOCAL=%([.:]5901)$" state=LISTEN TEXT=vnc PROC tethereal 1 50 red
To verify that this is working put these lines, or something that's going to work, in the hobbit-clients.cfg on the server. 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.
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 "Client data <http://hbt0.lon.oss.colt.net/hobbit-cgi/bb-hostsvc.sh?CLIENT=nms2.lon.o ss.colt.net> available" link. 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.
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.
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:
$ ls -al /opt/xymon/server/bin/hobbitping -rwsr-xr-x 1 root hobbit 125088 Jan 9 15:27 hobbitping
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: -rwxr-xr-x 1 hobbit hobbit 125088 Jan 9 15:27 hobbitping
So you will need to change to the root user (use sudo or su) and execute:
chown root:hobbit /opt/xymon/server/bin/hobbitping
chmod 4755 /opt/xymon/server/bin/hobbitping
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.
HTH
|\/|artin
-----Original Message-----
From: pankaj dorlikar [mailto:pankaj.dorlikar at gmail.com]
Sent: 07 February 2009 11:23
To: hobbit at hswn.dk
Subject: [hobbit] conn,files,ports and procs columns have status
as clear..help
Hi,
i am using xymon 4.2.2.RC1 for linux.In all clients and server
also i get status of conn,files,ports and procs columns status as clear always.is there any erro?How to make these colums show correct stastus? Details : conn - Hobbit system error(clear) Files- No files checked(clear) Ports-No port checks defined(clear) Procs-No process checks defined(clear)
also Execution of 'hobbitping -Ae' failed - program not suid
root? is shown in bbtest columcn of serevr(red)
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 kindly help -- Pankaj V. Dorlikar
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.
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 at colt.net and delete the message and any attachments without retaining any copies.
Internet communications are not secure and COLT does not accept responsibility for this message, its contents nor responsibility for any viruses.
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.
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.
participants (3)
-
Martin.Ward@colt.net
-
mosimodo@gmail.com
-
pankaj.dorlikar@gmail.com