Unable to send SNMP V3 Informs to multiple destinations
raja vankam <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAAixXyVwoXQ93s-L6QopbgnHVGmSZ_dr4nFmY8_jcNQBCQ3mfQ@mail.gmail.com> |
Hi, I am using Net-snmp-5.7.3 source and compiled an agent with SNMP V3 support and installed the agent on the Linux target. I am able to perform GET and SET with the users added and able to send Informs to one destination for one user. If I try to send Informs to more than one destination with the same user or different user then just cold start trap is being delivered to all destinations but subsequent Informs are delivered to only the first destination in the snmpd.conf. But if I configure one as inform destination and all other destinations are trap destinations then its working the same trap delivered to all destinations. If I use “snmpinform” command to send the inform then I can send informs to any destination. By looking into snmpd.conf man page, I could understand that the way informs work is different from traps with V3. There is a handshake about engine ID and then the Inform being sent. I would like to know is it the expected behavior with Informs? or am I doing anything wrong in the configuration? I can only have one inform destination? Below the details about agent configuration file. *Details:* Snmpd.conf: rwuser user1 authpriv rouser user2 authnopriv trapsess –v 3 –Ci –r 72 –t 1200 –u user1 –a SHA –A <authkey> -x AES –X <enckey> -l authpriv 192.168.1.100:162 (always works) trapsess –v 3 –Ci –r 72 –t 1200 –u user2 –a SHA –A <authkey> -l authnopriv 192.168.1.101:162 (not working) If I make it as trap then it works. trapsess –v 3 –u user2 –a SHA –A <authkey> 192.168.1.101:162 (working) Created users using create user directives in the persistent file. My path is /var/net-snmp/snmpd.conf Create user entries: Createuser user1 SHA <authkey> AES <enckey> Createuser user2 SHA <authkey> When I started the agent createuser entries are properly replaced with usmuser and hashed entries for auth and enc key. Appreciate your response. Raj. ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users