sonic-buildimage/files/build_templates/systemd_regex.json
Saikrishna Arcot 5e945d5eff Fix container down event not sending out a notification
systemd changed the log message syntax for a container going down.
Update the regex for the new format.

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
2023-11-06 17:40:06 -08:00

13 lines
298 B
JSON

[
{
"tag": "event-stopped-ctr",
"regex": "Stopped [a-z._]* - ([a-zA-Z-_\\s]*) container",
"params": [ "ctr_name" ]
},
{
"tag": "watchdog-timeout",
"regex": "(?:watchdog|Watchdog) timeout .limit.([0-9])min.",
"params": [ "limit" ]
}
]