mirror of
				https://github.com/prometheus/node_exporter.git
				synced 2025-08-20 18:33:52 -07:00 
			
		
		
		
	docs/node-mixin: add alerts about failing RAID array
Signed-off-by: paulfantom <pawel@krupa.net.pl>
This commit is contained in:
		
							parent
							
								
									3b035c8fa1
								
							
						
					
					
						commit
						e4ec8e04c5
					
				| 
						 | 
				
			
			@ -248,6 +248,33 @@
 | 
			
		|||
              message: 'Clock on {{ $labels.instance }} is not synchronising. Ensure NTP is configured on this host.',
 | 
			
		||||
            },
 | 
			
		||||
          },
 | 
			
		||||
          {
 | 
			
		||||
            alert: 'NodeRAIDDegraded',
 | 
			
		||||
            expr: |||
 | 
			
		||||
              'node_md_disks_required - ignoring (state) (node_md_disks{state="active"}) > 0'
 | 
			
		||||
            ||| % $._config,
 | 
			
		||||
            'for': '15m',
 | 
			
		||||
            labels: {
 | 
			
		||||
              severity: 'critical',
 | 
			
		||||
            },
 | 
			
		||||
            annotations: {
 | 
			
		||||
              summary: 'RAID Array is degraded',
 | 
			
		||||
              description: 'RAID array '{{ $labels.device }}' on {{ $labels.instance }} is in degraded state due to one or more disks failures. Number of spare drives is insufficient to fix issue automatically.',
 | 
			
		||||
            },
 | 
			
		||||
          },
 | 
			
		||||
          {
 | 
			
		||||
            alert: 'NodeRAIDDiskFailure',
 | 
			
		||||
            expr: |||
 | 
			
		||||
              node_md_disks{state="fail"} > 0
 | 
			
		||||
            ||| % $._config,
 | 
			
		||||
            labels: {
 | 
			
		||||
              severity: 'warning',
 | 
			
		||||
            },
 | 
			
		||||
            annotations: {
 | 
			
		||||
              summary: 'Failed device in RAID array',
 | 
			
		||||
              description: 'At least one device in RAID array on {{ $labels.instance }} failed. Array '{{ $labels.device }}' needs attention and possibly a disk swap.',
 | 
			
		||||
            },
 | 
			
		||||
          },
 | 
			
		||||
        ],
 | 
			
		||||
      },
 | 
			
		||||
    ],
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue