> >> Hi, >> >> 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?
>Hi, > >As far as I know the only global option is in the cfgmaker: > > --snmp-options=:[<port>][:[<tmout>][:[<retr>][:[<backoff>][:<ver>]]]] > >but the default value is version 1. > >Jozsef > 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:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
