[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: RE: [hobbit] to add custom script in hobbit & also drop undesirable column
- To: <hobbit (at) hswn.dk>
- Subject: RE: RE: [hobbit] to add custom script in hobbit & also drop undesirable column
- From: "Sello Tlabela (SD)" <TlabelSD (at) telkom.co.za>
- Date: Wed, 21 Nov 2007 13:58:45 +0200
- References: <802789653FBE7445BF7EA6181DF47BA603F65AE4 (at) ALPMLVEM16.e2k.ad.ge.com>
- Thread-index: Acgr+H0Y8bGrNDbxSsWyUXZ0LvOSSwAD0JiAAAt07IA=
- Thread-topic: RE: [hobbit] to add custom script in hobbit & also drop undesirable column
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~