This is a discussion on Forwarding snmp-traps - SNMP ; 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 ...
I'm in the process of moving our SNMP trap receiver from one host to
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
So, I've added a line reading "forward default
" 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: [ID 702911 daemon.warning]
host.tld [172.31.21.141]: Trap , EXPRESSION-MIB::sysUpTimeInstance =3D
Timeticks: (3388711366) 392 days, 5:05:13.66, SNMPv2-MIB::snmpTrapOID.0
And here's what I get on the new one:
Nov 16 10:16:34 ueberwachtix snmptrapd: 10:16 TRAPCold Start.0
from 0.0.0.0%EXPRESSION-MIB::sysUpTimeInstance =3D Timeticks: (3388664638)
392 days, 4:57:26.38 SNMPv2-MIB::snmpTrapOID.0 =3D 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 188.8.131.52 running on Fedora Core 3.
Any ideas how I can fix this?
Maybe something with the format string??
Thanks, and keep on hackin',
Netzwerk- und Systemadministrator
Operation Management Center (OMC)
Information & Communications
Gesch=E4ftsf=FChrer: Dr. Winfried Materna, Helmut an de Meulen, Ralph Hartw=
Amtsgericht Dortmund HRB 5839
Tel: +49 231 9505 222
Fax: +49 231 9505 100
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
Net-snmp-users mailing list
Please see the following page to unsubscribe or change other options: