I imagine I'm being stupid this morning but I can't figure this out. I appreciate any pointers.
I'm using Net-SNMP v5.1.1 and I have an SNMP subagent that's crapping out with a segfault but I can't narrow down what object it's handling when it dies. I do an snmpwalk and the output ends with: Q-BRIDGE-MIB::dot1qTpFdbStatus.0.'...Â..'.14 = INTEGER: mgmt(5) Q-BRIDGE-MIB::dot1qTpFdbStatus.0.'...Â..'.15 = INTEGER: mgmt(5) Error in packet. Reason: (genError) A general failure occured Failed object: Q-BRIDGE-MIB::dot1qTpFdbStatus.0.'...Â..'.15 Q-BRIDGE-MIB::dot1qTpFdbStatus.0.'...Â..'.15 is the last TpFdbStatus I expect (the preceeding list of TpFdbPort ends at 15) so I _think_ my subagent is being asked for the next item in the MIB, whatever that might be. Ethereal shows a GET_NEXT packet with the dot1qTpFdbStatus OID above. On an older system that works, the next object retrieved is IF-MIB::ifName.1 but when I instrument my get_ifName function, it appears it never gets called. Looking at http://www.net-snmp.org/docs/man/snmpd.html, it seemed that the -d option would help me. But when I do: /usr/sbin/snmpd -I -interface -I -icmp -f -d (I always do "-I -interface -I -icmp"), I see only: create_trap_session() with version 1 add_trap_session() creating version 1 trap and no "Dump (in hexadecimal) the sent and received SNMP packets." What am I doing wrong? Alternatively, is there a Net-SNMP tool that will tell me what the next OID after Q-BRIDGE-MIB::dot1qTpFdbStatus.0.'...Â..'.15 is? Thanks. Chris ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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