I'm trying to get Zabbix Problems by API for use on a dashboard. However when I try to run them I get the wrong data.
For example right now the Zabbix Dashboard says....
0 Disaster
18 High
7 Average
3 Warning
5 Information
0 Not Classified
When I run the below JSON Query I get...
0 Disaster
19 High
8 Average
3 Warning
3 Information
0 Not Classified
At the moment I am not the issue seems to be they aren't right and ignoring the only unacknowledged. Anyone able to help?
Cheers.
For example right now the Zabbix Dashboard says....
0 Disaster
18 High
7 Average
3 Warning
5 Information
0 Not Classified
When I run the below JSON Query I get...
0 Disaster
19 High
8 Average
3 Warning
3 Information
0 Not Classified
At the moment I am not the issue seems to be they aren't right and ignoring the only unacknowledged. Anyone able to help?
Cheers.
Code:
{
"jsonrpc": "2.0",
"method": "trigger.get",
"params": {
"countOutput": true,
"output": ["triggerid", "description", "priority", "select_severity"],
"filter": {
"value": 1,
"acknowledged": 0,
"priority": 5
},
"skipDependent": 1,
"monitored": 1,
"only_true": 1
},
"auth": "---",
"id": 1,
"jsonrpc": "2.0"
}
Comment