Project

zabx

0.0
No commit activity in last 3 years
No release in over 3 years
Zabbix api client written in ruby
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 0.9.0
~> 1.8.1
~> 2.1.5
 Project Readme

Zabx

Zabbix api client written in ruby.

Example

require 'zabx'

api_address = 'http://localhost/zabbix/api_jsonrpc.php'

api = Zabx::Api.new(api_address, :username => 'Admin', :password => 'zabbix')

api.apiinfo.version
api.event.get
api.user.create({
  :alias   => 'alias',
  :name    => 'name',
  :surname => 'surname',
  :passwd  => 'password',
  :usrgrps => [{
    :usrgrpid => "7"
  }]
})

License

MIT