<p dir="ltr">Firstly, please cc the mailing list. Secondly, best to upgrade to Xymon if that's possible.</p>
<p dir="ltr">On 06/08/2014 9:54 PM, "Rod Simioni" <<a href="mailto:rod.simioni@gmail.com">rod.simioni@gmail.com</a>> wrote:</p>
<p dir="ltr">> I'll need more flexiability because this xml requires custom headers, etc. I've created a custom script -- I placed it in the /server/ext dir and populated my :hobbitlaunch.cfg with<br>
> [foo]<br>
>    ENVFILE $BBTHOME/etc/hobbitserver.cfg<br>
>    CMD $BB/ext/myscript.sh<br>
>    LOGFILE $BB/logs/myscript.log<br>
>    INTERVAL 5m</p>
<p dir="ltr">I can't tell what your script does so I'm guessing that it has the target server name hard coded.</p>
<p dir="ltr">> I've placed 'foo' in the bb-hosts file for the bb server </p>
<p dir="ltr">This is not needed. Generally, test names in bb-hosts are used only by the "network" tests (xymonnet or bbnet). Everything else uses their own configurations, typically in-script variables or separate configuration files. It's possible for a script to fetch it's configuration elements from bb-hosts, but that's not very common, and requires the script to do some extra work to get it. Again this is something I can't tell because I don't know what your script is doing.</p>

<p dir="ltr">> but I want to monitor the client-less vips. If I placed 'foo' next to my client-less vips, it does nothing, do you have a clue?</p>
<p dir="ltr">The only place you need to define your test name is on the script that sends the status message. Everything else is incidental or superfluous. Even the [foo] in hobbitlaunch.cfg is arbitrary, and as long as its unique, it can be any alphanumeric string of reasonable length.</p>

<p dir="ltr">There's no reason to list the test name in the bb-hosts file. Your script needs to know the host name(s) it's going to test.</p>
<p dir="ltr">Can you show the script?</p>
<p dir="ltr">Have you looked at myscript.log?</p>
<p dir="ltr">J<br>
</p>