File tree Expand file tree Collapse file tree
beokpdcovm01/files/prometheus/alerts.d
otgkit01vm01/files/prometheus/alerts.d Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 summary : " IDLE - {{ $labels.peer }}:AS{{ $labels.peer_as }} - {{ $labels.peer_desc }}"
1010
1111 - alert : Interface offline
12- expr : ifOperStatus{ifDescr!~".*LOCAL_MGMT", ifDescr!~".*NOMON", device_role!="switch"} != 1 and ifAdminStatus==1
12+ expr : >-
13+ (ifOperStatus{ifDescr!~".*LOCAL_MGMT", ifDescr!~".*NOMON", device_role!="switch"} != 1
14+ and on (job, instance, ifIndex) ifAdminStatus == 1)
15+ * on (job, instance, ifIndex) group_left (ifAlias) ifAlias
1316 for : 10m
17+ annotations :
18+ summary : >-
19+ {{ $labels.node_name }} interface {{ $labels.ifDescr }}{{ if $labels.ifAlias }}
20+ ({{ $labels.ifAlias }}){{ end }} is down
1421
1522 - alert : High CPU Usage
1623 expr : (avg by (node_name) (hrProcessorLoad)) > 75
Original file line number Diff line number Diff line change 99 summary : " IDLE - {{ $labels.peer }}:AS{{ $labels.peer_as }} - {{ $labels.peer_desc }}"
1010
1111 - alert : Interface offline
12- expr : ifOperStatus{ifDescr!~".*LOCAL_MGMT", ifDescr!~".*NOMON", device_role!="switch"} != 1 and ifAdminStatus==1
12+ expr : >-
13+ (ifOperStatus{ifDescr!~".*LOCAL_MGMT", ifDescr!~".*NOMON", device_role!="switch"} != 1
14+ and on (job, instance, ifIndex) ifAdminStatus == 1)
15+ * on (job, instance, ifIndex) group_left (ifAlias) ifAlias
1316 for : 10m
17+ annotations :
18+ summary : >-
19+ {{ $labels.node_name }} interface {{ $labels.ifDescr }}{{ if $labels.ifAlias }}
20+ ({{ $labels.ifAlias }}){{ end }} is down
1421
1522 - alert : High CPU Usage
1623 expr : (avg by (node_name) (hrProcessorLoad)) > 75
You can’t perform that action at this time.
0 commit comments