Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support
It is currently Fri Oct 24, 2014 3:29 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: how to configure snmpv3 on net snmp?
PostPosted: Mon Dec 12, 2011 1:57 am 
Offline

Joined: Tue Nov 15, 2011 5:29 am
Posts: 3
Hello Sir/Madam

From past few days I’m trying hard to configure snmpv3 . These are the things I have tried:


1) I downloaded net-snmp-5.7.0-1.x86.exe
2) Then I configured using snmpconf –g basic_setup through the command line.
3) For snmpv3 I created users like raj with noauth(no authentication) and many more users with auth and priv
4) After which the snmpd.conf file will be created in the c:/usr/bin directory, I copied and pasted it in C:/usr/etc/snmp
5) Then I tried the following in the command prompt: c:/usr/bin>snmpget –v 3 –l noAuthNoPriv –u raj localhost sysUpTime.0
6) I got the output as : snmpget: unknown user

So please help me what to do next.


Top
 Profile  
 
 Post subject: Re: how to configure snmpv3 on net snmp?
PostPosted: Mon Dec 12, 2011 4:47 am 
Offline

Joined: Tue Nov 15, 2011 5:29 am
Posts: 3
finally got it. after you install net-snmp-5.7.0-1.x86.exe go to command prompt
c:/usr/bin>snmpconf -g basic_setup
then create snmpv3 users .for example raj noauth, shankar auth,...

then a snmpd.conf file is created in bin folder. cut paste it in etc/snmp/
then stop the net-snmp agent and edit the snmpd.conf file from usr/snmp/persist/
write the following line:
createUser shankar MD5 mysecretpass
then restart the net-snmp agent. go to usr/snmp/persist/snmpd.conf , it will ask you to reload. click yes. then go to command prompt c:/usr/bin>snmpget -v 3 -l auth -u shankar -a MD5 -A mysecretpass localhost .1.3.6.1.2.1.1.1.0. this will give the desired output.

see that when using the -> createUser shankar MD5 mysecretpass
user shankar is already created during snmpconf -g basic_setup . here mysecretpass is the password and MD5 is the authentication protocol


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group