Ruby Zabbix Api Module
Simple and lightweight ruby module for working with Zabbix via the Zabbix API
Installation
# latest
gem install zabbixapi
# specific version
gem install zabbixapi -v 4.2.0
Documentation
http://rdoc.info/gems/zabbixapi
Examples
https://github.com/express42/zabbixapi/tree/master/examples
Version Policy
NOTE: master
branch is used for ongoing development on Zabbix API 5.x (5.0 and 5.2).
We support only two last versions of zabbix (5.0 and 5.2), so you should consider all previous versions deprecated.
- Zabbix 1.8.2 (api version 1.2) | zabbixapi 0.6.x | branch zabbix1.8
- Zabbix 1.8.9 (api version 1.3) | zabbixapi 0.6.x | branch zabbix1.8
- Zabbix 2.0.x (api version 1.4 -> 2.0.10) | zabbixapi 2.0.x | branch zabbix2.0
- Zabbix 2.2.x (api version 2.2.x) | zabbixapi 2.2.x | branch zabbix2.2
- Zabbix 2.4.x (api version 2.2.x) | zabbixapi 2.4.x | branch zabbix2.4
- Zabbix 3.0.x (api version 3.0.x) | zabbixapi 3.0.x | branch zabbix3.0
- Zabbix 3.2.x (api version 3.2.x) | zabbixapi 3.2.x | branch zabbix3.2
- Zabbix 4.0.x (api version 4.0.x) | zabbixapi 4.1.x | branch zabbix4.0
- Zabbix 4.2.x (api version 4.2.x) | zabbixapi 4.1.x | branch zabbix4.0
- Zabbix 4.4.x (api version 4.4.x) | zabbixapi 4.2.x | branch zabbix4.2
Supported Ruby Versions
This library aims to support and is tested against the following Ruby versions:
- Ruby 2.5
- Ruby 2.6
- Ruby 2.7
- JRuby 9.2.10.0
If something doesn't work on one of these versions, it's a bug.
This library may inadvertently work (or seem to work) on other Ruby versions, however support will only be provided for the versions listed above.
If you would like this library to support another Ruby version or implementation, you may volunteer to be a maintainer. Being a maintainer entails making sure all tests run and pass on that implementation. When something breaks on your implementation, you will be responsible for providing patches in a timely fashion. If critical issues for a particular implementation exist at the time of a major release, support for that Ruby version may be dropped.
Dependencies
- net/http
- json
Contributing
- Fork the project.
- Base your work on the master branch.
- Make your feature addition or bug fix, write tests, write documentation/examples.
- Commit, do not mess with rakefile, version.
- Make a pull request.
Zabbix documentation
Copyright
- Copyright (c) 2021 contributors
- Copyright (c) 2015-2018 Express 42 and contributors
See LICENSE for details.