mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
service/nod-exporter: rename system unit check
This commit is contained in:
parent
d57a4be0e0
commit
ca2adbd999
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ in
|
||||||
description = "Uptime monster: {{$labels.host}} has been up for more than 30 days";
|
description = "Uptime monster: {{$labels.host}} has been up for more than 30 days";
|
||||||
};
|
};
|
||||||
# systemd
|
# systemd
|
||||||
systemd_crashed = {
|
systemd_unit_crashed = {
|
||||||
# ignore user services
|
# ignore user services
|
||||||
condition = ''node_systemd_unit_state{state="failed", name!~"user@\\d+.service"} == 1'';
|
condition = ''node_systemd_unit_state{state="failed", name!~"user@\\d+.service"} == 1'';
|
||||||
description = "Host SystemD service crashed (instance {{ $labels.instance }})";
|
description = "Host SystemD service crashed (instance {{ $labels.instance }})";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue