This article was first written in August 2004 for the BeezNest technical website (http://glasnost.beeznest.org/articles/163).
Quagga is able to publish routing information to SNMP.
When setting up Quagga  with NET-SNMP (previously know as UCD-SNMP), you may fall into the problem of Quagga logging a lot of error messages to syslog or to its own logfile.
Let us analyse and fix this kind of error messages in your syslog files:
Aug 30 07:41:40 myhost snmpd: refused smux peer: oid SNMPv2-SMI::enterprises.33126.96.36.199, descr quagga-0.96.5 Aug 30 07:41:46 myhost snmpd: [smux_accept] accepted fd 11 from 127.0.0.1:33531
and, in Quagga’s logfile (zebra.log):
2004/08/30 19:40:04 ZEBRA: SMUX_CLOSE with reason: 5
The problem is that our snmpd is currently not allowing Quagga to access it read-write to publish routing information.
To fix it, it is as simple as telling both to communicate and use the same password (for the example, we used mypasswordIsGreat).
Add the following lines in your /etc/snmp/snmpd.conf and restart snmpd:
# Activate SNMP for Quagga smuxpeer .188.8.131.52.6.3.1 mypasswordIsGreat
Add the following commands in your running zebra process, or in your zebra.conf and restart your service zebra:
smux peer 184.108.40.206.6.3.1 mypasswordIsGreat
 or Zebra, of course, as they are (still) almost identical