Uploaded image for project: 'OpenShift Logging'
  1. OpenShift Logging
  2. LOG-5645

DiskBufferUsage alert expr should >15 rather than >0.15

XMLWordPrintable

    • False
    • None
    • False
    • NEW
    • NEW
    • Bug Fix

      Description of problem:

      The alert DiskBufferUsage expr is not correct. it should be x*100>15  or x>0.15. 

      By the way, can we round the ${{value}}% to the nearest hundredth in the message? 
      

       

          - alert: DiskBufferUsage
            annotations:
              message: 'Collectors potentially consuming too much node disk, {{ $value }}% '
              summary: Detected consuming too much node disk on $labels.hostname host
            expr: "(label_replace(sum by(hostname) (vector_buffer_byte_size{component_kind='sink',
              buffer_type='disk'}), 'instance', '$1', 'hostname', '(.*)') \n/ on(instance)
              group_left() sum by(instance) (node_filesystem_size_bytes{mountpoint='/var'}))
              * 100  > 0.15\n"  

       

      Version-Release number of selected component (if applicable):

      5.9.3

      How reproducible:

      always

      Steps to Reproduce:

      1.  
      2.  
      3. ...

      Actual results:

      Expected results:

      Additional info:

            vparfono Vitalii Parfonov
            rhn-support-anli Anping Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: