ZabbixSender
Zabbix Sender gem
Installation
Add this line to your application's Gemfile:
gem 'zabbix_sender'
And then execute:
$ bundle
Or install it yourself as:
$ gem install zabbix_sender
Usage
require "zabbix_sender"
sender = ZabbixSender.new(zabbix_host: "some-zabbix", zabbix_port: 10051)
sender.post("host", "key", "value")
#=> {"response"=>"success", "info"=>"processed: 1; failed: 0; total: 1; seconds spent: 0.000075"}
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/nownabe/zabbix_sender.