Hi all, I'm in the process of moving our SNMP trap receiver from one host to another. To test the new host before the final move, I'd like the old one to forward all traps it received to the new one, and then reconfigure the senders one after the other to use the new receiver in the second step (that's kind of boring work, we have something abt. 300 hosts sending traps...) So, I've added a line reading "forward default <new-host>" to the snmptrapd.conf on the old host, and voila, all traps are forwarded to the new one - but, one caveat: On the new host, the original sender address is missing, so, my trap receiver (a Perl script) is unable to get the original sender...
Here's a snippet of the log on the old host: Nov 16 10:35:19 goldeneye snmptrapd[22166]: [ID 702911 daemon.warning] host.tld [172.31.21.141]: Trap , EXPRESSION-MIB::sysUpTimeInstance = Timeticks: (3388711366) 392 days, 5:05:13.66, SNMPv2-MIB::snmpTrapOID.0 = OID... And here's what I get on the new one: Nov 16 10:16:34 ueberwachtix snmptrapd[7924]: 10:16 TRAPCold Start.0 from 0.0.0.0%EXPRESSION-MIB::sysUpTimeInstance = Timeticks: (3388664638) 392 days, 4:57:26.38 SNMPv2-MIB::snmpTrapOID.0 = OID... As you see, the IP is missing... NET-SNMP version on the old host is 5.1.1 (running on SUN Solaris 9), and 5.2.1.2 running on Fedora Core 3. Any ideas how I can fix this? Maybe something with the format string?? Thanks, and keep on hackin', Harald -- Harald Husemann Netzwerk- und Systemadministrator Operation Management Center (OMC) MATERNA GmbH Information & Communications Westfalendamm 98 44141 Dortmund Geschäftsführer: Dr. Winfried Materna, Helmut an de Meulen, Ralph Hartwig Amtsgericht Dortmund HRB 5839 Tel: +49 231 9505 222 Fax: +49 231 9505 100 www.annyway.com <http://www.annyway.com/> www.materna.com <http://www.materna.com/> ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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
