Ad Widget

Collapse

Graphs tree

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vins
    Member
    • Feb 2009
    • 31

    #1

    Graphs tree

    There scenarios where a host has configured hundred (or thousand) of graphs. For example:

    - A switch with 48 ports: 48 graphs for traffic octets, another 48 graphs for traffic packets, another 48 more for errors, 48 more for discards, etc...
    - A loadbalancer with many, many services and contents

    There's no hierarchical graph model, so you click on the dropbox and you get hundred (or thousand) of graphs alphabetical sorted.

    I think it would be a great improvement to create a hierarchical tree for graphs
  • qix
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2006
    • 423

    #2
    You can filter on hostgroups and hosts, did you know?
    With kind regards,

    Raymond

    Comment

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

      #3
      One thing you can do, though it would be a fair amount of work would be to use the maps. First you will need to upload two custom images to Zabbix, the first is the switch, the second is a port on the switch of the exact size at the switch ports (this will be clear in a minute). Then you create a map with the switch as a "host". Because it is a "host" you can direct the user to whatever url you assign to the "host". Next you will create another "host" for a physical port, in this case the host will have the port image mentioned above and will be placed over the switch over the corresponding port. You will then want to set this port up to link to the appropriate screen. A dynamic screen would be useful here.

      Now, that's a lot of work to do manually. Alternatively you could use the api and tools like zabcon to simplify things for you.

      Either way this is not for someone who is afraid of scripting. :-)
      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

      • vins
        Member
        • Feb 2009
        • 31

        #4
        i love scripting, but out users don't

        when you define 300 graphs for an unique host and you click the dropdown listbox, ain't easy lookup the exact graph you want to see.

        in "Applications" you have tags such as "Memory", "Processes", "Availability", "Filesystem", "Performance", etc. thus, you can assign these tags to your items and you can filter items by 'em, but in graphs there are no tags! if you have a 48-port switch and you want graphs for Bytes, Packets, Errors, Discards per port, you get loads a graphs sorted alphabetically, with all "categories" mixed.

        Comment

        Working...