<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
Asif Iqbal wrote:
<blockquote
 cite="mid:a60f25fc0709260628g129d6800o9843dc6aa9916552@mail.gmail.com"
 type="cite">
  <pre wrap="">On 9/21/07, Charles Jones <a class="moz-txt-link-rfc2396E" href="mailto:jonescr@cisco.com"><jonescr@cisco.com></a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">So you are using a custom script to monitor instead of hobbitclient-*.sh ?
This really isn't an option for me, since I have literally dozens of
servers that all have the same hobbit homedir, although I have written
    </pre>
  </blockquote>
  <pre wrap=""><!---->
It does not matter. You can still write an external script like this

[external]
        ENVFILE /path/to/local/etc/hobbitclient.cfg
        CMD /path/to/local/external/script
        LOGFILE /path/to/local/logs/external.log
        INTERVAL 5m

That will work just fine even though you are sharing same hobbit client
  </pre>
</blockquote>
<br>
I tried that...2 problems:<br>
1. I don't have a local place to store things (the homedirs are SAN,
and I don't have permissions to use /usr/local and whatnot).<br>
2. I tried similar to above anyway, using /tmp, and the client log
fills up with errors because it cannot find the ext script to launch.
To get around this, any ext scripts I write,  I include a hostname
check, such that they only run on the hosts I want. My wishlist item is
that Hobbit would support an option to run ext tests via
hobbitclients.cfg, but it will probably never be added due to security
concerns :)<br>
</body>
</html>