[mrtg] MRTG and Sonicwall help

Steve Shipway s.shipway at auckland.ac.nz
Thu Aug 21 04:06:22 CEST 2014


> when I run the cfg maker, it talks to the sonicwall and builds a config
file with
> all the sonicwall interfaces. most are commented out.

The commented out entries will usually be prefixed with comments indicating
why they are commented out (either zero speed, or admin disabled, etc)

> 2014-08-20 21:45:30 -- cannot encode Object ID 3.6.1.2.1.1.2.0: first
subid too
> big in Object ID 3.6.1.2.1.1.2.0 at /usr/bin/mrtg line 2339.

I would suggest you try using SNMPv2.  Add ::::2 to the end of the SNMP
target definition, or run cfgmaker with "--snmp-options=:::::2"

> 2014-08-20 21:02:13 -- 2014-08-20 21:02:13: ERROR:
> Target[192.168.30.1_x1][_IN_] ' $target->[0]{$mode} ' did not eval into
defined data

This means that, while polling the interface of the device in question, MRTG
was not able to get a valid value.  There are many reasons for this, though
the usual one is that the community string or ACLs are wrong.  Other
possibilities are that you're using the wrong SNMP version (try v2c!), that
your returned data are out of range, and so on. Try running MRTG
interactively with "--debug=tarp,snpo,eval,log" to get more information as
to what is being asked for and what is being returned.

Steve

Steve Shipway
s.shipway at auckland.ac.nz


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5909 bytes
Desc: not available
URL: <http://lists.oetiker.ch/pipermail/mrtg/attachments/20140821/2f70246f/attachment.bin>


More information about the mrtg mailing list