Emergency

CPU graph shows 100% wherein reality its < 20%

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • CPU graph shows 100% wherein reality its < 20%

    Actual CPU usage was 20% and graph representing 100% utilisation. Can you please help to solve this. Is this a bug?.

    Some details =========
    docker installation
    version 1.3.0



  • #2
    can you try the following query for this graph and report if it is working better to you?
    Code:
     
     sum(rate(node_cpu{instance="$host", mode!="idle"}[$interval])) by (mode)* 100 / scalar(sum(rate(node_cpu{instance="$host"}[$interval]))) or sum(irate(node_cpu{instance="$host", mode!="idle"}[5m])) by (mode) * 100 / scalar(sum(irate(node_cpu{instance="$host"}[5m])))

    Comment


    • #3
      Thanks Mykola..I tried and it looks better than before (.i.e 50%). Still when I compare with other source of data (other monitoring tool & "sar") it is not matching.

      Comment


      • #4
        do you see the same iowait peak directly in prometheus?

        Code:
        https://PMM-SERVER-IP/prometheus/graph?g0.range_input=12h&g0.expr=+sum(rate(node_cpu%7Binstance%3D%22INSTANCE-NAME%22%2C+mode%3D%22iowait%22%7D%5B1m%5D))+by+(mode)&g0.tab=0
        be carefull, you need specify 1) PMM Server IP, 2) instance name in the URL and 3) time period on web page -- corectly

        Comment


        • #5
          Result is different using above link. Attached here-with screen-shots. Thanks
          Attached Files

          Comment

          Working...
          X