Skip to content

Commit bd6419a

Browse files
authored
drop snmp non fc alerts (#1444)
1 parent 254dfb6 commit bd6419a

File tree

2 files changed

+0
-124
lines changed

2 files changed

+0
-124
lines changed

snmp-observ-lib/alerts.libsonnet

Lines changed: 0 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,6 @@ local xtd = import 'github.com/jsonnet-libs/xtd/main.libsonnet';
99
name: this.config.uid + '-fc-alerts',
1010
rules:
1111
[
12-
{
13-
alert: 'SNMPInterfaceFCerrors',
14-
expr: |||
15-
(%s) > 0
16-
|||
17-
% [
18-
this.signals.fiber.fcIfTxWaitCount.asRuleExpression(),
19-
],
20-
labels: {
21-
severity: 'warning',
22-
},
23-
annotations: {
24-
summary: 'Too many packets with errors (fcIfTxWaitCount) on the FC network interface.',
25-
description: |||
26-
Too many packets with errors (fcIfTxWaitCount) on {{ $labels.%s }}, FC interface {{ $labels.ifName }} ({{$labels.ifAlias}}) for extended period of time (15m).
27-
||| % [instanceLabel],
28-
},
29-
'for': '15m',
30-
keep_firing_for: '5m',
31-
},
3212
{
3313
alert: 'SNMPInterfaceFCerrors',
3414
expr: |||
@@ -49,66 +29,6 @@ local xtd = import 'github.com/jsonnet-libs/xtd/main.libsonnet';
4929
'for': '15m',
5030
keep_firing_for: '5m',
5131
},
52-
{
53-
alert: 'SNMPInterfaceFCerrors',
54-
expr: |||
55-
(%s) > 0
56-
|||
57-
% [
58-
this.signals.fiber.fcIfTxWtAvgBBCreditTransitionToZero.asRuleExpression(),
59-
],
60-
labels: {
61-
severity: 'warning',
62-
},
63-
annotations: {
64-
summary: 'Too many packets with errors (fcIfTxWtAvgBBCreditTransitionToZero) on the FC network interface.',
65-
description: |||
66-
Too many packets with errors (fcIfTxWtAvgBBCreditTransitionToZero) on {{ $labels.%s }}, FC interface {{ $labels.ifName }} ({{$labels.ifAlias}}) for extended period of time (15m).
67-
||| % [instanceLabel],
68-
},
69-
'for': '15m',
70-
keep_firing_for: '5m',
71-
},
72-
{
73-
alert: 'SNMPInterfaceFCerrors',
74-
expr: |||
75-
(%s) > 0
76-
|||
77-
% [
78-
this.signals.fiber.fcHCIfBBCreditTransistionFromZero.asRuleExpression(),
79-
],
80-
labels: {
81-
severity: 'warning',
82-
},
83-
annotations: {
84-
summary: 'Too many packets with errors (fcHCIfBBCreditTransistionFromZero) on the FC network interface.',
85-
description: |||
86-
Too many packets with errors (fcHCIfBBCreditTransistionFromZero) on {{ $labels.%s }}, FC interface {{ $labels.ifName }} ({{$labels.ifAlias}}) for extended period of time (15m).
87-
||| % [instanceLabel],
88-
},
89-
'for': '15m',
90-
keep_firing_for: '5m',
91-
},
92-
{
93-
alert: 'SNMPInterfaceFCerrors',
94-
expr: |||
95-
(%s) > 0
96-
|||
97-
% [
98-
this.signals.fiber.fcHCIfBBCreditTransistionToZero.asRuleExpression(),
99-
],
100-
labels: {
101-
severity: 'warning',
102-
},
103-
annotations: {
104-
summary: 'Too many packets with errors (fcHCIfBBCreditTransistionToZero) on the FC network interface.',
105-
description: |||
106-
Too many packets with errors (fcHCIfBBCreditTransistionToZero) on {{ $labels.%s }}, FC interface {{ $labels.ifName }} ({{$labels.ifAlias}}) for extended period of time (15m).
107-
||| % [instanceLabel],
108-
},
109-
'for': '15m',
110-
keep_firing_for: '5m',
111-
},
11232
{
11333
alert: 'SNMPInterfaceFCerrors',
11434
expr: |||

snmp-observ-lib/prometheus_rules_out/prometheus_alerts.yaml

Lines changed: 0 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)