Ad Widget

Collapse

Show zabbixgraphs in other websites

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bcnx
    Junior Member
    • Jan 2011
    • 19

    #1

    Show zabbixgraphs in other websites

    Hi all,

    after browsing the forums for almost on hour, I decided to mauke a topic out of it.
    I would like to show some Zabbix graphs or screens in an iframe of an intranet (PHP based - Joomla). What would be required to accomplish this? I would like to avoid to emulate login functionality and just define that certain pages are publicly available. I understand that autologon for a guest user is not an option because it requires at least one login.

    thx!

    Bart
  • angelhc
    Senior Member
    Zabbix Certified Specialist
    • Nov 2009
    • 226

    #2
    You can configure the "guest" user to access on read mode to the hostgroup where the graph is.
    The guest user is without passwd on the gui.
    I made it and its running on php apache server.
    Number of hosts 1600,Number of items +90k,Number of triggers +22k, Number of users +100, New values per second +1270

    http://zabbixes.wordpress.com/

    Comment

    • bcnx
      Junior Member
      • Jan 2011
      • 19

      #3
      It seems indeed that simple. Just tested it and it works perfect. My assumption was that you needed to also login as guest to see anything. Not so, which is great. Figuring out the correct URL to go straight away to a graph is a bid challenging, but not impossible.

      Thank you for this suggestion!


      B.

      Comment

      • angelhc
        Senior Member
        Zabbix Certified Specialist
        • Nov 2009
        • 226

        #4
        Hello,
        To get the correct url you only have to select the graph from monitoring-->graphs tab and right click--> copy url from image. After it you 've to paste the url on your web
        Number of hosts 1600,Number of items +90k,Number of triggers +22k, Number of users +100, New values per second +1270

        http://zabbixes.wordpress.com/

        Comment

        • munera
          Junior Member
          • Feb 2012
          • 2

          #5
          Security Issue

          The only problem with this approach is privacy. Exploring other files for hosts in the same host group is trivial; therefore, a security caveat.

          If you are looking for a method to show certain graphs to certain users this may not be the best (most secure) way... I'm stuck with Cacti while a find a solution for this... I love Zabbix's potential but right now it does not allow simple GUI granularity.

          If someone knows how to do this, please let everybody know. Thanks in advance.

          Comment

          Working...