Skip to content

Commit 1d293d6

Browse files
committed
New message matcher on FAILED_ALLOCATING_PACKET_BUFFER notification
1 parent 2d76b03 commit 1d293d6

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
messages:
2+
- error: FAILED_ALLOCATING_PACKET_BUFFER
3+
tag: fpc0
4+
values: {}
5+
line: '(buf alloc) failed allocating packet buffer'
6+
model: NO_MODEL
7+
mapping:
8+
static: {}
9+
variables: {}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<7>Dec 10 00:00:01 some-switch fpc0 (buf alloc) failed allocating packet buffer
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"error": "FAILED_ALLOCATING_PACKET_BUFFER",
3+
"host": "some-switch",
4+
"ip": "127.0.0.1",
5+
"timestamp": 1639094401,
6+
"yang_message": {},
7+
"message_details": {
8+
"date": "Dec 10",
9+
"time": "00:00:01",
10+
"hostPrefix": null,
11+
"host": "some-switch",
12+
"tag": "fpc0",
13+
"pri": "7",
14+
"message": "(buf alloc) failed allocating packet buffer",
15+
"facility": 0,
16+
"severity": 7
17+
},
18+
"yang_model": "NO_MODEL",
19+
"os": "junos",
20+
"facility": 0,
21+
"severity": 7
22+
}

0 commit comments

Comments
 (0)