RE: Bad IP address inside snmp traps
"Florian CROUZAT" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <00ca01cc6955$014f4290$03edc7b0$@net> |
Dave Shield wrote on 2011-09-02: > On 1 September 2011 16:36, Florian CROUZAT <[email protected]> > wrote: >> when restarting snmpd, a trap is generated and sent to my configured >> trapsink host. Unfortunately, the IP address inside the trap isn't the >> correct one > > Which version of the agent are you using? > > I haven't checked the code logs in detail, > but I have a vague recollection of a patch to the software > to address what sounds like a very similar issue. > > If you're not using one of the most recent versions, > it would probably be worth trying with the latest release > (5.7 or the 5.7.1 release candidate), to check whether > this problem is still present. Dave, I use CentOS 5.6 stable version which appears to be net-snmp-5.3.2.2-9.el5_5.1 ; kinda old I guess :/ I can't really try other versions since I'm in a production environnement. Looking at the changelogs, I guess the patch you mentioned is "[PATCH 1916840]: new config option to set SNMPv1 trap agent address" (http://sourceforge.net/tracker/?func=detail&atid=312694&aid=1916840&group_i d=12694) I thought it was a misconfiguration of my doing but apparently is a known issue then ? As if it is hardcoded that the IP address inside the trap PDU has to be the first eth* iface with an ipv4 addr. As a quickfix I now send inform paquets. iirc snmp agent 5.5 will be shipped with Centos 6, we'll see then.. Greetings, Florian ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ 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