[hobbit] to add custom script in hobbit & also drop undesirable column
Sello Tlabela (SD)
TlabelSD at telkom.co.za
Wed Nov 21 12:58:45 CET 2007
Hi,
Please check your logs in /var/log/hobbit/myscript.log it could be not
running or it could be that hobbit doesn't have the right to execute
the file myscripts,
Let me know what the logs say
Regards,
Sello Tlabela | Ops Specialist | ISS Infrastructure | Telkom
E-Mail: tlabelsd at telkom.co.za <mailto:tlabelsd at telkom.co.za> |
Office: +27 12 680 3176 | Fax: +27 12 680 3299 | Cell: +27 79 517 5706
________________________________
From: Shah, Haresh K (GE, Corporate, consultant)
[mailto:haresh.k.shah at ge.com]
Sent: 21 November 2007 08:29
To: hobbitsam at gmail.com
Cc: hobbit at hswn.dk
Subject: FW: RE: [hobbit] to add custom script in hobbit & also drop
undesirable column
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail is subject to the Telkom SA electronic communication legal notice, available at :
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20071121/04b44a68/attachment.html>
More information about the Xymon
mailing list