aklyuk / zabbix-ibm-storwize

Python script for monitoring IBM Storwize storages
15 stars 20 forks source link

Trigger - HOST.NAME} -> Error sending metrics to zabbix after configuration #15

Open kevinmagni opened 1 year ago

kevinmagni commented 1 year ago

Hi, I have set up monitoring through the Zabbix server as described in your guide. Here are the steps I followed:

  1. I created the host on Zabbix with the three macros mentioned.
  2. I created the user with monitoring privileges on the IBM storage.
  3. I set the parameter ServerActive to the Zabbix server's address (is this correct?) and restarted the agent.
  4. I tried the --discovery command on the server, which gave me zero output, indicating success.
  5. I ran the command zabbix_server -R config_cache_reload.
  6. I ran the --status command, which gave me an output of 1, revealing the problem with the trigger in question.

By the way, I noticed that in the Zabbix GUI under Latest Data, I am able to see all the probes with their respective pool and disk names, but no values are being displayed...... :(

I have also used the latest commit of Wolverine - Merged from all forks #9 with Python 3, but unfortunately, I am still getting the same error. The Zabbix server is able to connect via SSH to the IBM storage without any issues. The Zabbix user is able to read the script and write logs to the /tmp directory. The script also creates two tmp files with the name of the storage, but the data is still not being sent to Zabbix

According to the trigger, in my case, the script is unable to send the metrics to Zabbix. Could you please help me resolve this issue? Thanks :)