<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(0,0,255);display:inline">​Thanks for the reply and I will cc the group for now on. Let me tell you my objective and if you still need to look at my script/log file, I will fetch them.<br>
<br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(0,0,255);display:inline">This is basically what I want to do. For each ip address in my VIPs section of the bb-host:<br>subpage vips VIPS<br>
10.218.160.150   server1 #foo<br>10.218.160.150   server2 #foo<br><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(0,0,255);display:inline">I want to send xml through this call:<br><br>
wget --post-file=SentinelCompReport.xml --header="Content-Type: text/xml" --header="SOAPAction: \"<a href="http://xxx.com/ComprehensivePersonSearch\">http://xxx.com/ComprehensivePersonSearch\</a>"" -O - <a href="http://VIP/BobService.asmx">http://VIP/BobService.asmx</a><br>
<br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(0,0,255);display:inline">and if the data returns as expected, then it is green.<br><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(0,0,255);display:inline">
How should I implement this?<br><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(0,0,255);display:inline">Thanks in advance, sir.<br><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(0,0,255);display:inline">
Rod<br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(0,0,255);display:inline">​</div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 6, 2014 at 8:16 AM, Jeremy Laidman <span dir="ltr"><<a href="mailto:jlaidman@rebel-it.com.au" target="_blank">jlaidman@rebel-it.com.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Firstly, please cc the mailing list. Secondly, best to upgrade to Xymon if that's possible.</p><div class="">

<p dir="ltr">On 06/08/2014 9:54 PM, "Rod Simioni" <<a href="mailto:rod.simioni@gmail.com" target="_blank">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>
</div><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><div class="">
<p dir="ltr">> I've placed 'foo' in the bb-hosts file for the bb server </p>
</div><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>
<div class="">

<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>
</div><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><span class="HOEnZb"><font color="#888888">
<p dir="ltr">J<br>
</p>
</font></span></blockquote></div><br></div>