PDA

View Full Version : Display Graphs on outside page of Zabbix


matboy
26-10-2005, 20:53
Has anyone any idea what the best way is to display graphs on an external page at the outside of zabbix ?

Just to display some graphs on a website that are monitored by zabbix.

James Wells
27-10-2005, 05:50
Greetings,

Not really sure if I understand what you are asking, but...

You could use an automates system to save the graphs to jpeg or gif and host it on the other server that way. Another option would be to use a simple perl, PHP, or asp script to pull the data directly from the zabbix database and generate the graph on the other server.

matboy
27-10-2005, 12:02
Greetings,

Not really sure if I understand what you are asking, but...

You could use an automates system to save the graphs to jpeg or gif and host it on the other server that way. Another option would be to use a simple perl, PHP, or asp script to pull the data directly from the zabbix database and generate the graph on the other server.

Yes indeed, this are two very good options. I think I will pull the data out from the Zabbix DB, that should be very good !

How is your DEV-machine doing ?

James Wells
27-10-2005, 16:22
How is your DEV-machine doing ?
Called em last night. They said that my machine is still going through the troubleshooting process and that it will be at least another week. AAARRRRGGGHHHH!!!

I finally broke down and tore one of my servers apart and am in the process of reloading it as a dev workstation. I will be using it until the (*&#(*$@ at the repair center get my system back to me. And ya know, the really messed up part of all this... When I bought the system, I got the 3 year extended warranty, at my wife's urging. The hardware issue one of those that I could fix in 5 minutes, if I could figure out how to open the damn case.

mconigliaro
27-10-2005, 16:30
im working on this very problem.

at the msp i work at, we need to present graphs to our customers, but for obvious reasons, cannot allow our customers to log into our zabbix server. im currently working on a customer portal using the seagull php framework and the jpgraph graphing library that allows customers to view graphs for their respective hosts. i just grab the raw data from the zabbix db to draw the graphs.

ill post a link to the demo site when its up (hopefully within the next couple weeks).

elkor
27-10-2005, 19:06
why reinvent the wheel? just use a php/perl/shell script to perform a wget to your zabbix server for the chart in question when your customer clicks a link. It's simple, quick, and you don't have to update it if you upgrade zabbix in the future.

mconigliaro
27-10-2005, 20:40
well, the portal will eventually do a lot more than just display zabbix graphs. my point is that since everything is stored in a database, you can slice and dice the output any way you want.