[mrtg] SNMP v2 issues with queries

Niall O'Reilly niall.oreilly at ucd.ie
Fri Apr 12 02:07:43 CEST 2013

On Thu, 11 Apr 2013 18:15:18 -0400
Jeffrey Smith <doc at neonova.net> wrote:

> Actually I didn't use cfgmaker.  I'm generating the config files
> using a perl script that I wrote using data (hostname, community,
> interface, maxbytes, title, etc.) from a MySQL database that I've
> been using successfully for years.

	That's an approach that I've also used successfully for years.

	I have found from time to time that some MIB data hierarchy
	which I've been depending on is deprecated or abandoned by the 
	equipment manufacturer in favour of some "other part of the

	In such a case, I've found it necessary to explore the new
	or updated equipment using

snmpwalk -v2c -cwhatever domain-name-or-ip-address . >some-file

	and use the results to guide modic=fications to my script.

	As you probably know, that '.' specifies the root OID, 
	so that the entire tree is matched.  

	I don't know whether this will help, or is even relevant, in
	your situation, but it may be worth a try.

	Best regards,
	Niall O'Reilly

More information about the mrtg mailing list