Trapgen is indeed a great utility. One caveat.. the current version (v2.8) requires that PDH.DLL is on your system. This is a Microsoft-supplied dll that is supposed to ease access to the performance data counters when Trapgen obtains the value for sysUpTime (a new feature in 2.8).
I did not have PDH.DLL on my Win NT PC but one that I took from my Win 2000 PC made Trapgen work just fine. Mark Symons -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Tim Farley Sent: Tuesday, March 25, 2003 15:45 To: [EMAIL PROTECTED] Subject: RE: [WhatsUp Forum] Custom SNMP Traps >> Part of the issue may be that SNMP and Syslog look at the source IP >> address and then WUG will associate them with that object. For SNMP traps, WUG looks not only at the source address of the packet, but also the source address that is embedded in the payload of the trap. This is easily alterable without incurring any firewall/routing issues that might come up from spoofing the IP source address of the packet. We commonly use a tool called trapgen.exe to generate traps for testing, you can download it here: http://www.ncomtech.com/download.htm When using it, the command line switch to alter the internal address is -i. So for instance to send a trap to a WUG at the fictional DNS wug.mydomain.com that appears to be from 10.1.2.3, use something like this: trapgen -d wug.mydomain.com -i 10.1.2.3 -g 6 -s 1 (In practice you'd need to add some variable bindings to the command line to convey some more info with the trap). --Tim Farley IPSWITCH Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list. An Archive of this list is available at: http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/
