Warn when orphans packages are present
							parent
							
								
									e55bef009a
								
							
						
					
					
						commit
						c26294b0a5
					
				| 
						 | 
					@ -150,6 +150,14 @@ groups:
 | 
				
			||||||
    annotations:
 | 
					    annotations:
 | 
				
			||||||
      summary: "{{ $value }} paquet(s) APT sont inutile(s) sur {{ $labels.instance }}."
 | 
					      summary: "{{ $value }} paquet(s) APT sont inutile(s) sur {{ $labels.instance }}."
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  - alert: AptOrphans
 | 
				
			||||||
 | 
					    expr: apt_orphans > 0
 | 
				
			||||||
 | 
					    for: 5m
 | 
				
			||||||
 | 
					    labels:
 | 
				
			||||||
 | 
					      severity: warning
 | 
				
			||||||
 | 
					    annotations:
 | 
				
			||||||
 | 
					      summary: "{{ $value }} paquet(s) APT sont orphelin(s) sur {{ $labels.instance }}."
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # NTP (need NTP plugin in node)
 | 
					  # NTP (need NTP plugin in node)
 | 
				
			||||||
#  - alert: ntp_drifting
 | 
					#  - alert: ntp_drifting
 | 
				
			||||||
#    expr: node_ntp_drift_seconds > 0.05
 | 
					#    expr: node_ntp_drift_seconds > 0.05
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue