Thanks for your testing, answer below
Le 25/12/2012 13:35, Stefan Hellermann a écrit :
> oops :-)
>
> here the output with wlan0 as parameter and no client:
> # lua -l iwinfo -e print(iwinfo[iwinfo.type('wlan0')].channel('wlan0'))
> 1
> # lua -l iwinfo -e print(iwinfo[iwinfo.type('wlan0')].frequen
>> # lua -l iwinfo -e print(#iwinfo[iwinfo.type('wlan0')].assoclist('wlan0'))
>> 0
> lua -l iwinfo -e "n = 0; for _,_ in
> pairs(iwinfo[iwinfo.type('wlan0')].assoclist('wlan0')) do n = n + 1 end;
> print(n)"
That's it! Thanks!
# lua -l iwinfo -e "n = 0; for _,_ in
pairs(iwinfo[iwinfo.type('wlan
Hi
This patch add 3 extra packages for zabbix-agentd:
zabbix-extra-network: a detection rule with the ifname (eth0.1) and the network
name (wan).
zabbix-extra-wifi: an universal detection rule for wifi (using libuci-lua) and
many userparameters (using libiwinfo-lua)
zabbix-extra-mac80211: a phy