Skip to content
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

No data after "connection restored" #142

Open
zenichev opened this issue Apr 6, 2018 · 4 comments
Open

No data after "connection restored" #142

zenichev opened this issue Apr 6, 2018 · 4 comments

Comments

@zenichev
Copy link

zenichev commented Apr 6, 2018

Hi community.

I experience a problem with "no data" after losing and restoring the connection to zabbix agent.

First, I see the error (server log):
"18651:20180406:161932.508 Zabbix agent item "kamailio.core.totalusers" on host "sip.domain.name" failed: first network error, wait for 15 seconds"

Then following row appears (usually in 5-10 seconds after error above):
"18655:20180406:161947.848 resuming Zabbix agent checks on host "sip.domain.name": connection restored"
There are no rows in agent's log when the this issue appears.

I don't ask about, why there are connections loss. I want to know why there is no data after connection is restored.

I have 10+ monitored servers in my network, all of them are monitored with z.agents.
Every day all of them (zabbix agents) are to be restarted (at night) and so that, zabbix server usually notices connections loss and mark hosts as unreachable, after z.agents get back they are marked with "connection restored", but there is no data after that (no data from all of the items, not only my custom user parameters, but others like proc.cpu.util etc).

Of course I can disable restarting of agents, but the same issue appears when the connection is lost by any other reason.

The only way to solve it - is to restart zabbix server (not agents).

I use debug lvl 5 to parse the logs, but cannot see any errors on the server, nor on the agents.
Any hints will be gladly accepted.

@xenadmin
Copy link

xenadmin commented Apr 6, 2018

I would say, this doesn't belong here, but in the Zabbix Forums. If you post it there, let me know!
Until then I would guess that Zabbix server marks your items as unsupported and doesn't refresh them as fast as you wish:
image

@zenichev
Copy link
Author

zenichev commented Apr 6, 2018

Actually is 1s:
screenshot from 2018-04-06 17-01-11

@xenadmin
Copy link

xenadmin commented Apr 6, 2018

Then my best hint would be, that this GitHub Repo is definitely the wrong place to ask for help. Zabbix has a Forum for that:
https://www.zabbix.com/forum/zabbix-troubleshooting-and-problems

@zenichev
Copy link
Author

zenichev commented Apr 6, 2018

@xenadmin You're absolutely right.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants