[mrtg] Re: Forcing -v 1
simon.westlake at bizwi.rr.com
Wed Dec 10 15:04:49 MET 2003
>> I've recently setup MRTG+RRDTool on a new box and am having a
>> small problem with SNMP. If I do:
>> snmpget -c public router oid
>> The connection times out. Specifying -v 1 makes it work, so I
>> added a directive to force v1 in /etc/snmp/snmp.conf. I
>> assumed this would affect MRTG, but it does not.
>> Looking over the MRTG configuration, it looks as though the
>> only way to force this is to add :::::version onto the end of
>> each target. Is there some way to globally force '-v 1' for
>> all SNMP queries made?
>As far as I know the only global option is in the cfgmaker:
>but the default value is version 1.
Then the v1 SNMP isn't my problem, and it's something else.
I'm using MRTG 2.0.11 and RRDTool 1.0.45 along with MRTG-RRD.cgi.
snmpget works, and I get the correct information. Copying an identical config from an older machine (running an earlier version of MRTG+RRD) results in no data ever being graphed in the newer MRTG. MRTG.log is full of '*** did not eval into defined data' which generally means I'm trying to perform a calculation on null data, IIRC.
At first, I thought maybe the configuration needed to be changed in some way, but I looked over the MRTG config page and everything seems to be correct.
It's probably something stupid I'm missing.. I'll keep digging away at it today ;)
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
More information about the mrtg