Thanks Al,
I get that part :)
It's the actual script that sits in the ext directory I am looking for.
A simple template that sets the column name, alerts and runs a few
commands then sends the output to hobbit server.
Lee
On Aug 10, 2005, at 10:16 AM, Jeffcoat, Al wrote:
Lee,
Here's how you do it.
Put the script in the $HOBBITCLIENT/ext directory, make sure it is executable and owned by hobbit.
Then, in the $HOBBITCLIENT/etc/clientlaunch.cfg file, add a stanza for your script, like so:
[bb-iostat] ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg CMD $HOBBITCLIENTHOME/ext/bb-iostat.sh LOGFILE $HOBBITCLIENTHOME/logs/bb-iostat.sh INTERVAL 5m
Hope that helps,
Al Jeffcoat
-----Original Message----- From: Lee J. Imber [mailto:toaster at imber.com] Sent: Wednesday, August 10, 2005 10:06 AM To: hobbit at hswn.dk Subject: [hobbit] client ext script example
Hi,
Been trying to get a external script running with a hobbit client and a hobbit server.
The script runs on the client and I just want it to take the data it gets from the script and create a new column on the server with the output in that alert.
The script only needs to be run for this one application on the hobbit client, can't be run on the server.
Does anyone have a short howto or a very simple client side script that they can post so I have a working model to tweak?
Thanks,
Lee
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
This e-mail message and any attached files are confidential and are
intended solely for the use of the addressee(s) named above. If you
are not the intended recipient, any review, use, or distribution of
this e-mail message and any attached files is strictly prohibited.
This communication may contain material protected by Federal
privacy regulations, attorney-client work product, or other
privileges. If you have received this confidential communication in
error, please notify the sender immediately by reply e-mail message
and permanently delete the original message. To reply to our email
administrator directly, send an email to:
postmaster at orlandoregional.org . If this e-mail message concerns a
contract matter, be advised that no employee or agent is authorized
to conclude any binding agreement on behalf of Orlando Regional
Healthcare by e-mail without express written confirmation by an
officer of the corporation. Any views or opinions presented in this
e-mail are solely those of the author and do not necessarily
represent those of Orlando Regional Healthcare.To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk