| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The musl libc only implements POSIX basename() but provided a GNU header
kludge in <string.h>, which was removed in musl 1.2.5 [1]. Use the standard
<libgen.h> header to avoid compilation warnings like:
zabbix-6.4.7/zabbix-extra-mac80211/zabbix_helper_mac80211.c:37:11: warning:
implicit declaration of function 'basename' [-Wimplicit-function-declaration]
37 | phy = basename(phy);
| ^~~~~~~~
zabbix-6.4.7/zabbix-extra-mac80211/zabbix_helper_mac80211.c:37:9: warning:
assignment to 'char *' from 'int' makes pointer from integer without a cast
[-Wint-conversion]
37 | phy = basename(phy);
| ^
zabbix-6.4.7/zabbix-extra-mac80211/zabbix_helper_mac80211.c:38:10: warning:
assignment to 'char *' from 'int' makes pointer from integer without a cast
[-Wint-conversion]
38 | stat = basename(stat);
| ^
Link 1: https://git.musl-libc.org/cgit/musl/log/?qt=grep&q=basename
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
|
|
|
|
|
|
|
|
|
| |
Those devices don't have 'device' propery, only 'l3_device', which
causes 'attempt to concatenate field 'device' (a nil value)' lua error.
Use 'l3_device' as a fallback in this case.
Signed-off-by: Jacek Konieczny <jajcus@jajcus.net>
|
|
|
|
| |
Signed-off-by: Leong Hui Wong <wong.leonghui@gmail.com>
|
|
|
|
|
|
|
| |
this allow us to stop using uci /var/state,
which is deprecated since forever
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
|
|
|
|
|
|
|
| |
This allow to run zabbix as non root
Thanks to Adrian Kirchner (@adriankirchner)
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
In kernel commit f1160434c7658af3f7b0926b88df49a66cb3c3e0 many stats
that we read with zabbix-extra-mac80211 have been renamed
One commit after (c206ca670974cefec7ac3732db5c8156e8081a8d) those renamed
stats have been hidden behind MAC80211_DEBUG_COUNTERS compile flag
For now you have to edit mac80211 Makefile / do a custom build to access
most of these stats
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
zabbix-agent doesn't exist anymore since 3.0
'-f' option (foreground) is now in zabbix-agentd
003-change-user-and-foreground.patch fixes pending
issue https://support.zabbix.com/browse/ZBX-10611
you might need to update your config file to add
LogType=system
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
|
|
|
|
| |
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
|
|
|
|
|
| |
run tested on ar71xx
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
|
|
|
|
|
|
| |
we don't use uci anymore (only ubus and iwinfo)
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
|
|
|
|
|
|
|
|
| |
recent changes in trunk allow us to specify the userid inside the openwrt makefile.
the info is stored int he meta data of the IPK contorl file and users are generated
by the new generic postinst trigger.
Signed-off-by: John Crispin <blogic@openwrt.org>
|
|
|
|
|
|
| |
As it use ubus call you need to run zabbix as root for it to work
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
|
|
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
|