[mrtg] MRTG not honouring mib file

Babu C babscontact at rediffmail.com
Mon Oct 11 06:07:00 CEST 2010

Thank you so much for all those kind help and time you gave. I really appreciate and its certain that the net-snmp or mrtg port of FreeBSD is 
having the fault. Now I am going to catch hold of port maintainers of 
FreeBSD. Lets see what they have to say.

Thanx once again
Experience with this list was the best I must say, will be back again 
once if I resolve this issue


On Sat, 09 Oct 2010 18:34:34 +0530  wrote

If you're not using SNMPv3, MRTG does not use net-snmp. For the cases 
of SNMPv1 and SNMPv2c, MRTG uses the code in the SNMP_Session.pm, 
SNMP_util.pm, and BER.pm perl modules. Those modules are usually in the 
MRTG installation directory, in the 'lib/mrtg2'

I install my copy of MRTG in /opt, i.e. /opt/mrtg. The actual MRTG 
script is therefore /opt/mrtg/bin/mrtg. The included perl modules MRTG 
uses are in /opt/mrtg/lib/mrtg2/. I have no idea what FreeBSD did to 
the install. If you're finding the SNMP_util.pm
 module in /usr/ports or /usr/local/lib/perl5, the SNMP modules you're 
using probably aren't the ones shipped with MRTG.

MRTG is including the modules as a curtousy. The official repository 
for those three modules is

Your entire MRTG installation is suspect. Did you download it from 
http://www.mrtg.org and install that, or does FreeBSD have some sort of 
repository you're installing from? I recommend using the
http://www.mrtg.org version.

Mike Mitchell

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20101011/ac14bd08/attachment.htm 

More information about the mrtg mailing list