On Wed, 2008-11-19 at 10:27 -0800, Alex_M wrote: > Hello, > > is there a possibility to debug MIB loading?
I think so, but it's been a while since I've dug into it. You need to change line 9 of the mrtg script, and include the debug targets you are interested in: @main::DEBUG=qw(); # DEBUG TARGETS # cfg - watch the config file reading # dir - directory mangeling # base - basic program flow # tarp - target parser # snpo - snmp polling # snpo2 - more snmp debug # coca - confcache operations # repo - track confcache repopulation # fork - forking view # time - some timing info # log - logging of data via rateup or rrdtool # eval - trace eval experssions # prof - add timeing info some interesting bits of code I'd try snpo and snpo2 to start off. A lot of that gets written into confcache, so add coca if the first two don't help. -- Daniel J McDonald, CCIE #2495, CISSP #78281, CNX Austin Energy http://www.austinenergy.com
signature.asc
Description: This is a digitally signed message part
_______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
