Hi,
I'm struggling with API. I need to retrieve via API, the same list of Problem's Tab in the Dashboard.

I setup Dashboard Problem's TAB to show me only lasr 25 Recent problem.

I tried with trigger.get method with this filter:
But this request return me also trigger on Disable Host that are not shown in Problem's TAB on Dashboard.
I need some help or suggestion on how filter trigger.get in order to achieve this request.
Many Thanks in advance.
Marco
I'm struggling with API. I need to retrieve via API, the same list of Problem's Tab in the Dashboard.
I setup Dashboard Problem's TAB to show me only lasr 25 Recent problem.
I tried with trigger.get method with this filter:
Code:
{
"jsonrpc": "2.0",
"method": "trigger.get",
"params": {
"output": "extend",
"selectTriggers": "extend",
"expandDescription": 1,
"filter": {
"value": 1,
"status": 0
},
"sortfield": "priority",
"sortorder": "DESC"
},
"id": 2,
"auth": "{{token}}"
}
I need some help or suggestion on how filter trigger.get in order to achieve this request.
Many Thanks in advance.
Marco
Comment