Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jul 2003 14:47:17 +0300 (EEST)
From:      "Johan Paul" <mailing-lists@johanpaul.com>
To:        "FreeBSD-questions" <freebsd-questions@freebsd.org>
Subject:   Re: SNMP
Message-ID:  <2635.193.166.135.194.1059652037.squirrel@silakka.nettikala.fi>
In-Reply-To: <Pine.LNX.4.44.0307301842350.4078-100000@localhost.localdomain>
References:  <573562C6FDA9564A8EEE66D899BC190B02A32AD4@EMSS01M10.us.lmco.com> <Pine.LNX.4.44.0307301842350.4078-100000@localhost.localdomain>

next in thread | previous in thread | raw e-mail | index | archive | help
> I second the recommendation for net-SNMP. It also provides most of the
> functions for Microsoft Windows that it does for Unix-type environments.
> Code generators and related utilities are far less automatic than many
> commercial products, but the quality and flexibility are high. There is a
> set of tutorials and you can run many of them against yourself in
> 'localhost'.

I know this might be a poor follow-up and not a FreeBSD issue, sorry! But
I am quite stucked with the configuration of net-snmp. I got it from ports
(version 5.0.6). I added the createUser line to /var/net-snmp/snmpd.conf
like the HOWTO tells me to do
(http://www.net-snmp.org/FAQ.html#How_do_I_configure_SNMPv__users_),
restarted net-snmp but whatever I try I get no authorization eg. ('guest'
is the user I added with the createUser directive):

silakka# snmpget -u guest -A <the password> -v 3 -l noAuthNoPriv localhost
sysUpTime
Error in packet
Reason: authorizationError (access denied to that object)

I have also tried to run snmpconf script but there seems to be little to
do with users or communities other than the line:

rouser  guest auth

I also tried with the snmpwalk (same auth error) and tried to configure
MRTG with cfgmaker but of course it can't retrieve any info.

So I would need some basic knowledge about the authentication with
net-snmp. Any brief ideas? :)

I would also like to specify a community (public@localhost) for MRTG to use.


Regards,

Johan Paul



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2635.193.166.135.194.1059652037.squirrel>