monitoring: improve summary
This commit is contained in:
parent
1462c96284
commit
0c29d4c6fc
2 changed files with 5 additions and 8 deletions
|
@ -158,7 +158,7 @@ in
|
||||||
severity = "critical";
|
severity = "critical";
|
||||||
};
|
};
|
||||||
annotations = {
|
annotations = {
|
||||||
summary = "Job {{ $labels.job }} down for 1m.";
|
summary = "Instance {{ $labels.instance }} of {{ $labels.job }} is down.";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
@ -132,8 +132,7 @@ in
|
||||||
severity = "critical";
|
severity = "critical";
|
||||||
};
|
};
|
||||||
annotations = {
|
annotations = {
|
||||||
summary = "Systemd has failed units on {{ $labels.instance }}";
|
summary = "{{ $labels.job }} failed on {{ $labels.instance }}.";
|
||||||
description = "There are {{ $value }} failed units on {{ $labels.instance }}. Immediate attention required!";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
@ -144,7 +143,7 @@ in
|
||||||
severity = "warning";
|
severity = "warning";
|
||||||
};
|
};
|
||||||
annotations = {
|
annotations = {
|
||||||
summary = "High load average detected on {{ $labels.instance }}";
|
summary = "High load average on {{ $labels.instance }}.";
|
||||||
description = "The 1-minute load average ({{ $value }}) exceeds 80% the number of CPUs.";
|
description = "The 1-minute load average ({{ $value }}) exceeds 80% the number of CPUs.";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -167,7 +166,7 @@ in
|
||||||
severity = "warning";
|
severity = "warning";
|
||||||
};
|
};
|
||||||
annotations = {
|
annotations = {
|
||||||
summary = "High disk usage on {{ $labels.instance }}";
|
summary = "Disk usage exceeeds 85% on {{ $labels.instance }}";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
@ -180,7 +179,6 @@ in
|
||||||
};
|
};
|
||||||
annotations = {
|
annotations = {
|
||||||
summary = "Disk usage will exceed 95% in 12 hours on {{ $labels.instance }}";
|
summary = "Disk usage will exceed 95% in 12 hours on {{ $labels.instance }}";
|
||||||
description = "Disk {{ $labels.mountpoint }} is predicted to exceed 92% usage within 12 hours at current growth rate";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
@ -191,8 +189,7 @@ in
|
||||||
severity = "warning";
|
severity = "warning";
|
||||||
};
|
};
|
||||||
annotations = {
|
annotations = {
|
||||||
summary = "High swap usage on {{ $labels.instance }}";
|
summary = "Swap usage above 80% on {{ $labels.instance }}";
|
||||||
description = "Swap usage is above 80% for 5 minutes\n Current value: {{ $value }}%";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue