Ad Widget

Collapse

Ruby zbxapi problem, zabbix 1.8.13, zbxapi 0.1.398

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • maxlock
    Member
    • Mar 2005
    • 32

    #1

    Ruby zbxapi problem, zabbix 1.8.13, zbxapi 0.1.398

    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.
    Last edited by maxlock; 30-08-2012, 15:30. Reason: typo
  • ashish4raj
    Junior Member
    • Jun 2015
    • 8

    #2
    Hi Can you please send me the process flow which you followed for Ruby zbxapi method @ [email protected] ?

    Awaiting a positive response from you.
    Thanks in advance.

    Comment

    Working...