pavlovdo / pystormon

Zabbix storage monitoring via CIM/WBEM
16 stars 8 forks source link

Failed sending data to server #24

Open Kynepok opened 1 year ago

Kynepok commented 1 year ago

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 commented 1 year ago

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

pavlovdo commented 1 year ago

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

Kynepok commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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