<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><td>The current color of the status</td></tr><tr><th align="left" valign="top">BBALPHAMSG</th><td>The full text of the status log triggering the alert</td></tr><tr><th align="left" valign="top">

ACKCODE</th><td>The "cookie" that can be used to acknowledge the alert</td></tr><tr><th align="left" valign="top">RCPT</th><td>The recipient, from the SCRIPT entry</td></tr><tr><th align="left" valign="top">BBHOSTNAME</th>

<td>The name of the host that the alert is about</td></tr><tr><th align="left" valign="top">MACHIP</th><td>The IP-address of the host that has a problem</td></tr><tr><th align="left" valign="top">BBSVCNAME</th><td>The name of the service that the alert is about</td>

</tr><tr><th align="left" valign="top">BBSVCNUM</th><td>The numeric code for the service. From SVCCODES definition.</td></tr><tr><th align="left" valign="top">BBHOSTSVC</th><td>HOSTNAME.SERVICE that the alert is about.</td>

</tr><tr><th align="left" valign="top">BBHOSTSVCCOMMAS</th><td>As BBHOSTSVC, but dots in the hostname replaced with commas</td></tr><tr><th align="left" valign="top">BBNUMERIC</th><td>A 22-digit number made by BBSVCNUM, MACHIP and ACKCODE.</td>

</tr><tr><th align="left" valign="top">RECOVERED</th><td>Is "1" if the service has recovered.</td></tr><tr><th align="left" valign="top">DOWNSECS</th><td>Number of seconds the service has been down.</td></tr><tr>

<th align="left" valign="top">DOWNSECSMSG</th><td>When recovered, holds the text "Event duration : N" where N is the DOWNSECS value.</td></tr></tbody></table><br></div></div><div><div>I tried this script with the below commands which didn't work, it didn't return the variable values.</div>

<div><br></div><div>#!/bin/sh</div><div><br></div><div>echo $BBALPHAMSG</div><div><br></div><div>$xymoncmd script_name</div><div>$xymonlaunch script_name</div></div><div><br></div><div style>Thanks</div></div>