From: James Z. <ja...@bl...> - 2003-11-03 17:47:32
|
agosi wrote: >Sorry, I tried to change the debug level of trapd daemon and i got this: > >2003-10-31 11:01:22,720 DEBUG [TrapQueueProcessor] TrapQueueProcessor: >V2 trap - trapInterface: x.x.x.x >2003-10-31 11:01:22,721 DEBUG [TrapQueueProcessor] TrapQueueProcessor: >V2 trap numVars or pdu length: 5 >2003-10-31 11:01:22,728 DEBUG [TrapQueueProcessor] TrapQueueProcessor: >V2 trap first varbind value: 454957943 >2003-10-31 11:01:22,728 ERROR [TrapQueueProcessor] TrapQueueProcessor: >Unexpected error processing V2 trap >java.lang.ClassCastException: org.opennms.protocols.snmp.SnmpInt32 > at org.opennms.netmgt.trapd.TrapQueueProcessor.process >(TrapQueueProcessor.java:277) > at org.opennms.netmgt.trapd.TrapQueueProcessor.run >(TrapQueueProcessor.java:943) > at java.lang.Thread.run(Thread.java:536) > >x.x.x.x --> Cisco router's interface that i'm trying to monitor > >----- Mensaje Original ----- >Remitente: agosi <ag...@ar...> >Fecha: Viernes, Octubre 31, 2003 10:13 am >Asunto: Re: [opennms-bugs] Re: [opennms-discuss] Trapd.log ERROR with >V2 trap > > > >>I've set the community for the trapsink on the Cisco to "public" >>and >>the problem continue. I'm not receiving traps from this router and >>It's >>the only node that sends traps V2 to my ONMS machine. >> >>How to trace this problem? I need those traps and i don't know how >>to >>set the community those traps in the ONMS machine, because you say >>that"it's different that the community OpenNMS will use to query >>the device >>(you can leave that alone)" so i'm confused and i don't know if >>i'm >>missing something. >> >>----- Mensaje Original ----- >>Remitente: Tarus Balog <ta...@so...> >>Fecha: Martes, Octubre 28, 2003 4:32 pm >>Asunto: Re: [opennms-bugs] Re: [opennms-discuss] Trapd.log ERROR >>with >>V2 trap >> >> >> >>>On Oct 27, 2003, at 5:53 PM, agosi wrote: >>> >>> >>> >>>> The community isn't "public" and is specified in snmp- >>>> >>>> >>>config.xml for >>> >>> >>>>querying and collecting purposes, but i don't know if I need >>>> >>>> >>>specified> the community in trapd-configuration.xml like in snmp- >>>config.xml. I >>> >>> >>>>can't find any documentation about it. >>>> >>>> >>>Try this - set the community for the trapsink on the Cisco to >>>"public". >>>This is different that the community OpenNMS will use to query >>> >>> >>the >> >> >>>device (you can leave that alone). >>> >>>Let me know if the problem goes away. >>> >>>-T >>> >>> >>> >>> >________________________________________________________________________ > > >>>___ >>>Tarus Balog Main: >>> >>> >> >> >> >>> +1 919 545 2553 >>>Blast Internet Services, Inc. Fax: >>> >>> > > > >> >> >> >>>+1 919 542 5955 >>>Email: ta...@bl... URL: >>>http://www2.blast.com/tarusPGP Key Fingerprint: 8945 8521 9771 >>>FEC9 5481 512B FECA 11D2 FD82 B45C >>> >>>_______________________________________________ >>>bugs mailing list (bu...@op...) >>>To subscribe, unsubscribe, or change your list options, go to: >>>http://lists.opennms.org/mailman/listinfo/bugs >>> >>> >>> >>_______________________________________________ >>bugs mailing list (bu...@op...) >>To subscribe, unsubscribe, or change your list options, go to: >>http://lists.opennms.org/mailman/listinfo/bugs >> >> >> > >_______________________________________________ >bugs mailing list (bu...@op...) >To subscribe, unsubscribe, or change your list options, go to: >http://lists.opennms.org/mailman/listinfo/bugs > > Could you attach your trapd.log file, or show us all the log message about this Cisco device from the trapd.log which would be very helpful for us to trace this problem? James Zuo OpenNMS Developer Blast Internet Services, Inc. |