File tree Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,22 @@ groups:
104
104
annotations:
105
105
summary: Host network bond degraded (instance {{ $labels.instance }})
106
106
description: "Bond {{ $labels.master }} degraded on {{ $labels.instance }}"
107
+ {% endraw %}
107
108
109
+ {% if alertmanager_warn_network_bond_single_link | bool %}
110
+ {% raw %}
111
+ - alert: HostNetworkBondSingleLink
112
+ expr: node_bonding_slaves == 1
113
+ for: 2m
114
+ labels:
115
+ severity: warning
116
+ annotations:
117
+ summary: Host network bond with a single link (instance {{ $labels.instance }})
118
+ description: "Bond {{ $labels.master }} configured with a single link on {{ $labels.instance }}"
119
+ {% endraw %}
120
+ {% endif %}
121
+
122
+ {% raw %}
108
123
- alert: HostConntrackLimit
109
124
expr: node_nf_conntrack_entries / node_nf_conntrack_entries_limit > 0.8
110
125
for: 5m
Original file line number Diff line number Diff line change 8
8
# of free memory is lower than this value an alert will be triggered.
9
9
alertmanager_low_memory_threshold_gib : 5
10
10
11
+ # Whether to raise an alert if any network bond is configured with a single
12
+ # link. Change to false to disable this alert.
13
+ alertmanager_warn_network_bond_single_link : true
14
+
11
15
# ##############################################################################
12
16
# Exporter configuration
13
17
Original file line number Diff line number Diff line change
1
+ ---
2
+ features :
3
+ - |
4
+ Adds a new Prometheus alert ``HostNetworkBondSingleLink`` which will be
5
+ raised when a bond is configured with only one member. This can happen when
6
+ NetworkManager detects that a bond member is down at boot time. This alert
7
+ can be disabled by setting ``alertmanager_warn_network_bond_single_link``
8
+ to ``false``.
You can’t perform that action at this time.
0 commit comments