Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions monitoring/ceph-mixin/prometheus_alerts.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -560,11 +560,11 @@
},
{
alert: 'CephNodeDiskspaceWarning',
expr: 'predict_linear(node_filesystem_free_bytes{device=~"/.*"}[2d], 3600 * 24 * 5) * on(cluster, instance) group_left(nodename) node_uname_info < 0',
expr: '(predict_linear(node_filesystem_free_bytes{device=~"/.*"}[2d], 3600 * 24 * 5) < 0 and (node_filesystem_free_bytes{device=~"/.*"} / node_filesystem_size_bytes{device=~"/.*"} < 0.2)) * on(cluster, instance) group_left(nodename) node_uname_info',
labels: { severity: 'warning', type: 'ceph_default', oid: '1.3.6.1.4.1.50495.1.2.1.8.4' },
annotations: {
summary: 'Host filesystem free space is getting low%(cluster)s' % $.MultiClusterSummary(),
description: 'Mountpoint {{ $labels.mountpoint }} on {{ $labels.nodename }} will be full in less than 5 days based on the 48 hour trailing fill rate.',
description: 'Mountpoint {{ $labels.mountpoint }} on {{ $labels.nodename }} will be full in less than 5 days based on the 48 hour trailing fill rate, and is currently over 80% full.',
},
},
{
Expand Down Expand Up @@ -756,7 +756,7 @@
{
alert: 'PrometheusJobMissing',
'for': '30s',
expr: 'absent(up{job="ceph"})',
expr: 'absent(up{job="rook-ceph-mgr"})',
labels: { severity: 'critical', type: 'ceph_default', oid: '1.3.6.1.4.1.50495.1.2.1.12.1' },
annotations: {
summary: 'The scrape job for Ceph is missing from Prometheus',
Expand Down
Loading