Hi I think i will make 2 packages: -zabbix-extra-iwinfo, DEPENDS += +libiwinfo-lua -zabbix-extra-mac80211, DEPENDS += @PACKAGE_MAC80211_DEBUGFS, with a startup script to set the rights.
i just need to figure out a iwinfo.devdiscovery ----- Mail original ----- De: "Stefan Hellermann" <ste...@the2masters.de> À: "etienne champetier" <etienne.champet...@free.fr>, "OpenWrt Development List" <openwrt-devel@lists.openwrt.org> Envoyé: Jeudi 20 Décembre 2012 12:13:25 Objet: Re: [OpenWrt-Devel] [PATCH] Zabbix: add wifi (iwinfo and mac80211) UserParameter > Hi > > This patch add 30 UserParameter to monitor your wifi via zabbix. > The iwinfo part is generic, it only need a detection rule (like > mac80211.devdiscovery) to be written for your type of device > The mac80211 is only tested with ath9k but it should work with all mac80211 > phy. I think you need to add at least two DEPENDS required by this change. You read iwinfo with lua, so you need to depend on CONFIG_PACKAGE_lua and maybe others. I don't have lua on my boxes and it's not included in the default config. Second you read files from the debug filesystem, so you should depend on KERNEL_DEBUG_FS (default enabled, but I disabled it on most boxes) There is another one CONFIG_PACKAGE_MAC80211_DEBUGFS where I'm not sure about. On my zabbix openwrt boxes there is no wifi, but nevertheless I like you're change as it contains autodiscover rules and adds a nice conf.d folder. Regards, Stefan Hellermann _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel