init prometheus监控配置文件
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
groups:
|
||||
- name: tcp_port_down_rules
|
||||
rules:
|
||||
- alert: NIS Service Down
|
||||
expr: probe_success{port="111"} == 0
|
||||
for: 10s
|
||||
labels:
|
||||
severity: critical
|
||||
port: "111"
|
||||
annotations:
|
||||
summary: "主机 {{$labels.instance}} RPC 111端口不可达"
|
||||
description: "111(rpcbind/NIS)端口断开,NIS/NFS依赖异常,实例:{{$labels.instance}},端口:111"
|
||||
|
||||
- alert: NFS Service Down
|
||||
expr: probe_success{port="2049"} == 0
|
||||
for: 10s
|
||||
labels:
|
||||
severity: critical
|
||||
port: "2049"
|
||||
annotations:
|
||||
summary: "主机 {{$labels.instance}} NFS 2049端口不可达"
|
||||
description: "2049(NFS服务)端口断开,NFS挂载访问失败,实例:{{$labels.instance}},端口:2049"
|
||||
- alert: 389 Port Down
|
||||
expr: probe_success{port="389"} == 0
|
||||
for: 10s
|
||||
labels:
|
||||
severity: critical
|
||||
port: "389"
|
||||
annotations:
|
||||
summary: "主机 {{$labels.instance}} 认证 389端口不可达"
|
||||
Reference in New Issue
Block a user