Hello,
I'm doing some work in PHP to get datas from zabbix via API.
Actually, I've a problem with only one method, the "trigger.get".
Here's my code :
I get every triggers and I count them, but my problem is that I need to group those triggers BY host, so, if I've 5 alerts but only with 2 hosts, simply shows 2 instead of 5 :/
Any help ?
Thanks
I'm doing some work in PHP to get datas from zabbix via API.
Actually, I've a problem with only one method, the "trigger.get".
Here's my code :
hostProblem2 : {
get : function() {
var method = "trigger.get";
var params = {
"output" : "",
"monitored" : true,
"skipDependent" : true,
"filter" : {
"value" : "1",
},
"limitSelects" : 10000,
"countOutput" : true,
"limit" : "10000"
};
get : function() {
var method = "trigger.get";
var params = {
"output" : "",
"monitored" : true,
"skipDependent" : true,
"filter" : {
"value" : "1",
},
"limitSelects" : 10000,
"countOutput" : true,
"limit" : "10000"
};
Any help ?
Thanks