1
0

Compare commits

..

No commits in common. "e9414209f59febab7b2537ebf86a86823c60926b" and "2f91b7cd75a5d473672e008835c79faa785672c5" have entirely different histories.

2 changed files with 9 additions and 7 deletions

View File

@ -24,10 +24,3 @@ groups:
annotations:
summary: "Storage for backup 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,4 +8,13 @@ self: super: {
wetter = self.python3.pkgs.callPackage ./wetter {
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";
};
});
}