Skip to content

Commit d266c6e

Browse files
author
Anthony Iheoma
committed
Fix config to correctly handle dynamic PPID and path
The previous eos process_started config had hardcoded values for PPID and the executable path.
1 parent 1778d79 commit d266c6e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

napalm_logs/config/eos/PROCESS_STARTED.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ messages:
77
values:
88
agent: ([\w-]+)
99
pid|int: (\d+)
10-
line: ": '{agent}' starting with PID={pid} (PPID=2030) -- execing '/usr/bin/Bgp'"
10+
ppid|int: (\d+)
11+
path: ([\w\:\-\/]+)
12+
line: ": '{agent}' starting with PID={pid} (PPID={ppid}) -- execing '{path}'"
1113
model: NO_MODEL
1214
mapping:
1315
variables:

0 commit comments

Comments
 (0)