Skip to content

Commit 54e7ea5

Browse files
authored
Merge pull request #379 from criteo-forks/fix-eos-process-started-config
Fix config to correctly handle dynamic PPID and path
2 parents 71ca4d6 + d266c6e commit 54e7ea5

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)