![]() 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> |
||
---|---|---|
.. | ||
files | ||
Makefile |