[Xymon] how to view xymon variables?
deepak deore
deepakdeore2004 at gmail.com
Fri May 31 06:45:41 CEST 2013
how can I view the below variables?
BBCOLORLEVELThe current color of the statusBBALPHAMSGThe full text of the
status log triggering the alert ACKCODEThe "cookie" that can be used to
acknowledge the alertRCPTThe recipient, from the SCRIPT entryBBHOSTNAME The
name of the host that the alert is aboutMACHIPThe IP-address of the host
that has a problemBBSVCNAMEThe name of the service that the alert is about
BBSVCNUMThe numeric code for the service. From SVCCODES
definition.BBHOSTSVCHOSTNAME.SERVICE
that the alert is about. BBHOSTSVCCOMMASAs BBHOSTSVC, but dots in the
hostname replaced with commasBBNUMERICA 22-digit number made by BBSVCNUM,
MACHIP and ACKCODE. RECOVEREDIs "1" if the service has recovered.DOWNSECSNumber
of seconds the service has been down. DOWNSECSMSGWhen recovered, holds the
text "Event duration : N" where N is the DOWNSECS value.
I tried this script with the below commands which didn't work, it didn't
return the variable values.
#!/bin/sh
echo $BBALPHAMSG
$xymoncmd script_name
$xymonlaunch script_name
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20130531/8e5743f5/attachment.html>
More information about the Xymon
mailing list