Help needed on EngineID.
"Ragesh V" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <F03F61A4221B9C4E91955E8C29AA9D92B1CEB0@chn-hclt-evs05.HCLT.CORP.HCL.IN> |
Hi, I have one snmp agent, which should reply to the get/getNext from an SNMP manager with the contextEngineID and msgAuthoritativeEngineID as per my requirement (ie Our enterprise ID + IP of one machine + Trailing zeros). As per my knowledge, I believe for this I just have to configure snmpd.conf with these details. But I am unable to get the expected results. The snmpd.conf contents are as below. rwuser MYUSER noauth syslocation 127.0.0.1 syscontact Root root@localhost master agentx sysobjectid <MY ENT OID> authtrapenable 1 AgentXTimeout 60 engineID 0x<Hex value created with ENT OID and IP + trailing zeros> createUser -e 0xMyEngineID FMS MD5 "mypassword" I can see that the value is getting embedded in the packet as string. So my requests like below are failing. snmpget -v3 -e <ENGINEID as snmpd.conf> -u MYUSER -n MYCONTEXT <host name> MyOID Can any one help me on this so that the above command will pass ? TIA Ragesh DISCLAIMER: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. ----------------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ 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