Created
September 24, 2019 17:46
-
-
Save niftynei/283b6237d3a34d3c6e4b196c20d464c5 to your computer and use it in GitHub Desktop.
Alertmanager Config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
groups: | |
- name: c-lightning.rules | |
rules: | |
- alert: c_lightning_node_down | |
expr: lightning_node_info{job="lightningd"} == 0 | |
for: 1m | |
labels: | |
team: c-lightning | |
severity: urgent | |
annotations: | |
summary: 'c-lightning node is down' | |
description: | | |
c-lightning node is down. Wake up! | |
- alert: c_lightning_has_no_peers | |
expr: absent(lightning_peer_connected) == 1 | |
for: 1m | |
labels: | |
team: c-lightning | |
severity: urgent | |
annotations: | |
summary: 'c-lightning has no peers' | |
description: | | |
c-lightning node has no connections to other peers. You may want to look into why this is so (e.g. firewall problems, internet connectivity, etc.) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment