3.0b6 custom macros

Shad L. Lords slords at lordsfam.net
Thu Nov 8 16:47:27 CET 2007


> Configuration snipe:
>
> define host{
> _SNMPversion 2
> _SNMPcommunity public
> }
>
> define command{
> command_name 959c8fec-5af9-44b4-95f1-820839c1ef60
> command_line $USER1$/check_memory -H $HOSTADDRESS$ --ram $ARG1$ --vram
> $ARG2$ -c $_HOSTSNMPcommunity$ -v $_HOSTSNMPversion$
> }

Try making the variables all uppercase: _HOSTSNMPCOMMUNITY & 
_HOSTSNMPVERSION

-Shad 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/




More information about the Developers mailing list