1
0

Compare commits

..

2 Commits

2 changed files with 7 additions and 9 deletions

View File

@ -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"

View File

@ -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";
};
});
} }