We've figured this out. Thanks. D. > > Hi All, > > I have a kind of baffling situation here. > > We have been successfuly sending traps to a Nagios client for a couple of > months. The trap command has the form. > > snmptrap -M /usr/local/share/snmp/mibs -v 3 -n \"\" [authorization stuff] > [ip number] 0 1.3.6.1.4.1.36070.0.1 0 s string0 1 s string1 2 s string2 > > Nagios/nsti have been processing them just fine. > > We added another argument, as in: > > snmptrap -M /usr/local/share/snmp/mibs -v 3 -n \"\" [authorization stuff] > [ip number] 0 1.3.6.1.4.1.36070.0.1 0 s string0 1 s string1 2 s string2 3 > s string3 > > and we start seeing the messages I mentioned in the subject: > > snmp_build: unknown failuresnmptrap: Error building ASN.1 representation > (Can't build OID for variable) > > Further, it seems that if we use an index >= 3, the message appears no > matter how many arguments we send, i.e., this wont work either: > > snmptrap [snip snip] 0 s string0 3 s string3 > > We have updated the MIB in Nagios to reflect the change, but either it is > irrelevant to do so or the changes aren't being noticed. snmptranslate on > the Nagios client box shows that the MIB changes to the notificationGroup, > etc. have worked and the updated MIB is good. We have tried both sending > and receiving the traps on multiple machines. > > Thought this would be a ten minute task -- adding a couple of arguments to > a command. One day down (for two developers) so far!! > > Googling the messages returns a suspicious scarcity of finds. > > We are running 5.6.2pre1. > > Any ideas? Please keep in mind that the version with three arguments at > the top of this posting ran just fine for a long time, but adding that > triplet of arguments to the end OR using an index >= 3 breaks it. We have > adjusted the MIB and even restarted the Nagios box. > > Thank you very much! > > Dave > > > > > > > > > > > > > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft > technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk > _______________________________________________ > 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/listinfo/net-snmp-users >
------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ 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/listinfo/net-snmp-users