Created
May 29, 2015 02:24
-
-
Save matschaffer/365bc13af4ac04d0201c to your computer and use it in GitHub Desktop.
This file contains 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
ledgerclose: &default | |
image: stellar/atlas-alert | |
restart: always | |
log_driver: syslog | |
env_file: | |
- ./smtp.env | |
- ./base.env | |
environment: | |
DESCRIPTION: "Ledger close rate has dropped < 0.1/s on the following nodes:" | |
QUERY: "name,ledger.ledger.close,:eq,stat,1_min_rate,:eq,:and,:sum,(,node,),:by,:dup,0.1,:le,alert: $(node),:legend,:vspan,60,:alpha" | |
ledgerclosetest: | |
<<: *default | |
environment: | |
DESCRIPTION: "Ledger close rate has dropped < 0.34/s on the following nodes:" | |
QUERY: "name,ledger.ledger.close,:eq,stat,1_min_rate,:eq,:and,:sum,(,node,),:by,:dup,0.34,:le,alert: $(node),:legend,:vspan,60,:alpha" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment