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 --------------------------------------------------
#
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
- obsolete hardcoded OID
smuxpeer .1.3.6.1.6.3.1 snmpcommunity
- OSPF2MIB
smuxpeer .1.3.6.1.2.1.14 snmpcommunity
- BGP4MIB ("mib-2.15 of RFC1657")
smuxpeer .1.3.6.1.2.1.15 snmpcommunity
- RIPV2MIB
smuxpeer .1.3.6.1.2.1.4.23 snmpcommunity
- 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 -------------------------------------------------
- OSPF2MIB
smux peer 1.3.6.1.2.1.14 snmpcommunity
--- /etc/zebra/bgpd.conf -------------------------------------------------
- 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.
2 pages link to ZebraSNMP: