Xymon Mailing List Archive search

Client data not appearing on hobbit server

3 messages in this thread

list Allan Marillier · Wed, 29 Nov 2006 10:13:29 -0500 ·
I know I've had this problem once before but I don't remember how I resolved it, and have not yet been able to find an answer while searching the archives. Any clues, please help!

I have a server running hobbit-4.1.2p1 on Fedora Core 4, and a new one I am migrating to which is running hobbit-4.2.0 on Fedora Core 6. 
On the older 4.1.2p1 server I have many client servers correctly reporting their data (CPU, memory, filesystems etc.) and a few that are not. Only the conn, ssh, ftp, html etc tests initiated by the server are displaying data. My entry in bb-hosts is exactly the same as for some other servers where data is being correctly reported and all hobbit client processes look normal with nothing unusual in log files. In troubleshooting today I also compiled and started the 4.1.2p1 client on an HP-UX server and verified all configs there look good.

I also have some servers configured on the 4.2.0 server running the client installed from the pre-built FC5-hobbit-client-4.2.0-1.i386.rpm that are not reporting in any of the data.  Both servers have plenty of available disk and seem to be functioning normally.

The hobbit server IP address is correctly configured in BBDISP in hobbitclient.cfg on the 4.1.2p1 client, and in HOBBITSERVERS in /etc/default/hobbit-client. In both cases, I can telnet to port 1984 of the hobbit servers from the clients

The hobbit processes are running correctly:
hobbit   21472     1  0 Nov23 ?        00:00:00 /usr/lib/hobbit/client/bin/hobbitlaunch --config=/usr/lib/hobbit/client/etc/clientlaunch.cfg --log=/usr/lib/hobbit/client/logs/clientlaunch.log --pidfile=/usr/lib/hobbit/client/logs/clientlaunch.plmws01.pid
hobbit    7855     1  0 09:44 ?        00:00:00 sh -c vmstat 300 2 1>/usr/lib/hobbit/client/tmp/hobbit_vmstat.plmws01.7838 2>&1; mv /usr/lib/hobbit/client/tmp/hobbit_vmstat.plmws01.7838 /usr/lib/hobbit/client/tmp/hobbit_vmstat.plmws01
hobbit    7857  7855  0 09:44 ?        00:00:00 vmstat 300 2

Log files look normal:
-rw-rw-r--  1 hobbit hobbit 452 Nov 25 11:32 clientlaunch.log
-rw-rw-r--  1 hobbit hobbit   6 Nov 23 21:55 clientlaunch.plmws01.pid
-rw-rw-r--  1 hobbit hobbit   0 Nov 23 21:55 hobbitclient.log

cat clientlaunch.log:
2006-11-29 09:54:17 hobbitlaunch starting
2006-11-29 09:54:17 Loading tasklist configuration from /usr/lib/hobbit/client/etc/clientlaunch.cfg

Thanks!
</PRE>
<div style="font-family:arial;font-size:8pt;">
<hr>
<p>This e-mail, and any attachments, is intended solely for use by the addressee(s) named above.  It may contain the confidential or proprietary information of Dana Corporation, its subsidiaries, affiliates or business partners.  If you are not the intended recipient of this e-mail or are an unauthorized recipient of the information, you are hereby notified that any dissemination, distribution or copying of this e-mail or any attachments, is strictly prohibited.  If you have received this e-mail in error, please immediately notify the sender by reply e-mail and permanently delete the original and any copies or printouts.</p>

<p>Computer viruses can be transmitted via email. The recipient should check this e-mail and any attachments for the presence of viruses. Dana Corporation accepts no liability for any damage caused by any virus transmitted by this e-mail.</p>

English, Francais, Espanol, Deutsch, Italiano, Portugues:<br>
<a href="http://www.dana.com/overview/EmailDisclaimer.shtm">http://www.dana.com/overview/EmailDisclaimer.shtm</a>;
<hr>
</div>
list Dirk Kastens · Thu, 30 Nov 2006 09:01:23 +0100 ·
Hi Allen,
On the older 4.1.2p1 server I have many client servers correctly reporting their data (CPU, memory, filesystems etc.) and a few that are not. Only the conn, ssh, ftp, html etc tests initiated by the server are displaying data. My entry in bb-hosts is exactly the same as for some other servers where data is being correctly reported and all hobbit client processes look normal with nothing unusual in log files.
Do your clients send their data with the correct (fully qualified?) hostname, as they are listed in the server's bb-hosts file?
If your bb-hosts has a client node defined, for example:

client.my.domain.com 123.456.78.9

but the hostname command on your client only reports "client" as the hostname without the domain, the hobbit server will not display the data. You have to change the client's hostname an include the domain or you have to start the hobbit client with the option

--hostname=client.my.domain.com

Hope this helps,
Dirk Kastens
list Allan Marillier · Thu, 30 Nov 2006 07:54:50 -0500 ·
Thanks Dirk, that is my problem. I thought of it around 11:30 last night and wrote myself a note so I would not forget. I arrived this morning and found that a few as I had suspected had been rebuilt and the hostname was not fully qualified.


Dirk Kastens <user-e4253f8fc63b@xymon.invalid> 11/30/2006 03:01 AM
Please respond to
user-ae9b8668bcde@xymon.invalid


To
user-ae9b8668bcde@xymon.invalid
cc

Subject
Re: [hobbit] Client data not appearing on hobbit server
quoted from Dirk Kastens


Hi Allen,
On the older 4.1.2p1 server I have many client servers correctly reporting their data (CPU, memory, filesystems etc.) and a few that are not. Only the conn, ssh, ftp, html etc tests initiated by the server are 
displaying data. My entry in bb-hosts is exactly the same as for some other servers where data is being correctly reported and all hobbit client processes look normal with nothing unusual in log files.
Do your clients send their data with the correct (fully qualified?) hostname, as they are listed in the server's bb-hosts file?
If your bb-hosts has a client node defined, for example:

client.my.domain.com 123.456.78.9

but the hostname command on your client only reports "client" as the hostname without the domain, the hobbit server will not display the data. You have to change the client's hostname an include the domain or you have to start the hobbit client with the option

--hostname=client.my.domain.com

Hope this helps,
Dirk Kastens


</PRE>
<div style="font-family:arial;font-size:8pt;">
<hr>
<p>This e-mail, and any attachments, is intended solely for use by the addressee(s) named above.  It may contain the confidential or proprietary information of Dana Corporation, its subsidiaries, affiliates or business partners.  If you are not the intended recipient of this e-mail or are an unauthorized recipient of the information, you are hereby notified that any dissemination, distribution or copying of this e-mail or any attachments, is strictly prohibited.  If you have received this e-mail in error, please immediately notify the sender by reply e-mail and permanently delete the original and any copies or printouts.</p>

<p>Computer viruses can be transmitted via email. The recipient should check this e-mail and any attachments for the presence of viruses. Dana Corporation accepts no liability for any damage caused by any virus transmitted by this e-mail.</p>

English, Francais, Espanol, Deutsch, Italiano, Portugues:<br>
<a href="http://www.dana.com/overview/EmailDisclaimer.shtm">http://www.dana.com/overview/EmailDisclaimer.shtm</a>;
<hr>
</div>