pystormon icon indicating copy to clipboard operation
pystormon copied to clipboard

Failed sending data to server

Open Kynepok opened this issue 2 years ago • 6 comments

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 avatar Mar 27 '23 13:03 Kynepok

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

Kynepok avatar Mar 27 '23 13:03 Kynepok

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

pavlovdo avatar Mar 27 '23 13:03 pavlovdo

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?

Kynepok avatar Mar 28 '23 04:03 Kynepok

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 ?

pavlovdo avatar Mar 28 '23 11:03 pavlovdo

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 avatar Mar 28 '23 11:03 Kynepok

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

Kynepok avatar Mar 28 '23 11:03 Kynepok