Ad Widget

Collapse

How to add a basic disk usage graph

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gxw
    Junior Member
    • Apr 2016
    • 4

    #1

    How to add a basic disk usage graph

    Hi, I look after around 100 servers mostly virtual, all linux.
    Until now I've had home grown scripts and graphs that show just what I need, mostly cpu, memory and disk utilisation, as well as some more adhoc stuff like throughput of apache and specific log files etc.
    My scripts are starting to be a chore to maintain so I've started to look at tools to do the job and someone suggested Zabbix.
    I installed it and configured an agent with the standard Linux OS Template but was disappointed to find it did not contain disk utilisation.
    Q1 How can I add basic disk utilisation (preferably as a graph and configurable so I can keep an eye on "/" and "/var/lib/mysql" separately)
    Q2 How can I aggregate the important information from different hosts into one graph (lets say apache throughput across 10 web servers). Everything I have found just graphs a single metric for a single host which is too cumbersome for my liking. I have found the stacking function but that is interactive and one-off and I need it to be saved so it keeps generating like that.
    Q3 How can I drag new graphs onto my dashboard. I tried adding graphs as Favourites but they come up as links instead of graphs. I would prefer the dashboard to contain all the favourite graphs (not links) so I can see everything at a glance.
    Anyone who has used something like Monitis before will understand what I'm after.
    Q4 How do I create my own graphs with my own metrics (e.g. graph the numeric result of a mysql command across 8 DB servers)
    Sorry if this is too much for one Thread - please let me know.
    Regards,
    GXW
  • gxw
    Junior Member
    • Apr 2016
    • 4

    #2
    Tldr

    Please can someone tell me (a Zabbix beginner) how I can add a disk utilisation graph for a Linux server?

    Comment

    • tchjts1
      Senior Member
      • May 2008
      • 1605

      #3
      If you attached the standard Zabbix template for OS Linux, part of that template has (low level) discovery rules that will automatically discover your Linux volumes and will automatically create graphs for exactly what you are asking about.

      To see if they are there, go to Monitoring --> Latest Data, select your host and see what is listed under the "Filesystems" header.

      If you see data there, then probably also Zabbix has already created graphs for you. Go to Monitoring --> Graphs and use the dropdown boxes to select the host. They are probably there.

      Comment

      • gxw
        Junior Member
        • Apr 2016
        • 4

        #4
        "No data found"

        Comment

        • gxw
          Junior Member
          • Apr 2016
          • 4

          #5
          Sorry, I just moused over that smiley and it said "angry". I'm not angry, just sad that I cannot get disk utilisation working and that tchjts1's suggestion did not work.
          I'm disappointed because I liked the look of Zabbix but it appears that it will not meet my most basic requirements.

          Comment

          • Xyue
            Member
            • Jan 2016
            • 93

            #6
            Hi,

            Perhaps you can try again on the linux os template. mine was working fine.
            Last edited by Xyue; 25-05-2016, 03:22.

            Comment

            • Sugarman
              Junior Member
              • Oct 2014
              • 22

              #7
              Xyue seconded. I run around 30 virtual debian servers, all have the standard debian zabbix agent installed and all of them report basic usage pointers (disk, memory, cpu, etc.). Never had a problem with them.

              What flavor of Linux do you run?

              Comment

              • tchjts1
                Senior Member
                • May 2008
                • 1605

                #8
                Originally posted by gxw
                Sorry, I just moused over that smiley and it said "angry". I'm not angry, just sad that I cannot get disk utilisation working and that tchjts1's suggestion did not work.
                I'm disappointed because I liked the look of Zabbix but it appears that it will not meet my most basic requirements.
                What you need to do is look at your Linux template and see if the discovery rules are part of it. See the below screenshots.

                The first screenshot shows there are 2 discovery rules in my Linux OS template.

                The second screenshot shows the 2 rules. The portion I have highlighted is the one that discovers the filesystems and then the "graph" I have highlighted is what automatically creates the graphs you are asking about.

                But since your "Latest Data" shows "No data", I suspect that you don't have this template attached to whatever host you are looking at, or the host is not reporting in properly. I would check your host and make certain that you actually have the OS Linux template assigned to it (or them).
                Attached Files

                Comment

                Working...