[mrtg] SNMP_util.pm line 629

Daniel McDonald dan.mcdonald at austinenergy.com
Fri Oct 15 20:04:48 CEST 2010

On 10/15/10 10:33 AM, "Arvon Griffiths" <Arvon.Griffiths at txdot.gov> wrote:

> What causes the following:

public not defined on myrouter1
Or an access class restricting source-IP's for snmp
Or snmp version 2 isn't available
Or an snmp view that eliminates the system schema
Or a routing problem
Or a firewall access list between the poller and myrouter1
Or a buggy router firmware that responds with a different source-address
than the destination that was polled.

> cfgmaker public at myrouter1 -output ./myrouter1.cfg --snmp-options=':::::2'

Note, you want to put the --snmp-options flag before the router name...
cfgmaker --snmp-options=':::::2' public at myrouter1 -output ./myrouter1.cfg

Or alternately, just tack that onto the router name itself:
cfgmaker public at myrouter1:::::2 -output myrouter1.cfg

The cfgmaker script can deal with multiple routers on the same command line,
and only options listed before the router are applied to that router...

Daniel J McDonald, CCIE # 2495, CISSP # 78281

More information about the mrtg mailing list