zabbixapi icon indicating copy to clipboard operation
zabbixapi copied to clipboard

ZabbixApi::ApiError: Zabbix API version: 5.0.11 is not supported by this version of zabbixapi from /usr/local/rvm/gems/ruby-3.0.0/gems/zabbixapi-4.2.0/lib/zabbixapi/client.rb:65:in `initialize'

Open ciscolive opened this issue 3 years ago • 1 comments

dear cloud you give some solutions, many thanks

root@cnsz-ifa-ipam:~|⇒ gem info zabbixapi

*** LOCAL GEMS ***

zabbixapi (4.2.0) Authors: Vasiliev D.V., Ivan Evtuhovich Homepage: https://github.com/express42/zabbixapi License: MIT Installed at: /usr/local/rvm/gems/ruby-3.0.0

Simple and lightweight ruby module for working with the Zabbix API

ciscolive avatar May 11 '21 06:05 ciscolive

You are using wrong version of zabbixapi. For 5.0 and 5.2 zabbix version this is the correct version of the gem.

root-expert avatar Jun 03 '21 21:06 root-expert