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

Failed sending data to server #24

Open
Kynepok opened this issue Mar 27, 2023 · 6 comments
Open

Failed sending data to server #24

Kynepok opened this issue Mar 27, 2023 · 6 comments

Comments

@Kynepok
Copy link

Kynepok commented Mar 27, 2023

Got 2 similiar hosts, aka storwize 5010 and 5030, in same network, with the same credentials. using zabbix proxy, to monitor them. After running script ./storage_object_status, i got data from both of them, but , 5030 sending data like this :
image
and 5010 sending data like this:
image
so, if i got data in last values in zabbix from 5030, from 5010 i got nothing.

@Kynepok
Copy link
Author

Kynepok commented Mar 27, 2023

so sorry, my internet is broken, and it,s duplicating posts :((

@pavlovdo
Copy link
Owner

Probably you create host 5010 in zabbix with hostname that different from hostname in devices.conf (paragraph 10 from readme).

@Kynepok
Copy link
Author

Kynepok commented Mar 28, 2023

Probably you create host 5010 in zabbix with hostname that different from hostname in devices.conf (paragraph 10 from readme).

i've checked it several times, for each hostname in devices.conf, they are similiar to the names in zabbix.
maybe there can be another trouble, that can cause this?

@pavlovdo
Copy link
Owner

pystormon scripts send data to zabbix trappers running on zabbix server (or zabbix proxy) host.
Is zabbix trappers running on your zabbix proxy ?
Did you import template pystormon, create host for storage and link host with template on your zabbix server ?
Could you send test data via zabbix_sender (Zabbix sender utility) from host where run pystormon scripts to zabbix server or zabbix proxy (zabbix_server from pystormon.conf) and view this data ?

@Kynepok
Copy link
Author

Kynepok commented Mar 28, 2023

pystormon scripts send data to zabbix trappers running on zabbix server (or zabbix proxy) host. Is zabbix trappers running on your zabbix proxy ? Did you import template pystormon, create host for storage and link host with template on your zabbix server ? Could you send test data via zabbix_sender (Zabbix sender utility) from host where run pystormon scripts to zabbix server or zabbix proxy (zabbix_server from pystormon.conf) and view this data ?

Yes, template is imported on server, hosts are created too. Pystormon script is running on my zabbix proxy, so, zabbix_sender is working, cause i can see "last values" on my zabbix server, but the information is not full, cause its too many "failed" items, when proxy is trying to send data to server, as you can see on my first screenshot.

@Kynepok
Copy link
Author

Kynepok commented Mar 28, 2023

what i should set in pystormon.conf in "zabbix_server" string? ip addres of my server, or of my proxy, where pystormon script is running
conf

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