Hi All,
I've been getting to grips with the Zabbix API and am stuck at the final hurdle.
I have my php script polling our cloud hoster for the number of web hosts currently running. Zabbix then gets updated to reflect this. The problem lies in the screens we've grown so accustomed to using.
I've worked out how to find the resource id for standard graphs using something like this:
ZabbixAPI::fetch('graph','get',array('output'=>'ex tend','search'=>array('name'=>'Memory usage'),'filter'=>array('host'=>$hostname)));
And then from there it's simple to add the graph to a screen.
Is there a way to do something similar with 'Simple Graph'?
I'm starting to think they need to be specially created for each host and screen. If this is the case, could someone help with an example of a processor load simple graph?
Any help would be really appreciated,
Tom
I've been getting to grips with the Zabbix API and am stuck at the final hurdle.
I have my php script polling our cloud hoster for the number of web hosts currently running. Zabbix then gets updated to reflect this. The problem lies in the screens we've grown so accustomed to using.
I've worked out how to find the resource id for standard graphs using something like this:
ZabbixAPI::fetch('graph','get',array('output'=>'ex tend','search'=>array('name'=>'Memory usage'),'filter'=>array('host'=>$hostname)));
And then from there it's simple to add the graph to a screen.
Is there a way to do something similar with 'Simple Graph'?
I'm starting to think they need to be specially created for each host and screen. If this is the case, could someone help with an example of a processor load simple graph?
Any help would be really appreciated,
Tom