Ad Widget

Collapse

Is it possible to filter triggers by description with the API?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nicodvb
    Junior Member
    • Apr 2018
    • 7

    #1

    Is it possible to filter triggers by description with the API?

    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.
Working...