Compare commits
2 Commits
2f91b7cd75
...
e9414209f5
Author | SHA1 | Date | |
---|---|---|---|
e9414209f5 | |||
f99779e963 |
@ -24,3 +24,10 @@ groups:
|
|||||||
annotations:
|
annotations:
|
||||||
summary: "Storage for backup is nearly full"
|
summary: "Storage for backup is nearly full"
|
||||||
description: "Storage for backups is nearly full"
|
description: "Storage for backups is nearly full"
|
||||||
|
- alert: InstanceJustBooted
|
||||||
|
expr: time() - node_boot_time_seconds{job="node-exporter"} <= 300
|
||||||
|
labels:
|
||||||
|
severity: warning
|
||||||
|
annotations:
|
||||||
|
summary: "Uptime of {{ $labels.instance }} less than 5 min"
|
||||||
|
description: "{{ $labels.instance }} just booted"
|
||||||
|
@ -8,13 +8,4 @@ self: super: {
|
|||||||
wetter = self.python3.pkgs.callPackage ./wetter {
|
wetter = self.python3.pkgs.callPackage ./wetter {
|
||||||
inherit (self) pkgconfig libsass;
|
inherit (self) pkgconfig libsass;
|
||||||
};
|
};
|
||||||
# The current version in nixpkgs is b0rked, but no new release is made yet
|
|
||||||
prometheus-xmpp-alerts = super.prometheus-xmpp-alerts.overrideAttrs (oldAttrs: {
|
|
||||||
version = "master";
|
|
||||||
src = fetchGit {
|
|
||||||
url = "https://github.com/jelmer/prometheus-xmpp-alerts.git";
|
|
||||||
ref = "master";
|
|
||||||
rev = "0a48e172625de74b7c3ad3a1bd38f687601c207a";
|
|
||||||
};
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user