Xymon Mailing List Archive search

Hobbit: Add new columns

5 messages in this thread

list Sanu Mathew · Tue, 24 Feb 2009 04:22:03 +0530 ·
Hi Group,

How do i add a new column in my hobbit server?
How do i enable the clients to report on this column?

Could someone help me on this please?

Regards,
~Sam
list Martin Flemming · Tue, 24 Feb 2009 00:06:09 +0100 (CET) ·

Hi !

On Tue, 24 Feb 2009, Sanu Mathew wrote:
How do i add a new column in my hobbit server?
add your test to the host in the bb-hosts or to the group-directive of
this host ..

http://www.hswn.dk/hobbit/help/hobbit-tips.html#scripts
http://en.wikibooks.org/wiki/System_Monitoring_with_Xymon/Other_Docs/HOWTO#How_can_I_create_a_hobbit_client_custom_test_script.3F

e.g.

bb-hosts:

191.168.2.3 vpnserver.vpn.de # vpn

or

group-only conn cpu  vpn vpnserver
191.168.2.3 vpnserver.vpn.de #

How do i enable the clients to report on this column?
added a task of this test into the clientlaunch.cfg of the client

e.g.

[vpn]
    ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg
    CMD $HOBBITCLIENTHOME/ext/vpn.sh
    LOGFILE $HOBBITCLIENTHOME/logs/vpn.log
    INTERVAL 5m


cheers,
 	martin
list Dan McDonald · Mon, 23 Feb 2009 17:13:20 -0600 ·
quoted from Sanu Mathew
On Tue, 2009-02-24 at 04:22 +0530, Sanu Mathew wrote:
Hi Group,
 
How do i add a new column in my hobbit server?
Just send an update about the column.
How do i enable the clients to report on this column?
write a plug-in that sends a report about it.

For example, I have the dnsload extention.  I added this
to /etc/hobbit/clientlaunch.cfg on my DNS servers:
[dnsload]
        ENVFILE  $HOBBITCLIENTHOME/etc/hobbitclient.cfg
        CMD $HOBBITCLIENTHOME/ext/bbdl-stats.sh
        LOGFILE $HOBBITCLIENTHOME/logs/hobbitclient.log
        INTERVAL 5m

the bbdl-stats.sh file does a bunch of stuff and reports:

#
LINE="status $HOST.$TEST $COLOR `date` $MESSAGE"
# 
# Send message
$BB $BBDISP "$LINE"

Could someone help me on this please?
You can report any $TEST name you might want, and Xymon will happily
track it.

-- 
Daniel J McDonald, CCIE #2495, CISSP #78281, CNX
Austin Energy
http://www.austinenergy.com
list Sanu Mathew · Tue, 24 Feb 2009 04:43:47 +0530 ·
Thanks Martin,

The second part is pretty clear.
In the first part, i just tried that, but my server doesnt show this column
in the webpage.
is there anything else i need to do.
Tried to add in the columndoc.csv file, but no luck.

Regards,
Sanu
quoted from Martin Flemming

On Tue, Feb 24, 2009 at 4:36 AM, Martin Flemming <user-f286aaa49a76@xymon.invalid>wrote:
Hi !

On Tue, 24 Feb 2009, Sanu Mathew wrote:

How do i add a new column in my hobbit server?
add your test to the host in the bb-hosts or to the group-directive of
this host ..

http://www.hswn.dk/hobbit/help/hobbit-tips.html#scripts

http://en.wikibooks.org/wiki/System_Monitoring_with_Xymon/Other_Docs/HOWTO#How_can_I_create_a_hobbit_client_custom_test_script.3F

e.g.

bb-hosts:

191.168.2.3 vpnserver.vpn.de # vpn

or

group-only conn cpu  vpn vpnserver
191.168.2.3 vpnserver.vpn.de #


How do i enable the clients to report on this column?
added a task of this test into the clientlaunch.cfg of the client

e.g.

[vpn]
  ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg
  CMD $HOBBITCLIENTHOME/ext/vpn.sh
  LOGFILE $HOBBITCLIENTHOME/logs/vpn.log
  INTERVAL 5m


cheers,
       martin

list Martin Flemming · Tue, 24 Feb 2009 00:22:33 +0100 (CET) ·
Hmm, does the test working and send data to the the server ?

.. what's says the logfile of the test ?

.. maybe with you can see more details

tcpdump -i eth0 host 10.X.X.X

cheers,
 	martin
quoted from Sanu Mathew

On Tue, 24 Feb 2009, Sanu Mathew wrote:
Thanks Martin,

The second part is pretty clear.
In the first part, i just tried that, but my server doesnt show this column
in the webpage.
is there anything else i need to do.
Tried to add in the columndoc.csv file, but no luck.

Regards,
Sanu

On Tue, Feb 24, 2009 at 4:36 AM, Martin Flemming <user-f286aaa49a76@xymon.invalid>wrote:
Hi !

On Tue, 24 Feb 2009, Sanu Mathew wrote:

How do i add a new column in my hobbit server?
add your test to the host in the bb-hosts or to the group-directive of
this host ..

http://www.hswn.dk/hobbit/help/hobbit-tips.html#scripts

http://en.wikibooks.org/wiki/System_Monitoring_with_Xymon/Other_Docs/HOWTO#How_can_I_create_a_hobbit_client_custom_test_script.3F

e.g.

bb-hosts:

191.168.2.3 vpnserver.vpn.de # vpn

or

group-only conn cpu  vpn vpnserver
191.168.2.3 vpnserver.vpn.de #


How do i enable the clients to report on this column?
added a task of this test into the clientlaunch.cfg of the client

e.g.

[vpn]
  ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg
  CMD $HOBBITCLIENTHOME/ext/vpn.sh
  LOGFILE $HOBBITCLIENTHOME/logs/vpn.log
  INTERVAL 5m


cheers,
       martin

Gruss

        Martin Flemming


Martin Flemming
DESY / IT          office : Building 2b / 008a
Notkestr. 85       phone  : XXX - XXXX - XXXX
22603 Hamburg      mail   : user-f286aaa49a76@xymon.invalid