Opened 15 years ago

Closed 12 years ago

Last modified 10 years ago

#48 closed defect (fixed)

cfgmaker doesn't pass snmp options to host templates

Reported by: human Owned by: somebody
Version: 2.x Keywords:


That's because $$router_ref{snmpopt_current} is not yet initialized when the host template code is called. It only gets initialized later inside IsCounterBroken? (quite an odd place to do it, btw).


$$router_ref{snmpopt_current} = $$router_ref{'snmp-options'};

above the line that first defines $router_connect seems to fix the issue for me, but it might not be the right fix.

Thanks, -Ion

Note: See TracTickets for help on using tickets.

NOTE: The content of this website is accessible with any browser. The graphical design though relies completely on CSS2 styles. If you see this text, this means that your browser does not support CSS2. Consider upgrading to a standard conformant browser like Mozilla Firefox or Opera but also Apple's Safari or KDE's Konqueror for example.