Ticket #48 (closed defect: fixed)
cfgmaker doesn't pass snmp options to host templates
| Reported by: | human | Owned by: | somebody |
|---|---|---|---|
| Version: | 2.x | Keywords: | |
| Cc: |
Description
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).
Adding:
$$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


thanks ... fix is in r329