| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision |
| doc:howto:snmp.server [2014/04/09 17:15] – Added note about 32 bit max counter in minisnmpd thenextdon13 | docs:guide-user:services:snmp:server [2021/07/24 19:10] – 802.11 info snmpd nemesis |
|---|
| |
| Then Edit the /etc/config/snmpd file and finetune what you need. | Then Edit the /etc/config/snmpd file and finetune what you need. |
| More advanced configurations might need to edit the /etc/init.d/snmpd script and make the snmpd program to load another custom config | More advanced configurations might need to edit the /etc/init.d/snmpd script and make the snmpd program to load another custom config. |
| | |
| | ===== Usage notes for snmpd ===== |
| | |
| | Basic information about WIFi 802.11 interfaces can be obtained using the OID 1.2.840.10036, the [[https://sourceforge.net/p/net-snmp/patches/_discuss/thread/35fa2f88/2b10/attachment/80211-MIB.txt|MIB file for this OID is available for download from sourceforge]]. |
| |
| ===== How to install mini-snmpd ===== | ===== How to install mini-snmpd ===== |
| |
| 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]] | **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]] |
| | {{:meta:icons:tango:48px-outdated.svg.png?nolink}} | As of [[https://dev.openwrt.org/changeset/25486|r25486]] this patch is in the tree. | | | {{:meta:icons:tango:48px-outdated.svg.png?nolink}} | As of [[https://dev.openwrt.org/changeset/25486|r25486]] this patch is in the tree. | |
| |
| Take a look at this post: | Take a look at the [[https://forum.openwrt.org/viewtopic.php?pid=127560#p127560|forum post]] ("64 bit counter support in SNMP (TL-WR1043ND)"). I.e. get the patch from [[https://dev.openwrt.org/ticket/8818|Ticket 8818]] ("Enable 64 bit counters in net-snmp"), build and reinstall the whole kernel/system (rebuild and opkg install the new snmp package didn't work). |
| https://forum.openwrt.org/viewtopic.php?pid=127560#p127560 | |
| I.e. Get patch from https://dev.openwrt.org/ticket/8818, build and reinstall the whole kernel/system (rebuild and opkg install the new snmp package didn't work). | |
| |
| ===== Usage with Cacti ===== | ===== Usage with Cacti ===== |