RE: SNMP V3 help needed Urgent
On 22 November 2011 19:28, Abhishek Kumar-Noida abhishek.k...@hcl.com wrote: I am trying to get SNMPWALK from V3 however unable to do the same. I am getting SNMPWALK via V2 from same host however not from V3. Dave Shield's response deleted. If all still fails after you've tried what Dave suggests, then try specifying the snmpd configuration files when you start the agent as below. I had heaps of trouble getting v3 to work until I did this: # /opt/snmp/sbin/snmpd -Le -f -c /opt/snmp/share/snmp/snmpd.conf,/var/net-snmp/snmpd.conf -C Note that my installation does NOT use the default locations, and although I (think I) built the agent correctly, v3 would not run until I did the above. (Of course, replace my snmpd.conf file paths with your own.) Good luck. John John LeiseboerQuintessenceLabs Pty Ltd Chief Technology Officer Suite 23, Physics Building #38 P: +61 7 5494 9291Science Road F: +61 2 6125 7180Australian National University M: +61 409 487 510Acton, ACT 0200 Australia mailto:j...@quintessencelabs.comwww.quintessencelabs.com PGP.sig Description: PGP signature -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: SNMP V3 help needed Urgent
On 22 November 2011 19:28, Abhishek Kumar-Noida abhishek.k...@hcl.com wrote: I am trying to get SNMPWALK from V3 however unable to do the same. I am getting SNMPWALK via V2 from same host however not from V3. First question - how is the agent configured? What access control settings are in place? (Probably lines such as createUser and rouser, etc) I have UID, Password and encryption key. And running following syntax. Can you please guide me if syntax is wrong? snmpwalk -v 3 -On -u user -l AuthPriv -a SHA -A auth_password All of that is OK... -X encryption_password -m ALL HOST_IP You probably need to specify the encryption protocol to use Try adding the option -x DES (or whatever has been set up in the snmpd.conf file) Personally, I'd start by walking the system group (rather than the whole tree), and wouldn't bother with -m ALL to begin with, Your basic command should probably be something like snmpwalk -v3 -u user -l authPriv -a SHA -A authPass -x DES -X privPass IP system But this very much relies on corresponding configuration in the agent that you are talking to. Dave -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
RE: SNMP v3 help
What would you suggest me to do if I have following requirement. 1. Receive V3 trap 2. Decode v3 trap somehow. I don't know this step. 3. Print the values like, oid , agentaddr etc from a perl script. Best regards, Rupesh From: Gaikwad, Rupesh Sent: Wednesday, January 27, 2010 4:33 PM To: net-snmp-users Subject: SNMP v3 help Hello All, I have configured snmptrapd and I can receive V3 AuthPriv traps very well on my test machine. But, now I want to know how I can receive and print trap from perl. I have searched many links and found Net-SNMPTrapd-0.02 Net::SNMPTrapd. But this modules/ examples does not support v3. Otherwise it's something exact what I am looking for. Any help is appreciated. Best regards, Rupesh -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
RE: SNMP v3 help
From: Gaikwad, Rupesh [mailto:rupesh_gaik...@bmc.com] Sent: Wednesday, January 27, 2010 3:34 AM What would you suggest me to do if I have following requirement. 1. Receive V3 trap 2. Decode v3 trap somehow. I don’t know this step. 3. Print the values like, oid , agentaddr etc from a perl script. http://www.net-snmp.org/docs/man/snmptrapd.conf.html I point you to the traphandle command, but read the whole page, please. HTH, Mike -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users