{"id":443,"date":"2018-03-25T17:30:06","date_gmt":"2018-03-25T16:30:06","guid":{"rendered":"https:\/\/jeremyverda.net\/?p=443"},"modified":"2020-04-17T12:35:15","modified_gmt":"2020-04-17T11:35:15","slug":"zabbix-and-pure-storage-monitoring-v2","status":"publish","type":"post","link":"https:\/\/jeremyverda.net\/zabbix-and-pure-storage-monitoring-v2\/","title":{"rendered":"Zabbix and Pure Storage monitoring V2"},"content":{"rendered":"\n

At the end of 2017, I’ve shared a post talking about Zabbix and Pure Storage monitoring<\/a>. At this time we were using it as a POC. A few weeks later, we were so happy with the product that we decided to use it in production.<\/p>\n\n\n\n

So it was an opportunity to rewrite my monitoring script from scratch.
It’s now time to share it with you.
If you want more information about the purpose, the way I’ve made the integration, etc. don’t hesitate to read my previous post as the only modifications are the code and the type of information the script can gather from the array.<\/p>\n\n\n\n

Instead of writing a script for each part of the monitoring (volumes, array, disks,…), I’ve put everything in one file called “PureStorageMonitoring.py”.
The dependencies are still the same :
purestorage<\/a> and urllib3<\/a> libraries from Python and Python 3.x<\/p>\n\n\n\n

A complete list of datas and triggers that will be gathered by the script is available at the end of this post.<\/p>\n\n\n\n

Important note<\/strong><\/span> : This script has been tested with Zabbix 3.4.x and 4.0.x and Pure Storage 4.10.x and 5.1.x. I\u00a0cannot guarantee that it will work fine with any other version even if I made my best regarding this point. The template available is exported from Zabbix 4.0.x so you will have to delete some settings to import it in Zabbix 3.4.x don’t hesitate to contact me in case of trouble.<\/p>\n\n\n\n

Setup the proxy or server<\/h3>\n\n\n\n

To gather data, we need to make some works on the Zabbix Proxy or Zabbix Server.
<\/p>\n\n\n\n