rate of the past 48 hours.
- alert: CephNodeInconsistentMTU
- expr: node_network_mtu_bytes{device!="lo"} * (node_network_up{device!="lo"} > 0) != on() group_left() (quantile(0.5, node_network_mtu_bytes{device!="lo"}))
+ expr: |
+ node_network_mtu_bytes * (node_network_up{device!="lo"} > 0) ==
+ scalar(
+ max by (device) (node_network_mtu_bytes * (node_network_up{device!="lo"} > 0)) !=
+ quantile by (device) (.5, node_network_mtu_bytes * (node_network_up{device!="lo"} > 0))
+ )
+ or
+ node_network_mtu_bytes * (node_network_up{device!="lo"} > 0) ==
+ scalar(
+ min by (device) (node_network_mtu_bytes * (node_network_up{device!="lo"} > 0)) !=
+ quantile by (device) (.5, node_network_mtu_bytes * (node_network_up{device!="lo"} > 0))
+ )
labels:
severity: warning
type: ceph_default
summary: MTU settings across Ceph hosts are inconsistent
description: >
Node {{ $labels.instance }} has a different MTU size ({{ $value }})
- than the median value on device {{ $labels.device }}.
+ than the median of devices named {{ $labels.device }}.
- name: pools
rules: