Hi All,
Hopefully someone may have seen this issue too. I've pulled the latest zbxapi ruby gem (version 0.1.398) and have changed the url and login credentials so it can test against my zabbix 1.8.13 server. It's running perfectly, right up until calling user.getid
[xxx@yyy /]$ ruby /usr/lib/ruby/gems/1.8/gems/zbxapi-0.1.398/./zbxapi.rb
..stuff cut..
Getting by username, admin, number should be seen
/usr/lib/ruby/gems/1.8/gems/zbxapi-0.1.398/./zbxapi.rb:323:in `do_request': ZbxAPI_ExceptionLoginPermission
from /usr/lib/ruby/gems/1.8/gems/zbxapi-0.1.398/api_classes/subclass_base.rb:49:in `do_request'
from /usr/lib/ruby/gems/1.8/gems/zbxapi-0.1.398/api_classes/user.rb:67:in `getid'
from /usr/lib/ruby/gems/1.8/gems/zbxapi-0.1.398/./zbxapi.rb:374
Searching the forum this may be an issue with the Zabbix API that was fixed in the 1.9.x series (http://www.zabbix.com/forum/archive/...p/t-20634.html) but there are no bug fixes listed.
So, what was/is the bug, and does this mean that the zbxapi ruby gem and zabcon is of no use to 1.8.n series users?
-Cheers Max.
Hopefully someone may have seen this issue too. I've pulled the latest zbxapi ruby gem (version 0.1.398) and have changed the url and login credentials so it can test against my zabbix 1.8.13 server. It's running perfectly, right up until calling user.getid
[xxx@yyy /]$ ruby /usr/lib/ruby/gems/1.8/gems/zbxapi-0.1.398/./zbxapi.rb
..stuff cut..
Getting by username, admin, number should be seen
/usr/lib/ruby/gems/1.8/gems/zbxapi-0.1.398/./zbxapi.rb:323:in `do_request': ZbxAPI_ExceptionLoginPermission
from /usr/lib/ruby/gems/1.8/gems/zbxapi-0.1.398/api_classes/subclass_base.rb:49:in `do_request'
from /usr/lib/ruby/gems/1.8/gems/zbxapi-0.1.398/api_classes/user.rb:67:in `getid'
from /usr/lib/ruby/gems/1.8/gems/zbxapi-0.1.398/./zbxapi.rb:374
Searching the forum this may be an issue with the Zabbix API that was fixed in the 1.9.x series (http://www.zabbix.com/forum/archive/...p/t-20634.html) but there are no bug fixes listed.
So, what was/is the bug, and does this mean that the zbxapi ruby gem and zabcon is of no use to 1.8.n series users?
-Cheers Max.
Comment