Re: EngineId (Manager and Agent) in case of Informs

Thomas Anders <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Jeyachitra Ramshankar wrote:
> I am using net-snmp manager to receive informs.
> The engineId String value is being logged as some junk value 
> dumph_recv:       msgAuthoritativeEngineID
> dumpx_recv:        04 0D 2E 2E 2E E5 2E 35 2E 2E 2E ED 2E 4E 43
> dumpv_recv:         String:  ...å.5...í.NC
> 
> But my custom agent(other than net-snmp) was not able to decode the 
> engineId from the received packet as it is.
> It prints some other junk
> Context Engine Id   = ~@^@^Gå~@õú~^L~XMNC
> 
> 
> Why it differs?  What might be the cause for this issue?

- One is the authoritative angine id, the other is the context engine id.
- compare hex dumps, not the attempts to interpret as strings
- informs to different destinations are *expected* to use different 
authoritative engineids (because it needs to use match the engineid of 
the receiver)
- use a packet sniffer (Ethereal) to see the real data that is sent
- we can't help with problems (if any) of your non-net-snmp custom agent


+Thomas

-- 
Thomas Anders (thomas.anders at blue-cable.de)


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.