ZabbixSender
Zabbix Sender gem
Installation
Add this line to your application's Gemfile:
gem 'zabbix_sender_legacy'
And then execute:
$ bundle
Or install it yourself as:
$ gem install zabbix_sender_legacy
Usage
require "zabbix_sender_legacy"
sender = ZabbixSenderLegacy.from_config
//sender = ZabbixSenderLegacy.new(zabbix_host= "some-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/lehn-etracker/zabbix_sender_legacy.