Penguin

Yesterday it worked.
Today it is not working.
Windows is like that.

Or Zebra / SNMP, if you believe arachnid...

To get SNMP support working zebra, paste the following snippets into the relevant file. Note that should change snmpcommunity for some community name that is secure and working in your current snmpd.conf.

--- /etc/snmp/snmpd.conf --------------------------------------------------

  1. ##########################################################################
  2. SECTION: SMUX for Zebra Routing Daemon

#

smuxpeer .1.3.6.1.4.1.3317.1.2.1 snmpcommunity smuxpeer .1.3.6.1.4.1.3317.1.2.2 snmpcommunity smuxpeer .1.3.6.1.4.1.3317.1.2.3 snmpcommunity smuxpeer .1.3.6.1.4.1.3317.1.2.4 snmpcommunity smuxpeer .1.3.6.1.4.1.3317.1.2.5 snmpcommunity

  1. obsolete hardcoded OID

smuxpeer .1.3.6.1.6.3.1 snmpcommunity

  1. OSPF2MIB

smuxpeer .1.3.6.1.2.1.14 snmpcommunity

  1. BGP4MIB ("mib-2.15 of RFC1657")

smuxpeer .1.3.6.1.2.1.15 snmpcommunity

  1. RIPV2MIB

smuxpeer .1.3.6.1.2.1.4.23 snmpcommunity

  1. IPFWMIB

smuxpeer .1.3.6.1.2.1.4.24 snmpcommunity

--- /etc/zebra/zebra.conf -------------------------------------------------

smux peer 1.3.6.1.4.1.3317.1.2.5 snmpcommunity

--- /etc/zebra/ospfd.conf -------------------------------------------------

  1. OSPF2MIB

smux peer 1.3.6.1.2.1.14 snmpcommunity

--- /etc/zebra/bgpd.conf -------------------------------------------------

  1. BGP4MIB ("mib-2.15 of RFC1657")

smux peer 1.3.6.1.2.1.15 snmpcommunity

Warning: snmpcommunity is technically a password and should be considered insecure, - it syslogs it all over the place! (Stupid snmpd.) Note that snmpd.conf doesn't have the space in 'smuxpeer' while Zebra does.