Sha256: 7aeb296ac86d104cc111d8a268f8a8478ed72b15dc45f9ba2a1ab6eb64be5327

Contents?: true

Size: 842 Bytes

Versions: 11

Compression:

Stored size: 842 Bytes

Contents

= Ruby Zabbix Api Module.

Simple and lightweight ruby module for work with zabbix api version 1.8.x

You can:
* Create host/template/application/items/triggers and screens;
* Get info about all zabbix essences;

== Installation

    gem install zabbixapi

== Get Start.

* Get hostid from zabbix api:

    zbx = Zabbix::ZabbixApi.new('https://zabbix.example.com', 'login', 'password')
    hostid = zbx.get_host_id('my.example.com')

    p hostid

== Dependencies

* net/http
* net/https
* json

== Use examples

* zabbix_la - LoadAverage template

    cd examples
    ruby zabbix_la -E development -g Templates

* -E - env from examples/config.yml (like RAILS_ENV)
* -g - group in zabbix for templates

== Zabbix documentation

* Zabbix Project Homepage -> http://zabbix.com/
* Zabbix Api docs -> http://www.zabbix.com/documentation/1.8/api

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
zabbixapi-0.1.6 README.rdoc
zabbixapi-0.1.5b README.rdoc
zabbixapi-0.1.5a6 README.rdoc
zabbixapi-0.1.5a5 README.rdoc
zabbixapi-0.1.5a4 README.rdoc
zabbixapi-0.1.5a3 README.rdoc
zabbixapi-0.1.5a2 README.rdoc
zabbixapi-0.1.5a1 README.rdoc
iteh-zabbixapi-0.2.4 README.rdoc
iteh-zabbixapi-0.2.3 README.rdoc
iteh-zabbixapi-0.2.2 README.rdoc