Re: [Nagios-devel] 3.0b6 custom macros

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] 3.0b6 custom macros

Post by Guest »

> 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]
Locked