spec/localhost.rb in zabbixapi-0.5.1b12 vs spec/localhost.rb in zabbixapi-0.5.1b13
- old
+ new
@@ -1,7 +1,7 @@
#encoding: utf-8
-
+require 'rspec'
require 'zabbixapi'
# settings
api_url = 'http://zabbix/api_jsonrpc.php'
#api_url = 'http://zabbix/zabbix20/api_jsonrpc.php'
@@ -11,18 +11,18 @@
zbx = ZabbixApi.connect(
:url => api_url,
:user => api_login,
:password => api_password,
- :debug => false
+ :debug => true
)
hostgroup = "hostgroup______1"
template = "template______1"
application = "application_____1"
item = "item_____1"
host = "hostname____1"
-trigger = "trigger____1"
+trigger = "trigger____1" #TODO !saDSASDAS
user = "user____1"
user2 = "user____2"
usergroup = "SomeUserGroup"
graph = "graph___a"
mediatype = "somemediatype"