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 Latest Data #7

Closed
ferdinandopaes opened this issue Aug 30, 2018 · 2 comments
Closed

No Latest Data #7

ferdinandopaes opened this issue Aug 30, 2018 · 2 comments

Comments

@ferdinandopaes
Copy link

Hi,

Recently I installed the extension and the zabbix-server just have received the datas from zabbix-agent. The another datas from zabbix-trapper didn't came.

screenshot from 2018-08-30 13-04-11

Executing manually the commands below, return ok or the indexes correctly.

/usr/bin/zabbix-agent-extension-elasticsearch --discovery --agg-group my-group --user None --password None
/usr/bin/zabbix-agent-extension-elasticsearch --zabbix my-zabbix-server --prefix None_pfx --user None --password None
/usr/bin/zabbix-agent-extension-elasticsearch --type indices --discovery --agg-group my-group --user None --password None
/usr/bin/zabbix-agent-extension-elasticsearch --type indices --zabbix my-zabbix-server --prefix None_pfx --agg-group my-group --user None --password None

I did another tests, sending data manually using zabbix-sender, for example:

zabbix_sender -z my-zabbix-server -s "my-elastic-server" -k elasticsearch.cluster_health.active_primary_shards -o 1

but the extension didn't send the datas.

What can doing wrong?

Sorry for my bad english.

@tears-of-noobs
Copy link
Contributor

@ferdinandopaes Hi
Does hostname on your machine correspond with the hostname in Zabbix server?
This extension doesn't use zabbix_sender utility. It sends data themselves and picks up the hostname from https://golang.org/pkg/os/#Hostname

@ferdinandopaes
Copy link
Author

Hi @tears-of-noobs ,

Yeah man, is that. It's work.
I didn't give attention to the hostname.

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