Ad Widget

Collapse

Display Graphs on outside page of Zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • matboy
    Member
    • May 2005
    • 35

    #1

    Display Graphs on outside page of Zabbix

    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
    Senior Member
    • Jun 2005
    • 664

    #2
    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.
    Unofficial Zabbix Developer

    Comment

    • matboy
      Member
      • May 2005
      • 35

      #3
      Originally posted by James Wells
      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 ?

      Comment

      • James Wells
        Senior Member
        • Jun 2005
        • 664

        #4
        Originally posted by matboy
        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.
        Unofficial Zabbix Developer

        Comment

        • mconigliaro
          Senior Member
          • Jun 2005
          • 116

          #5
          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).

          Comment

          • elkor
            Senior Member
            • Jul 2005
            • 299

            #6
            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.

            Comment

            • mconigliaro
              Senior Member
              • Jun 2005
              • 116

              #7
              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.

              Comment

              Working...