Add alert settings for router.

This commit is contained in:
Kazuhiro MUSASHI 2020-10-24 13:15:11 +09:00
parent f9f795e234
commit 291e369aba
1 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,21 @@
groups:
- name: snmp
rules:
- alert: NetworkInboundBandwidth
expr: ((delta(ifHCInOctets{ifName="bond0"}[10m]) * 8 * 100) / (600 * ifSpeed{ifName="bond0"})) * 100 > 80
for: 1m
labels:
severity: warning
annotations:
summary: "Network Bandwidth (inbound) exceeds 80%"
description: "Network Bandwidth (inbound) exceeds 80%"
- alert: NetworkOutboundBandwidth
expr: ((delta(ifHCOutOctets{ifName="bond0"}[10m]) * 8 * 100) / (600 * ifSpeed{ifName="bond0"})) * 100 > 80
for: 1m
labels:
severity: warning
annotations:
summary: "Network Bandwidth (outbound) exceeds 80%"
description: "Network Bandwidth (outbound) exceeds 80%"