Sha256: fe112319af6d70085bcb333e84741822e3ba4c0ae83669f3192944e36d4d6175

Contents?: true

Size: 700 Bytes

Versions: 1

Compression:

Stored size: 700 Bytes

Contents

# Ruby Zabbix API Wrapper

## Zabbix server requirements
Zabbix Server version should be 2.2 or 2.4

## Installation
```
gem install zobbix
```

## Usage
```ruby
require 'zobbix'

zbx = Zobbix.connect(uri:      'http://localhost/zabbix',
                     user:     'Admin',
                     password: 'zabbix')

method = 'trigger.create'
params = {
  description: 'Name of the trigger',
  expression: 'Linux Template:system.cpu.util[all,idle,avg1].avg(120)}<5'
}

zbx.request(methods, params)
``` 

## Zabbix Server API

[API reference (2.2)](https://www.zabbix.com/documentation/2.2/manual/api/reference)

[API reference (2.4)](https://www.zabbix.com/documentation/2.4/manual/api/reference)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zobbix-0.0.1 README.md