I have a client machine which sends **snmpinform**.
In other machine i am running snmptrapd server.
I wanted to mention context engine id and authoritative engine id
explicitly.
While sending command i can use **-e** for authoritative engine id, **-E**
for context engine Id.
But, the problem is how can I mention these values in the snmptrad.conf
Snippet of snmptrapd.conf is
createUser -e 0x000006D70000000000000000 FMS
authUser log,execute,net FMS noauth
engineID 000006D7C0A800C800000000
My command for snmpinform is :
snmpinform -v 3 -d -n "" -l noAuthNoPriv -u FMS -E
0x000006D70000000000000000 -e
80001f8804303030303036443743304138303043383030303030303030 192.168.0.200
162 1.3.6.1.4.1.1751.2.119.1.1.1.0
The output is timeout(Error message came). Further investigations with
wireshark showed, in the report it is giving both authoritative and context
engine ids with same values.
I did try several work arounds without any use
1. Did not give -e option while sending snmpinform. It did discovery of
authoritative engine Id and the output is still the same (Error message and
timeout)
2. Did not give -E option. **snmpinform: Unknown user name**
obv: It seems to be completely different behavior. It is able to
properly decode the context engine id and able to identify the user name.
But, the report is with the different
context engine id.
3. Did not give -e option while creating user and while sending gave only
-e(Authoritative engine id). Then it worked perfectly.
obv: Both the authoritative and context engine ids are same. So, it
worked perfectly.
What should do if i want to mention both the engine ids in the conf file?
How can i give authoritative engine id in snmptrapd.conf file as hex
number?. It expectes text string. What if i have non-printable characters.
Thanks for reading patiently :-)
Thanks and regards,
Ch. Kiran kumar
Senior software engineer,
Alcatel lucent
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
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