pavlovdo / pystormon

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

FileNotFoundError devices.conf #6

Closed sacy80 closed 4 years ago

sacy80 commented 4 years ago

hi i have encounter this issue on crontab. image

but i run it on console it can run ./storage_discovery.py

pavlovdo commented 4 years ago

Hi

I fixed devices.conf path to absolute in last commit. Pull it and try again.

WBR, Denis

sacy80 commented 4 years ago

hi

thanks alot. it run now.

would like to check on zabbix host. have added the storage device. but which interface type to use? agent/snmp/ipmi/jxm? and the ip to point to?

pavlovdo commented 4 years ago

You should use Agent interface in zabbix host, and set IP - management IP-address of your storwize storage, where you connect for GUI management. By the way, this IP used in template only for ICMP monitoring of management interface. Data from sensors are mining and sending via zabbix trappers when run python scripts from cron, and IP of storages must be set in the devices.conf configuration file.