trying to create host by api
$json = {
jsonrpc => '2.0',
method => 'host.create',
params => {
host => 'test_from_api',
output => 'extend',
interfaces =>
,
groups =>
,
},
auth => "$authID",
id => '21',
};
all ok.. but if change groupid to 11 or 12 or 23 or 34 etc.. (2 digits)
have this answer
"code":-32500,"message":"Application error.","data":"No permissions to referred object or it does not exist!"
- duplicates
-
ZBX-6018 API host.update bug when using doubledigit groupid
- Closed