Ad Widget

Collapse

Multiple Hosts on a Single Graph Question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mrrob
    Junior Member
    • Apr 2016
    • 5

    #1

    Multiple Hosts on a Single Graph Question

    I work with a number of clients that have hundreds of windows servers. Right now, I simply go to the Hosts > Select Client > select Server > graphs > Add > Select Server > Select Graph, Done > Repeat 100 times.

    Now, this is obviously quite tedious when you are doing hundreds of servers, is there a better way in doing this? Maybe a known script for this?

    let me know if you need more clarification!

    Thanks.
  • kloczek
    Senior Member
    • Jun 2006
    • 1771

    #2
    You should be adding such graph over template(s) and templates are for not doing what you are doing now.

    Number of untemplated items, triggers, screens, graphs, LLDs should be reduced to absolute minimum (ideally none of the hosts should contain untemplated items etc).
    http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
    https://kloczek.wordpress.com/
    zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
    My zabbix templates https://github.com/kloczek/zabbix-templates

    Comment

    • mrrob
      Junior Member
      • Apr 2016
      • 5

      #3
      So going from Configuration > Hosts > Selecting my Windows Server > Graphs > Selecting (Ex: Terminal Session Template) > Clone Graph > Adding all my windows servers to this one clone graph

      Is the wrong way of doing things? Maybe I'm not understanding your response since I'm fairly new to Zabbix.

      Comment

      • kloczek
        Senior Member
        • Jun 2006
        • 1771

        #4
        Originally posted by mrrob
        So going from Configuration > Hosts > Selecting my Windows Server > Graphs > Selecting (Ex: Terminal Session Template) > Clone Graph > Adding all my windows servers to this one clone graph

        Is the wrong way of doing things? Maybe I'm not understanding your response since I'm fairly new to Zabbix.
        Let's say you need to add monitoring of base OS metrics.
        Using your way you will be not able to introduce any such change quickly because amount of time spend on any change will be proportional to number of hosts. I'm sure as well that now not every host with possibly the same metric has exactly the same setup (by for example typos).
        What you need to do is add on those hosts using exact template and after this introducing your changes only in template.
        Single such change will be automatically propagated to all host using template.
        The same is with hosts graphs, triggers, screens, webchecks ..
        In zabbix distribution you have base Windows monitoring template.
        Just add use this template on all you Windows hosts.
        On single host you can use multiple templates. One of those templates could be base OS monitoring. Another templates may monitor exact services working on exact host.
        If you deleted standard templates you can download and import them as set from https://www.zabbix.org/wiki/Zabbix_T...cial_Templates

        Whatever you are doing you should be doing only over templates ..
        http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
        https://kloczek.wordpress.com/
        zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
        My zabbix templates https://github.com/kloczek/zabbix-templates

        Comment

        • mrrob
          Junior Member
          • Apr 2016
          • 5

          #5
          Ok makes sense. I appreciate your help!

          Comment

          • gfoster
            Junior Member
            • Feb 2016
            • 5

            #6
            Completely agree. Once the template (internal check item + graph in my case) is completed, you can throw all your desired hosts against it quickly.

            Is graphing the same item value (from the template) across multiple hosts easily achieved in 2.4+ ?

            Comment

            Working...