Re: [Nagios-devel] 3.0b6 custom macros
Posted: Thu Nov 08, 2007 7:46 am
> 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 post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
>
> 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 post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]