Hi,
I'm trying to filter triggers by description to mass delete them in a second step.
Judging from the API I thought that something like this would work, but it doesn't
"params" => array(
"output" => "extend",
"selectFunctions" => "extend",
'expandDescription' => true,
'expandComment' => true,
'expandExpression' => true,
'host' => "Zabbix server",
'filter' => array(
'description' => 'Host name of zabbix_agentd was changed on Zabbix server'
),
),
);
Can anybody describe the correct syntax, please?
Thanks.
I'm trying to filter triggers by description to mass delete them in a second step.
Judging from the API I thought that something like this would work, but it doesn't
"params" => array(
"output" => "extend",
"selectFunctions" => "extend",
'expandDescription' => true,
'expandComment' => true,
'expandExpression' => true,
'host' => "Zabbix server",
'filter' => array(
'description' => 'Host name of zabbix_agentd was changed on Zabbix server'
),
),
);
Can anybody describe the correct syntax, please?
Thanks.