aboutsummaryrefslogtreecommitdiff
path: root/net/net-snmp
Commit message (Collapse)AuthorAge
* net-snmp: enable agent/extend MIBStijn Tintel2017-03-01
| | | | | | Closes #4085. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* net-snmp: add engineID config optionsStijn Tintel2017-02-14
| | | | | | | | | | According to the snmpd.conf man page, the engineID of an snmp agent should be consistent through time. However, it seems that the engineID changes every reboot. Add options to configure how the engineID is generated. The default setting generates it based on the MAC address of the eth0 interface. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* net-snmpd: convert snmpd-static to dummy packageStijn Tintel2017-01-15
| | | | | | | | | We believe snmpd-static isn't useful, but download stats show it's still being downloaded. Instead of dropping it, make it a dummy package that depends on snmpd. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Acked-by: Jo-Philipp Wich <jo@mein.io>
* net-snmp: build against libnl-tinyJo-Philipp Wich2017-01-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of causing nondeterministing conditional compilation depending on whether libnl-core happens to be present or not, fixup the net-snmp package to link against libnl-tiny which is present by default on the majority of systems. In order to successfully build against libnl-tiny, a number of things had to be fixed in both the upstream configure and the outer Makefile: - Add a patch which fixes the upstream configure macros to properly handle cases where the cache variables for nl_connect() and netlink.h tests are predefined. Without this patch, all subsequent link tests in configure will fail, causing the build system to assume functions like opendir() or readdir() to be missing, leading to build failures later on due to conflicting redefinitions of structures and function prototypes - In the same patch, stop probing the host systems /usr/include/libnl-3 if ac_cv_header_netlink_netlink_h is given. This brings the proprietary configure bits in line with the behaviour expected from autoconfig in a cross compile setting - Explicitely request nl support by passing the --with-nl flag to configure - Pass the required cache variables to skip the broken tests for nl_connect() and netlink.h - Amend TARGET_CPPFLAGS to let net-snmp's build system discover nl-tiny's netlink/netlink.h and netlink/socket.h - Enable the autoreconf fixup to regenerate the broken shipped configure from patched macros - Adjust the depends to unconditionally require libnl-tiny Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* net-snmp: fix libnl dependency for snmpd-staticStijn Tintel2017-01-06
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* net-snmp: enable AgentX supportStijn Tintel2017-01-05
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* net-snmp: fix libnl dependencyStijn Tintel2017-01-04
| | | | | | | | When libnl-core is enabled, but libnl isn't, build fails because of a missing dependency on libnl-3.so.200. Depending on libnl-core seems to work for both cases. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* net-snmp : update to 5.7.3Hans Dedecker2017-01-04
| | | | | | | | | | Update to 5.7.3 by refreshing patches; remove 800-format-security as upstream integrated. Add libnl dependency in the package Makefile as net-snmp will check if libnl is enabled in config_os_libs2. Remove unneeded PKG_FIXUP build variable. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* net-snmp: add package snmp-mibsSven Roederer2017-01-03
| | | | | | | this installs the default MIBS-files under /usr/share/snmp/mibs . Also aligns the defines to the same sorting-scheme. Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
* net-snmp: take over maintainershipStijn Tintel2017-01-03
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* treewide: replace my defunct email addressJo-Philipp Wich2016-06-07
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* net: Fix typos (found by codespell)Stefan Weil2016-04-10
| | | | Signed-off-by: Stefan Weil <sw@weilnetz.de>
* net-snmp: reload snmpd on interface eventsStijn Tintel2016-02-20
| | | | | | | | | | | | | | | | | When applying wireless configuration changes, the ifindex of the wireless interface(s) change. While snmpd picks up the new interfaces with the correct index, it does not remove the old ones: IF-MIB::ifName.23 = STRING: wlan0 IF-MIB::ifName.24 = STRING: wlan1 IF-MIB::ifName.25 = STRING: wlan0 IF-MIB::ifName.26 = STRING: wlan1 This causes problems for monitoring tools that use ifName (or ifDesc) as interface reference. Add a trigger that reloads snmpd on interface up/down events so that it will no longer have the old interfaces. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* net-snmp: add service_triggers callbackfeckert2015-08-06
| | | | | Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com> Signed-off-by: Helge Mader <hmader@tdt.de>
* net-snmp: add config optionsfeckert2015-08-06
| | | | | | | | | | | - trap_hostname - trap_ip - access_default - access_HostName - access_HostIP Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com> Signed-off-by: Helge Mader <hmader@tdt.de>
* Merge pull request #1031 from ionum/masterJo-Philipp Wich2015-07-01
|\ | | | | net-snmp: Enable pass_persist support for snmpd in Makefile
| * Enable pass_persist support for slapdionum2015-03-12
| |
* | net-snmp: fix musl compatibilityJo-Philipp Wich2015-06-26
| | | | | | | | | | | | | | Fixup `iwlib.h` to not consider an musl environment to be an unsupported platform. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
* | net-snmp: monitor ifindex changesStijn Tintel2015-02-18
| | | | | | | | | | | | | | | | | | When an ifindex for an interface changes, some monitoring tools can no longer find the interface and send alerts. Monitor all network interfaces via the procd netdev parameter, so that /etc/init.d/snmpd reload will restart snmpd if any ifindex changed. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* | net-snmp: cosmetic changes in snmpd init scriptStijn Tintel2015-02-18
| | | | | | | | | | | | | | | | - Refactor RUN_C into CONFIGFILE, as used in dnsmasq and igmpproxy init scripts. - Add a newline after each function definition. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* | net-snmp: convert snmpd to procdStijn Tintel2015-02-18
| | | | | | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* | net-snmp: remove /etc/default/snmpd DebianismStijn Tintel2015-02-18
|/ | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* Update snmpd.initrcmcronny2014-10-13
| | | | | | | | | | add support for "disk <partition> <size>" option example for /etc/config/snmpd =========== config disk option partition '/' option size '500' ===========
* net-snmp: remove spurious libelf dependencySteven Barth2014-07-18
| | | | Signed-off-by: Steven Barth <steven@midlink.org>
* net-snmp: import from oldpackages, add myself as maintainer, add license ↵Jo-Philipp Wich2014-07-02
information, update to v5.4.4, refresh patches Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>