When I try to add a new item, I receive as answer "No login permissions.
I added the user to the API group and the API access is enabled.
What am I missing ?
I added the user to the API group and the API access is enabled.
What am I missing ?

arams_to_hash:240 parsed: {"groups"=>"none", "host"=>"ciao", "dns"=>"ciao.it"}
ptions=>{{:server=>#<ZbxCliServer:0x2ac02e3a7c80 @password="zabcon", @server=#<ZabbixAPI:0x2ac02e3a7c30 @application=#<ZbxAPI_Application:0x2ac02e3a77f8 @parent=#<ZabbixAPI:0x2ac02e3a7c30 ...>>, @minor=3, @password="zabcon", @id=8, @item=#<ZbxAPI_Item:0x2ac02e3a7898 @parent=#<ZabbixAPI:0x2ac02e3a7c30 ...>>, @usergroup=#<ZbxAPI_UserGroup:0x2ac02e3a7910 @parent=#<ZabbixAPI:0x2ac02e3a7c30 ...>>, @user_name="zabcon", @major=1, @history=#<ZbxAPI_History:0x2ac02e3a7780 @server=#<ZabbixAPI:0x2ac02e3a7c30 ...>>, @user=#<ZbxAPI_User:0x2ac02e3a7b68 @parent=#<ZabbixAPI:0x2ac02e3a7c30 ...>>, @trigger=#<ZbxAPI_Trigger:0x2ac02e3a77d0 @parent=#<ZabbixAPI:0x2ac02e3a7c30 ...>>, @hostgroup=#<ZbxAPI_HostGroup:0x2ac02e3a7820 @parent=#<ZabbixAPI:0x2ac02e3a7c30 ...>>, @url=#<URI::HTTP:0x2ac02e3a7938 URL:http://sangest/zabbix/api_jsonrpc.php>, @host=#<ZbxAPI_Host:0x2ac02e3a78c0 @parent=#<ZabbixAPI:0x2ac02e3a7c30 ...>>, @orig_url="http://sangest/zabbix", @auth="c453156ba06d1c2d0bd11104fb789273", @sysmap=#<ZbxAPI_Sysmap:0x2ac02e3a77a8 @parent=#<ZabbixAPI:0x2ac02e3a7c30 ...>>>, @user="zabcon", @server_url="http://sangest/zabbix", @debuglevel=9>}=>true}, :api_params=>{"groups"=>"none", "useip"=>0, "host"=>"ciao", "dns"=>"ciao.it"}, :helpproc=>#<Proc:0x00002ac02e1fd038@./libs/command_help.rb:64>}
Comment