Alejandro Islas wrote: > Thanks for your reply Daniel. I've been reading towards this issue and > noticed that I must use smux to enable communication between quagga > and snmp. I found at that my current quagga version did not support > smux so I compile it with enable_snmp option. Here's my snmpd.conf > smux configuration > > smuxpeer .1.3.6.1.4.1.3317.1.2.3 ripd > > here is my ripd.conf smux configuration > > ! > smux peer .1.3.6.1.4.1.3317.1.2.3 ripd > ! > > I relaunched everything and snmpd refuses the smux connection from > quagga. I thought it could be some snmpd version related issue, so I > downloaded the latest version and compiled it addind smux support. > However, I continue receving this in the log file. > > smux_conf: parsing registration for: .1.3.6.1.4.1.3317.1.2.3 ripd > smux_conf: password is: ripd > smux_init: [smux_init] done; smux listen sd is 7, smux port is 199 > NET-SNMP version 5.4.1.2 <http://5.4.1.2> > smux: [smux_accept] Calling accept() > [smux_accept] accepted fd 9 from 127.0.0.1:43089 <http://127.0.0.1:43089> > smux: [smux_open_process] version 0, len 33, type 2 > smux: [smux_open_process] smux peer: GNOME-PRODUCT-ZEBRA-MIB::ripd > smux: [smux_open_process] len 21, type 6 > smux: [smux_open_process] smux peer descr: Quagga-0.99.5 > smux: [smux_open_process] len 6, type 4 > smux: [smux_open_process] smux peer passwd: ripd > smux: [smux_open_process] len 0, type 4 > refused smux peer: oid GNOME-PRODUCT-ZEBRA-MIB::ripd, descr Quagga-0.99.5 > smux: [smux_close] sending close to fd 9, reason 5 > smux: [smux_accept] peer on 9 failed authentication > > As far as I read, there's nothing else I need to configure, so do you > have any idea of why this is not working?? > Check smux_auth_peer() function to see why it failed.
thanks, Daniel > Thanks, > > Alejandro > > On Tue, Jul 22, 2008 at 12:57 PM, Daniel Chuang <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Alejandro Islas wrote: > > HI all, we recently installed quagga ripd in our linux servers > in order to enable rip protocol. I would like to monitor its > behaviour using ripv2-mib. I would like to know the steps I > need to do to make it work. I did find the RIP2-MIB file in my > mibs directory but when I try a snmp walk command I receive > the following. > snmpServer:/etc/snmp# snmpwalk -v 1 -c public 10.25.1.1 > <http://10.25.1.1> <http://10.25.1.1> Rip2IfStatEntry > > Rip2IfStatEntry: Unknown Object Identifier (Sub-id not found: > (top) -> Rip2IfStatEntry) > > > you have to use either -m and -M option or environment variables > to include > you mib files. > > Also rip mib must be enabled in the quagga ripd too. > > thanks, > Daniel > > So I guess there's something missing in my snmpd configuration > to enable rib2mib, or something at compilation time??? Could > someone give some workaround for this?? > Thanks in advance, > Alejandro > > > ------------------------------------------------------------------------ > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move > Developer's challenge > Build the coolest Linux based applications with Moblin SDK & > win great prizes > Grand prize is a trip for two to an Open Source event anywhere > in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > <http://moblin-contest.org/redirect.php?banner_id=100&url=/> > > > ------------------------------------------------------------------------ > > _______________________________________________ > Net-snmp-coders mailing list > [email protected] > <mailto:[email protected]> > https://lists.sourceforge.net/lists/listinfo/net-snmp-coders > > > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
