express42 / zabbixapi

Ruby wrapper to Zabbix API
MIT License
131 stars 128 forks source link

Extend this gem for zabbix api v 3.4 #81

Closed glafir closed 5 years ago

glafir commented 7 years ago

When we can get zabbixapi for Zabbix 3.4 ?

glafir commented 7 years ago

Temporatory deside is: Find in {Path-to-gem}/lib/zabbixapi/client.rb unless api_version =~ /(2\.4|3\.[02])\.\d+/ Change to unless api_version =~ /(2\.4|3\.[024])\.\d+/ Then it work!

tophercullen commented 6 years ago

Second this. Zabbix 3.2 is technically 'unsupported'

oscar-vlugt commented 6 years ago

Second this, at this point it conflicts with puppet template deployment because zabbixapi 3.4 isn't supported. As 3.2 is unsupported, it immediately sets us back to 3.0 as that is a LTS version.

ottok commented 6 years ago

While waiting for the fix to land on upstream you can put in your Gemfile: gem 'zabbixapi', :git => 'https://github.com/Seravo/zabbixapi.git', :branch => 'v3.1.0-fixed'

Pull request open at: https://github.com/express42/zabbixapi/pull/85