[mrtg] Wrong Values
Niall O'Reilly
Niall.oReilly at ucd.ie
Sat Feb 28 00:14:17 CET 2009
On Fri, 2009-02-27 at 11:41 -0800, Freddie Cash wrote:
> snmpwalk -v 2c -c <communitystring> <server.address>
>
> That will connect via SNMP to <server.address> and list all the SNMP
> MIB entries that it knows about.
That may work for you, but ...
The (version of the) snmp* tools I've used have a default MIB
hierarchy which is used implicitly if no further command
argument is given after <server.address>. YMMV, as this
could be a build-time option for all I know.
In order to have the entire MIB returned, I've needed to
over-ride this default by specifying '.' (the root of the
MIB hierarchy), as shown below.
snmpwalk -v 2c -c <communitystring> <server.address> '.'
The quotes are not at all necessary, but make the dot easier
for humans to see.
/Niall
More information about the mrtg
mailing list