Pragmatic-Source/zabby — Issue #4: Weird rubby cli return when using set
Author: laradji
Created: 2011-12-21 13:21:33+00:00
State: open

Zabby(Zabby::Runner) > set user "Nacer"
=> nil
Zabby(Zabby::Runner) >

Zabby(Zabby::Runner) > set password "UbberPassword"
=> "UbberPassword"
Zabby(Zabby::Runner) >

result :

Zabby(Zabby::Runner) > login
Zabby::AuthenticationError: Code: [-32602]. Message: [Invalid params.]. Data: [Login name or password is incorrect].
from /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/zabby-0.0.4/lib/zabby/connection.rb:122:in `query_zabbix_rpc'
from /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/zabby-0.0.4/lib/zabby/connection.rb:54:in `authenticate'
from /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/zabby-0.0.4/lib/zabby/connection.rb:34:in `login'
from /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/zabby-0.0.4/lib/zabby/runner.rb:110:in `login'
from (irb#1):11
Zabby(Zabby::Runner) >

PS : i use zabbix 1.9.6