(RADIATOR) Patch to SNMPAgent.pm
Jose Borges Ferreira
underspell at gmail.com
Thu Sep 15 10:56:57 CDT 2005
I noticed that SNMPAgent module didn't parse variables in their
parameters. Since i need it for BindAddress and Port I've patched to
do so.
I need this because i have the same configuration file for several
servers. I include server specific information and use global
variables.
snapshot of configuration:
-----------------------------------------------------
include %D/local.cfg
<SNMPAgent>
RWCommunity yadayadayada
ROCommunity yetanotheryada
BindAddress %{GlobalVar:SNMPBindIP}
Port %{GlobalVar:SNMPBindPort}
</SNMPAgent>
-----------------------------------------------------
Snapshot of local.cfg
-----------------------------------------------------
BindAddress 342.567.123.987
DefineGlobalVar ServerName radiussrv01
DefineGlobalVar SNMPBindIP 321.456.789.12
DefineGlobalVar SNMPBindPort 1234
-----------------------------------------------------
José Borges Ferreira
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SNMPAgent.pm-format_special.patch
Type: application/octet-stream
Size: 800 bytes
Desc: not available
URL: <http://www.open.com.au/pipermail/radiator/attachments/20050915/ec8fe3fb/attachment.obj>
More information about the radiator
mailing list