Skip to content
Snippets Groups Projects
Commit 637506e8 authored by Pablo Carranza's avatar Pablo Carranza
Browse files

Simplify matching rules for nfs servers

parent 565d0ead
No related branches found
No related tags found
1 merge request!241Add alerts for fe workers and the rest of the NFS servers
ALERT GitNFSServerDown
IF min(up{fqdn=~"nfs-file[0-9]+.stor.gitlab.com"}) without (job) == 0
IF up{fqdn=~"nfs-file[0-9]+.stor.gitlab.com"} == 0
FOR 2m
LABELS {severity="critical", pager="pagerduty"}
ANNOTATIONS {
Loading
Loading
@@ -9,7 +9,7 @@ ALERT GitNFSServerDown
}
 
ALERT FileNFSServerDown
IF min(up{fqdn=~"nfs-(uploads|share|lfs|artifacts)[0-9]+.stor.gitlab.com"}) without (job) == 0
IF up{fqdn=~"nfs-(uploads|share|lfs|artifacts)[0-9]+.stor.gitlab.com"} == 0
FOR 2m
LABELS {severity="critical", pager="pagerduty"}
ANNOTATIONS {
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment