This is a discussion on Re: snmptrapd -- Cannot find TrapOID in TRAP2 PDU within the SNMP Users forums, part of the Networking and Network Related category; OK, I got a little further. I replaced the authcommunity with disableauthorization. Here is the trap I am receiving. Where ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
OK, I got a little further. I replaced the authcommunity with
disableauthorization. Here is the trap I am receiving. Where am I going wrong? Host: <UNKNOWN> (UDP: [207.97.221.101]:45677) DISMAN-EVENT-MIB::sysUpTimeInstance 0:0:00:00.00 SNMPv2-MIB::snmpTrapOID.0 WEBSITEPULSE-NOTIFY-MIB::WEBSITEPULSE-NOTIFY-MIB.0 WEBSITEPULSE-NOTIFY-MIB::WebSitePulseAlertType "Simulation" WEBSITEPULSE-NOTIFY-MIB::WebSitePulseDomain "test.domain.net" WEBSITEPULSE-NOTIFY-MIB::WebSitePulseTargetLabel "Testlabel" WEBSITEPULSE-NOTIFY-MIB::WebSitePulseDate "20040101000000" WEBSITEPULSE-NOTIFY-MIB::WebSitePulseResponseTime Wrong Type (should be INTEGER): "1.0000" WEBSITEPULSE-NOTIFY-MIB::WebSitePulseSubscriberNames "Test Name" WEBSITEPULSE-NOTIFY-MIB::WebSitePulseStatus "Simulation" WEBSITEPULSE-NOTIFY-MIB::WebSitePulseDowntime "12" WEBSITEPULSE-NOTIFY-MIB::WebSitePulseServerType "HTTP" WEBSITEPULSE-NOTIFY-MIB::WebSitePulseUrl "http://www.yoursite.com" WEBSITEPULSE-NOTIFY-MIB::WebSitePulseStepNumber "6" WEBSITEPULSE-NOTIFY-MIB::WebSitePulseStepLabel "Label Name" WEBSITEPULSE-NOTIFY-MIB::WebSitePulseRuleName "Rule Name" On Thu, Mar 27, 2008 at 12:50 PM, Terry <td3201@gmail.com> wrote: > I am still following through with the sender. I want to double check > the logic on my end. They are sending v2 traps. I have also loaded > their mib into /usr/share/snmp/mibs. Here is my snmptrapd.conf: > > authCommunity log,execute,net public > traphandle default /usr/bin/perl /usr/bin/traptoemail -s localhost -f > foo@bar.com jo@hotmail.com > > And here is how I am starting snmptrapd while testing: > snmptrapd -f -Le -d -M /usr/share/snmp/mibs -m ALL > > I have a question somewhat related to this. Can I accept traps for > multiple communities somehow with a single snmptrapd daemon and have a > different set of handlers for each? I just want to double check my > work on my end while they are scratching their heads on their end. > > > On Wed, Mar 26, 2008 at 10:12 AM, Dave Shield > > <D.T.Shield@liverpool.ac.uk> wrote: > > > > On 26/03/2008, Terry <td3201@gmail.com> wrote: > > [snip] > > > > > > > > Cannot find TrapOID in TRAP2 PDU > > > > Well, it's quite correct. > > > > The first two varbinds of a Trap2-PDU are meant to > > be 'sysUptime.0' followed by 'snmpTrapOID.0' > > The first two varbinds in this dump are > > 'enterprises.22096.1.1.1' and 'enterprises.22096.1.1.4' > > (assuming I've done the calculations correctly) > > > > That's the enterprise number for Image Project Inc. > > > > > > It looks as if the generating application is broken. > > I suggest you get onto the supplier and ask them > > about this. > > > > Dave > > > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216...et/marketplace _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users |