sonic-buildimage/files/build_templates/dhcp_relay_regex.json
Zain Budhwani 8f48773fd1
Publish additional events (#12563)
Add event_publish code or regex for rsyslog plugin for additional events
2022-11-07 09:57:57 -08:00

13 lines
445 B
JSON

[
{
"tag": "dhcp-relay-discard",
"regex": "Discarding packet received on ([a-zA-Z0-9-_]*) interface that has no IPv4 address assigned.",
"params": [ "ifname" ]
},
{
"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" ]
}
]