Fix regex and process name (#16647)
### Why I did it ### How I did it Fix regex such that dhcp bind failure event is detected as well as process name since dhcp relay processes that need to be detected are dhcprelay6 and dhcrelay. #### How to verify it Manual testing and nightly test event
This commit is contained in:
parent
9068bd986b
commit
d89dde3b6d
@ -6,7 +6,7 @@
|
||||
},
|
||||
{
|
||||
"tag": "dhcp-relay-bind-failure",
|
||||
"regex": "Failed to bind socket to (link local|global) ipv6 address on interface ([a-zA-Z0-9]*)",
|
||||
"params": [ "type:ret=(arg==\"link local\")and\"local\"or\"global\")", "vlan" ]
|
||||
"regex": ".*Failed to bind socket to (link local|global) ipv6 address on interface ([a-zA-Z0-9]*).*",
|
||||
"params": [ "type:ret=(arg==\"link local\")and\"local\"or\"global\"", "vlan" ]
|
||||
}
|
||||
]
|
||||
|
@ -2,7 +2,7 @@
|
||||
"yang_module": "sonic-events-dhcp-relay",
|
||||
"proclist": [
|
||||
{
|
||||
"name": "dhcp_relay",
|
||||
"name": "dhc*",
|
||||
"parse_json": "dhcp_relay_regex.json"
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user