[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Adding a New Column to my hobbit server




Hi, Sanu !

 1. Is there a way i can debug to find what went wrong?

- check the logfile of your client-script ( shell or perl ?)
-  test the script with

~hobbit/bin/bbcmd  sh -x ext/test.sh

or ~hobbit/bin/bbcmd perl -d ext/test.sh


2. Is there a way to know if the client is able to send the data to the
hobbit server?

on the client:

telnet hobbitserver 1984

on the server: tcpdump -i eth0 host hobbit-client-ip


3. If the client is able to send the data to the hobbit server, why is it
not displaying the new column.


check on the server what he get from the client

/usr/lib/hobbit/server/bin/bbcmd hobbitd_channel --debug --channel=status hobbitd_capture --hosts=hobbit-client-name/ip


cheers,
	martin


On Wed, 11 Mar 2009, Sanu Mathew wrote:

All,

I have followed the method to add a new column from these links.

http://en.wikibooks.org/wiki/System_Monitoring_with_Hobbit/Other_Docs/HOWTO/Custom_Monitoring_Scripts_for_Hobbit

http://en.wikibooks.org/wiki/System_Monitoring_with_Hobbit/HOWTO/Custom_Monitoring_Scripts_for_Hobbit#Let.27s_start_coding

http://www.hobbitmon.com/hobbit/help/hobbit-tips.html#scripts

However, even after doing the above steps i do not get the new column.

1. Is there a way i can debug to find what went wrong?
2. Is there a way to know if the client is able to send the data to the
hobbit server?
3. If the client is able to send the data to the hobbit server, why is it
not displaying the new column.

My client side script is running every 5 mins from $BBHOME/ext.

Please assist and let me know if there is any more information required.

Regards,
Sanu