[mrtg] Re: SNMPv3?

Robert Huff roberthuff at rcn.com
Fri Jun 23 18:47:43 MEST 2006

MrPaul writes:

>  >         Is there an even longer version available?  I'd like to do
>  > this, think I have the SNMP side handled, but am having problems
>  > with mrtg.
>  Have you tried looking over the MRTG refernece (
>  http://oss.oetiker.ch/mrtg/doc/mrtg-reference.en.html)?

	For substantial parts of the last two days, including the
sections mentioned here and in other posts.  :-)
	Here's where I stand:
	1) SNMP seems to work,  Running this:

huff@>> snmpwalk -v 3 -u MRTG -l priv -a md5 -x aes -A <deleted> -X <deleted> localhost

	works fine.
	2) I then run mrtg, and get:

Daemonizing MRTG ...
SNMPopen failed: Invalid argument '-username' at /usr/local/bin/mrtg line 1986
SNMPGET Problem for jerusalem at at /usr/local/bin/mrtg line 1986
ERROR: Target[jerusalem][_IN_] ' $target->[0]{$mode} ' did not eval into defined data
ERROR: Target[jerusalem][_OUT_] ' $target->[0]{$mode} ' did not eval into defined data

	Mrtg does not exit, and I get this message again every N minutes.
	3) Applicable portion of mrtg.conf is appended.

				Robert Huff

RunAsDaemon: Yes
EnableSnmpV3: yes

Interval: 5
WriteExpires: Yes

Target[Jerusalem]: 2:jerusalem at
#SnmpOptions[Jerusalem]: username=>'MRTG'
SnmpOptions[Jerusalem]: username=>'MRTG', authprotocol=>'md5', authpassphrase->'<deleted>', privprotocol=>'aescfb256', privpassphrase->'<deleted>' 
Title[Jerusalem]: Traffic Analysis for Jerusalem
WithPeak[Jerusalem]: ym

Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

More information about the mrtg mailing list