-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Agent can't collect metrics #135
Comments
If you cannot even get container status by
try add It helped me on Debian 10, with same error message |
Already done that before, forgot to mention. :(
Em qua., 29 de jan. de 2020 às 12:45, Gregg <[email protected]>
escreveu:
… If you cannot even get container status by
zabbix-server# zabbix_get -s $DOCKER_HOST -p 10050 -k
docker.up[/$CONTAINERID]
try add zabbix user to docker group or set AllowRoot=1 in
zabbix_agentd.conf and check SELinux permissions
https://github.com/monitoringartist/Zabbix-Docker-Monitoring#additional-docker-permissions
It helped me on Debian 10, with same error message
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#135?email_source=notifications&email_token=AD6LSPUFNZYM4TFPJ5CFXFLRAGJBZA5CNFSM4KMZIYM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKHNZZI#issuecomment-579788005>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD6LSPQ7NPVXS35ONCX6ZOLRAGJBZANCNFSM4KMZIYMQ>
.
|
Please check startup logs. Module is trying to detect proper cgroups pseudofilesystem location there. It may log some issues there. |
sorry for the late answer, agent startup logs? apparently normal:
|
You need to increase debug level - https://github.com/monitoringartist/zabbix-docker-monitoring#troubleshooting |
Ok, let me know if this is enough:
|
https://github.com/monitoringartist/zabbix-docker-monitoring#additional-docker-permissions |
Ouch, sorry about that, after putting zabbix user in docker group (allowroot was already in the conf) it started collecting, but not for long (I've already done the SEmodule too):
After this I cleaned the host in zabbix (unlink & clear) and reassociated, but the error persists.
|
Did you compile module against your Zabbix agent version https://github.com/monitoringartist/zabbix-docker-monitoring#compilation ? |
Yes, but will do it again, later i'll post the results.
Em qua., 5 de fev. de 2020 às 11:14, Jan Garaj <[email protected]>
escreveu:
… Did you compile module against your Zabbix agent version
https://github.com/monitoringartist/zabbix-docker-monitoring#compilation ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#135?email_source=notifications&email_token=AD6LSPWS6MFZGR2JPOUSY5TRBK3U5A5CNFSM4KMZIYM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEK3L34Y#issuecomment-582401523>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD6LSPV3NRXPXDOO4YEK77TRBK3U5ANCNFSM4KMZIYMQ>
.
|
cant build on 4.4.5 sources:
|
@pedropilla, is this issue still happening? Have you tried the latest module version? |
I'm running server 4.4.0, have built this agent on 4.4.0 sources successfully (CentOS host), ran the agent and imported template, discovery ran OK but all metrics are not supported.
On agent log I get:
And the files are there:
If there's something more that I can provide please tell me.
Thanks.
The text was updated successfully, but these errors were encountered: