Differences

This shows you the differences between two versions of the page.

doc:howto:snmp.server [2012/12/02 04:29]
higuita reference how to configure snmpd
doc:howto:snmp.server [2014/04/09 19:15] (current)
thenextdon13 Added note about 32 bit max counter in minisnmpd
Line 14: Line 14:
opkg install mini-snmpd opkg install mini-snmpd
 +
 +**Note:** minisnmpd uses a 32 bit counter, which maxes out at 4294967295.  This means any traffic over that does not appear on the counter, making it appear that you no longer have traffic.  This is by design of minisnmpd.  See [[https://dev.openwrt.org/ticket/13597|Bug Report]] and minisnmpd [[http://freecode.com/projects/minisnmpd|project page]]
===== Basic configuration for mini-snmpd ===== ===== Basic configuration for mini-snmpd =====
Line 42: Line 44:
For some reason, Cacti doesn't like the system response that mini_snmpd gives (eg uptime, syslocation etc). In order to get your graphs correctly generated within Cacti, you need to change the way Cacti polls the OpenWRT system to see if it is up - on the device page within Cacti you should change the 'downed device detection' method to 'Ping' and the ping method to 'ICMP Ping'. This should then work :) For some reason, Cacti doesn't like the system response that mini_snmpd gives (eg uptime, syslocation etc). In order to get your graphs correctly generated within Cacti, you need to change the way Cacti polls the OpenWRT system to see if it is up - on the device page within Cacti you should change the 'downed device detection' method to 'Ping' and the ping method to 'ICMP Ping'. This should then work :)
 +
 +===== Wireless signal and noise =====
 +
 +Here is a small patch for mini_snmpd to support monitoring wireless signal and noise with Cacti. Here is the [[http://nottheoilrig.com/openwrt/201212090/wireless.patch|patch for mini_snmpd]] and here is a patch to [[http://patchwork.openwrt.org/patch/3061/|add it to OpenWrt]]. Here is a blog post about [[http://jdbates.blogspot.com/2012/12/heres-patch-for-mini-snmp-daemon-to.html|how to configure Cacti]] to make graphs from signal and noise data.
 +
 +The OIDs in the patch are chosen to work with the kbridge.xml SNMP query this is distributed with Cacti.
 +
 +{{http://nottheoilrig.com/openwrt/201212090/index_files/graph_image_003.png|http://nottheoilrig.com/openwrt/201212090/}}

Back to top

doc/howto/snmp.server.1354418975.txt.bz2 · Last modified: 2012/12/02 04:29 by higuita