<div dir="ltr">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 class="gmail_extra"><div class="gmail_quote">

<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 width="80%" align="center" summary="Paging script environment variables" style="font-family:'Times New Roman'">

<tbody><tr>

<th align="left" valign="top">BBCOLORLEVEL</th></tr></tbody></table></div></div></div></blockquote><div><br></div><div style>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 style><br></div><div style>$ /usr/lib/xymon/client/bin/xymoncmd</div><div style>$ set | grep BB</div><div style>$ set | grep XYMON</div><div style>$ exit</div><div style><br></div><div style>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 style><br></div><div style>If you want to test an alert script, you might need to setup a dummy alert in alerts.cfg.</div><div style><br></div><div style>J</div><div style><br></div></div></div></div>