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