I am passing below to create value under macros for one server.
$json = {
jsonrpc=> '2.0',
method => 'usermacro.create',
params =>
{
hostid => '17750',
macro => '{$MY_IP}',
value => "$interface_ip"
},
auth => "$authID",
id => 1,
};
am getting the below error. The macro value is not getting updated.
$VAR1 = {
'jsonrpc' => '2.0',
'error' =>
,
'id' => 1
};
I have the superadmin user permission to my user for zabbix and i can read the macros but while creating or updating macro am getting above error.
HOW DO I FIX THIS ISSUE.
URGENT. PLEASE SOMEONE HELP.