<div dir="ltr"><div><div>So, do you mean to say that these variables which I listed are only available during alerts ?<br></div>Can I echo these variables in any of my custom script?<br><br></div>eg. put "echo $BBALPHAMSG > some_file" in my custom script?<br>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 31, 2013 at 1:15 PM, 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"><div dir="ltr"><div class="im">On 31 May 2013 14:45, deepak deore <span dir="ltr"><<a href="mailto:deepakdeore2004@gmail.com" target="_blank">deepakdeore2004@gmail.com</a>></span> wrote:<br>

</div><div class="gmail_extra"><div class="gmail_quote"><div class="im">

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">how can I view the below variables?<div><br></div><div><br></div><div><div><table summary="Paging script environment variables" style="font-family:'Times New Roman'" align="center" width="80%">



<tbody><tr>

<th align="left" valign="top">BBCOLORLEVEL</th></tr></tbody></table></div></div></div></blockquote><div><br></div></div><div>If you run bbcmd on its own, it will set all of the variables for you and run a sub-shell.  Try this:</div>



<div><br></div><div>$ /usr/lib/xymon/client/bin/xymoncmd</div><div>$ set | grep BB</div><div>$ set | grep XYMON</div><div>$ exit</div><div><br></div><div>The variables you listed all appear to be for an alert script.  These are all set by the xymond_alert program, for scripts that it runs, and these variables won't be defined outside of that context.</div>



<div><br></div><div>If you want to test an alert script, you might need to setup a dummy alert in alerts.cfg.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>J</div><div><br></div></font></span></div>

</div></div>
</blockquote></div><br></div>