FW: RE: [hobbit] to add custom script in hobbit & also drop undesirable column

Shah, Haresh K (GE, Corporate, consultant) haresh.k.shah at ge.com
Wed Nov 21 07:28:46 CET 2007


Hi Antonio,
 
I got your mail from mail archive list. could you plese go through the
below mail and if possible, could you plese help me on this.
I will really appreciate.
 
Thanks,
Haresh 
________________________________

From: Shah, Haresh K (GE, Corporate, consultant) 
Sent: Wednesday, November 21, 2007 10:06 AM
To: 'sigurdur at raforninn.is'; 'martin.flemming at desy.de';
'josh at imaginenetworksllc.com'; 'Thomas.Kern at hq.doe.gov'
Subject: RE: [hobbit] to add custom script in hobbit & also drop
undesirable column


Hi All,
 
Thanks for your reply.
 
Actually my first problem (to drop some of the tests) got resolved. But
my second question is still unresolved. I want to add one test and thus
the column in sucah a way that i am able to see it on the web page with
the output.
 
I go through the following link :
http://www.hobbitmon.com/hobbit/help/hobbit-tips.html#scripts
I implemented it but it didn't work.
 
couple of questions :
 
1) It describes how to do it from client side but from server side
configuration it didn't tell clearly that whether we need to add such
type of para in the server's hobbitlaunch.cfg file or not. If yes, then
instead of client home path i need to put server's path?
 
[myscript]
     ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg
           CMD $HOBBITCLIENTHOME/ext/myscript.sh
    LOGFILE $HOBBITCLIENTHOME/logs/myscript.log
     INTERVAL 5m
2) let's say i have 2 server - server1 & server2. Now if i want to have
soome data to be generated through ext script from client side(server2)
then how hobbit server which is on server1 comes to know about the
collection of data from server2.
 
3) In the above link one example script provided from server side and
client side. acording to it do we need to put some entry in the bb-hosts
file to trigger the test for particular host?
 
4) Please help me to make the script (i.e. shown in the above link)
running for my hobbit. Please provide me step by step guide or small
how-to.
 
NOTE: currently I am using only one server for hobbit client as well as
server. but once I will get an idea about the ext scripts then i need to
put ext scripts and make it run from different server.
 
Thanks,
Haresh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20071121/715dbe79/attachment.html>


More information about the Xymon mailing list