README.rdoc in zabbixapi-0.1.6.2 vs README.rdoc in zabbixapi-0.1.6.3
- old
+ new
@@ -18,11 +18,11 @@
host_options = {
"ip" => '127.0.0.1',
"dns" => 'my.example.com',
"host" => 'my.example.com',
"useip" => 1,
- "groups" => [get_group_id('some_group')]
+ "groups" => [zbx.get_group_id('some_group')]
}
if zbx.create_host(host_options)
puts zbx.get_host_id('my.example.com')
end
@@ -30,9 +30,11 @@
zbx = Zabbix::ZabbixApi.new('https://zabbix.example.com', 'login', 'password')
if zbx.add_group('some_group')
puts zbx.get_group_id('some_group')
end
+
+More see in spec please...
== Dependencies
* net/http
* net/https