openwrt-packages/net/mini_snmpd/files
Marcin Jurkowski bddaabafbf mini_snmpd: fix bugs and automatically reload daemon if one of monitored interfaces goes up/down
This commit fixes bugs, cleans and enhances init.d script:
1. The first disk and interface was passed to mini_snmpd with extra
   leading space.
   This bug caused the first monitored disk and interface to be
   inaccessible by SNMP daemon.
2. Automatically reload deamon if one of monitored interfaces goes
   up/down.
   Since mini_snmpd reads interface list only at startup, it won't
   detect any interface which appeared after the daemon was started.
   Fortunately we can use procd interface triggers to automatically
   restart the daemon.
3. Replace hand-written direct ubus calls and json data filtering with
   standard network functions.

Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
2017-04-05 11:24:40 +02:00
..
mini_snmpd.config mini_snmpd: 1.4-rc1 add git,autoconf,procd init script,uci validation - new upstream/openwrt maintainer 2016-07-12 03:07:03 +07:00
mini_snmpd.init mini_snmpd: fix bugs and automatically reload daemon if one of monitored interfaces goes up/down 2017-04-05 11:24:40 +02:00