recap
Zabbix server running version 2 or 3? I suggest 3
openwrt install all the following packages:
zabbix agent 3
zabbix-extra-network
zabbix-extra-wifi
zabbix-extra-mac80211
libuci-lua
libiwinfo-lua
This is my zabbix agent configuration:
EnableRemoteCommands=1
Server=10.8.0.3
ServerActive= 10.8.0.3
StartAgents=1
Hostname = {{ name }}
AllowRoot=1
Include=/etc/zabbix_agentd.conf.d/
LogFile=/var/log/zabbix.log
DebugLevel=3
Timeout=3
Add these template on zabbix server
http://pastebin.com/nQdZM89w
Link host to the template.
retry
2017-04-05 16:40 GMT+02:00 SKapoor <[email protected]>:
> Is there anything missing here in the logs..
> Plz help.
>
> thanks
>
>
> On Wednesday, 5 April 2017 19:37:44 UTC+5:30, SKapoor wrote:
>>
>> - Yes , I used this template
>>
>> - yes, this is the screenshot
>>
>> zabbix-server logs
>>
>> 6005:20170405:191514.242 server #20 started [history syncer #1]
>> 6006:20170405:191514.244 server #21 started [history syncer #2]
>> 6016:20170405:191514.247 server #22 started [history syncer #3]
>> 6017:20170405:191514.248 server #23 started [history syncer #4]
>> 6018:20170405:191514.249 server #24 started [escalator #1]
>> 6019:20170405:191514.252 server #25 started [proxy poller #1]
>> 6021:20170405:191514.253 server #27 started [task manager #1]
>> 6020:20170405:191514.254 server #26 started [self-monitoring #1]
>> 6005:20170405:192414.388 item "EE-0C-BD-2E-C6-2A:system.users.num"
>> became not supported: Invalid result. Unsigned integer is expected.
>> 6005:20170405:192840.725 item "EE-0C-BD-2E-C6-2A:system.users.num"
>> became not supported: Invalid result. Unsigned integer is expected.
>>
>> -zabbix-agent logs:
>>
>> oot@EE-0C-BD-2E-C6-2A:/# cat /tmp/zabbix_agentd.log
>> 1210:20170405:123346.017 Starting Zabbix Agent [EE-0C-BD-2E-C6-2A].
>> Zabbix 3.2.4 (revision 65975).
>> 1210:20170405:123346.017 **** Enabled features ****
>> 1210:20170405:123346.017 IPv6 support: YES
>> 1210:20170405:123346.017 TLS support: NO
>> 1210:20170405:123346.018 **************************
>> 1210:20170405:123346.018 using configuration file:
>> /etc/zabbix_agentd.conf
>> 1210:20170405:123346.019 agent #0 started [main process]
>> 1220:20170405:123346.021 agent #3 started [active checks #1]
>> 1220:20170405:123346.022 active check configuration update from [
>> 192.168.0.209:10051] started to fail (cannot connect to
>> [[192.168.0.209]:10051]: [1)
>> 1219:20170405:123346.032 agent #2 started [listener #1]
>> 1218:20170405:123346.033 agent #1 started [collector]
>> 1220:20170405:134054.974 active check configuration update from [
>> 192.168.0.209:10051] is working again
>> 1220:20170405:134254.435 no active checks on server [
>> 192.168.0.209:10051]: host [EE-0C-BD-2E-C6-2A] not found
>> 1219:20170405:134349.157 Remote command [who | wc -l] result is not
>> unsigned integer
>> 1219:20170405:135413.862 Remote command [who | wc -l] result is not
>> unsigned integer
>> 1219:20170405:135514.013 Remote command [who | wc -l] result is not
>> unsigned integer
>> 1219:20170405:135840.632 Remote command [who | wc -l] result is not
>> unsigned integer
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Wednesday, 5 April 2017 18:37:38 UTC+5:30, marco.cappellacci wrote:
>>>
>>> Do you use this template http://pastebin.com/nQdZM89w ?
>>>
>>> Do you link it to the host?
>>>
>>> Can you paste the log of zabbix agent and server?
>>>
>>> Thanks
>>>
>>> 2017-04-05 15:06 GMT+02:00 SKapoor <[email protected]>:
>>>
>>>> Added no luck
>>>>
>>>> On Wednesday, 5 April 2017 17:56:04 UTC+5:30, marco.cappellacci wrote:
>>>>>
>>>>> Add this package libubus-lua and retry
>>>>>
>>>>> 2017-04-05 14:24 GMT+02:00 SKapoor <[email protected]>:
>>>>>
>>>>>> yes, Marco..
>>>>>>
>>>>>> root@EE-0C-BD-2E-C6-2A:/# iwinfo --help
>>>>>> Usage:
>>>>>> iwinfo <device> info
>>>>>> iwinfo <device> scan
>>>>>> iwinfo <device> txpowerlist
>>>>>> iwinfo <device> freqlist
>>>>>> iwinfo <device> assoclist
>>>>>> iwinfo <device> countrylist
>>>>>> iwinfo <device> htmodelist
>>>>>> iwinfo <backend> phyname <section>
>>>>>>
>>>>>>
>>>>>> On Wednesday, 5 April 2017 17:43:24 UTC+5:30, marco.cappellacci wrote:
>>>>>>>
>>>>>>> mmm
>>>>>>> do you have iwinfo on your openwrt system?
>>>>>>>
>>>>>>> 2017-04-05 13:29 GMT+02:00 SKapoor <[email protected]>:
>>>>>>>
>>>>>>>> Hi Marco,
>>>>>>>>
>>>>>>>> root@EE-0C-BD-2E-C6-2A:/tmp# opkg install
>>>>>>>> zabbix-extra-wifi_3.2.4-1_ar71xx.ipk
>>>>>>>> Installing zabbix-extra-wifi (3.2.4-1) to root...
>>>>>>>> Configuring zabbix-extra-wifi.
>>>>>>>>
>>>>>>>> after this I rebooted the Access point..
>>>>>>>>
>>>>>>>> I added template App Zabbix agent as part of host in my zabbix
>>>>>>>> server but no updates..
>>>>>>>>
>>>>>>>> I am doing somthing silly ):
>>>>>>>>
>>>>>>>> On Wednesday, 5 April 2017 16:17:30 UTC+5:30, marco.cappellacci
>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>> No, install zabbix-extra-wifi in your Access Point
>>>>>>>>> https://wiki.openwrt.org/doc/howto/zabbix
>>>>>>>>>
>>>>>>>>> Then use the template to collect data in zabbix server
>>>>>>>>>
>>>>>>>>> Marco
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> 2017-04-05 12:45 GMT+02:00 SKapoor <[email protected]>:
>>>>>>>>>
>>>>>>>>>> Mord, Are you telling this zabbix-extra-wifi has to be installed
>>>>>>>>>> in zabbix server manually ?
>>>>>>>>>>
>>>>>>>>>> thanks
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Wednesday, 5 April 2017 08:47:22 UTC+5:30, mord reneth wrote:
>>>>>>>>>>>
>>>>>>>>>>> Hi Sonia,
>>>>>>>>>>>
>>>>>>>>>>> You need to manually add:
>>>>>>>>>>>
>>>>>>>>>>> 1. The packages that install the userparameters onto the
>>>>>>>>>>> zabbix_agentd client (opgk install zabbix-extra-wifi)
>>>>>>>>>>> 2. Manually install the template into zabbix
>>>>>>>>>>> 3. Bind template to host
>>>>>>>>>>>
>>>>>>>>>>> (The zabbix-extra-wifi package installs user parameter config
>>>>>>>>>>> which calls iwinfo to get the information)
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Wednesday, April 5, 2017 at 5:59:09 AM UTC+3, SKapoor wrote:
>>>>>>>>>>>>
>>>>>>>>>>>> Hi Mord,
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> For my router code I do make menuconfig
>>>>>>>>>>>> And select all zabbix related packages and save in my .config
>>>>>>>>>>>> file then make , load the image on my router box ...Now in order
>>>>>>>>>>>> to collect
>>>>>>>>>>>> stats I browse my zabbix server where I m able to see information
>>>>>>>>>>>> on for
>>>>>>>>>>>> network interfaces but not able to see any templates for wireless
>>>>>>>>>>>> client
>>>>>>>>>>>> connection and other wireless properties. Is it possible to get
>>>>>>>>>>>> snapshot as
>>>>>>>>>>>> to whr I can see the template of wifi...am I doing something wrong
>>>>>>>>>>>> ,my
>>>>>>>>>>>> zabbix agent is running on router as part of process status..
>>>>>>>>>>>> If you could please help will be thankful
>>>>>>>>>>>>
>>>>>>>>>>>> Regards
>>>>>>>>>>>> Sonia
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Tue, 4 Apr 2017 at 11:55 PM, Alberto Crespo <
>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Thank you Mord! It is working!
>>>>>>>>>>>>>
>>>>>>>>>>>>> There are some template which shows the wifi users connected
>>>>>>>>>>>>> in each router?
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thank you again.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> El martes, 4 de abril de 2017, 14:53:25 (UTC-3), mord reneth
>>>>>>>>>>>>> escribió:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> if i understand your question correctly, yes, those packages
>>>>>>>>>>>>>> are in the repo....
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> opkg install zabbix-extra-mac80211
>>>>>>>>>>>>>> zabbix-extra-network zabbix-extra-wifi
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Tuesday, April 4, 2017 at 8:20:49 PM UTC+3, Alberto Crespo
>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thank you so much to everybody and especially to Mord!
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Using *opkg install zabbix-agent *on OpenWRT it works
>>>>>>>>>>>>>>> correctly now.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I will try to add zabbix-extra-wifi, zabbix-extra-network
>>>>>>>>>>>>>>> and zabbix-extra-mac.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Mord, it is available on opkg install on the new version?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thank you
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> El martes, 4 de abril de 2017, 12:19:16 (UTC-3), mord reneth
>>>>>>>>>>>>>>> escribió:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Simplest way is to install via opkg
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> # opkg update
>>>>>>>>>>>>>>>> # opkg install zabbix-agentd
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> The repo has agent 3.2.4 already there, so no need to
>>>>>>>>>>>>>>>> compile it yourself....
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Tuesday, April 4, 2017 at 6:11:09 PM UTC+3, Alberto
>>>>>>>>>>>>>>>> Crespo wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I dont know how to proceed to compile the zabbix agent in
>>>>>>>>>>>>>>>>> this link. https://github.com/openwrt/pa
>>>>>>>>>>>>>>>>> ckages/tree/master/admin/zabbix
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Could you please example me.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Sorry and thank you
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>> You received this message because you are subscribed to a
>>>>>>>>>>>>> topic in the Google Groups "OpenWISP" group.
>>>>>>>>>>>>> To unsubscribe from this topic, visit
>>>>>>>>>>>>> https://groups.google.com/d/topic/openwisp/DodaHOTJFCE/unsub
>>>>>>>>>>>>> scribe.
>>>>>>>>>>>>> To unsubscribe from this group and all its topics, send an
>>>>>>>>>>>>> email to [email protected].
>>>>>>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>> You received this message because you are subscribed to the
>>>>>>>>>> Google Groups "OpenWISP" group.
>>>>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>>>>>> send an email to [email protected].
>>>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>> You received this message because you are subscribed to the Google
>>>>>>>> Groups "OpenWISP" group.
>>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>>>> send an email to [email protected].
>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups "OpenWISP" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>> send an email to [email protected].
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>
>>>>>
>>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "OpenWISP" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>> --
> You received this message because you are subscribed to the Google Groups
> "OpenWISP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.