aboutsummaryrefslogtreecommitdiff
path: root/admin/zabbix/files
Commit message (Collapse)AuthorAge
* zabbix: zabbix_helper_mac80211.c: use POSIX <libgen.h> headerTony Ambardar2024-03-06
| | | | | | | | | | | | | | | | | | | | | | | | | 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>
* zabbix: fix 6in4 network interface discoveryJacek Konieczny2021-11-21
| | | | | | | | | 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>
* treewide: update wiki linksLeong Hui Wong2019-11-29
| | | | Signed-off-by: Leong Hui Wong <wong.leonghui@gmail.com>
* zabbix: use ubus for zabbix-extra-networkEtienne Champetier2018-10-23
| | | | | | | this allow us to stop using uci /var/state, which is deprecated since forever Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
* zabbix: add proper ubus acl for zabbix-extra-wifiEtienne Champetier2018-10-23
| | | | | | | This allow to run zabbix as non root Thanks to Adrian Kirchner (@adriankirchner) Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
* zabbix: partially fix zabbix-extra-mac80211Etienne Champetier2017-07-08
| | | | | | | | | | | | 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: update to zabbix 3.0.1Etienne CHAMPETIER2016-04-09
| | | | | | | | | | | | | | 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>
* admin/zabbix: Fix typos (found by codespell)Stefan Weil2016-03-27
| | | | Signed-off-by: Stefan Weil <sw@weilnetz.de>
* zabbix: switch zabbix_agentd to procdEtienne CHAMPETIER2015-07-11
| | | | | | run tested on ar71xx Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
* zabbix: fix wifi.ifdiscovery UserParameter (zabbix-extra-wifi)Etienne CHAMPETIER2015-04-16
| | | | | | we don't use uci anymore (only ubus and iwinfo) Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
* generic userid: use the new USERID apiJohn Crispin2014-10-08
| | | | | | | | 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>
* zabbix: fix zabbix-extra-wifi discovery ruleEtienne CHAMPETIER2014-06-24
| | | | | | 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>
* Zabbix: import 2.2.2 from packagesEtienne CHAMPETIER2014-06-04
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>