Ad Widget

Collapse

Bar Graphs

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ricamz
    Junior Member
    • May 2010
    • 15

    #1

    Bar Graphs

    Hi all.

    Apart from bar reports I would like to have bar graphs to be shown on a screen and to be updated dynamically.

    Is that possible?

    Regards,

    Ricardo
  • tighep
    Senior Member
    • Dec 2007
    • 124

    #2
    I had this working on 1.6, I customized it myself but I've had no luck on the 1.8 code. If someone wants to provide a bit of help, I can provide my current modifications.

    Comment

    • tighep
      Senior Member
      • Dec 2007
      • 124

      #3
      I spoke too soon, I decided to look at it again last night, after taking a couple of weeks away from it. And I have it working again. It's a hack for sure, I'm no expert PHP programmer. But if *I* can get it working, maybe someone can take these changes and clean them up and get them into production.

      Comment

      • Aly
        ZABBIX developer
        • May 2007
        • 1126

        #4
        You may create a patch and post it in a proper thread, we always check interesting improvements.
        Zabbix | ex GUI developer

        Comment

        • tighep
          Senior Member
          • Dec 2007
          • 124

          #5
          I'd be happy to post a patch, but it's truly a hack, and there are certain "features" that I'd need to cleanup first. Heck, I'm not sure even HOW to create a patch.

          Comment

          • nelsonab
            Senior Member
            Zabbix Certified SpecialistZabbix Certified Professional
            • Sep 2006
            • 1233

            #6
            Even if you cannot figure out how to create the patch post up the files you changed and what version you used as your base, then someone else can take that and create a patch.
            RHCE, author of zbxapi
            Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
            Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

            Comment

            • tighep
              Senior Member
              • Dec 2007
              • 124

              #7
              That I can do, like I said before, there are issues with it for sure, but they are minor. Here's two screen shots to see what they look like.

              There are 2 types, one has hard coded color changes, from green to yellow to red at 75% and 95%. I use this for file system monitors. The other is a solid bar with color pickable from the item pop up screen.
              Attached Files

              Comment

              Working...