[mrtg] Re: Forcing -v 1

Makai József jozsef.makai at siemens.com
Wed Dec 10 09:37:36 MET 2003


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


> 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?

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
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



More information about the mrtg mailing list