activerecord-zabbix
This is not a rails app.
Although some attempt may be
(later) made to facilitate this integrating seamlessly into one.
Quick Start
gem install activerecord-zabbix
require 'activerecord-zabbix'
CONFIG = {
:adapter => 'postgresql', # or whatever
:host => 'your.zabbix.db.server',
:database => 'zabbix',
:username => 'username',
:password => 'passrod'
}
Zabbix::connect( CONFIG )
Zabbix::Host.find_by_dns( 'monitored.server.com' ).items.each do |item|
#
# all monitored item(s) for the given host
#
puts item.inspect
end