0.01
No release in over 3 years
Low commit activity in last 3 years
Zabbix Sender gem
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.10
>= 0
~> 10.0
>= 0
 Project Readme

ZabbixSender

Zabbix Sender gem

Gem Version

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.