1
0
mirror of https://github.com/eworm-de/routeros-scripts.git synced 2024-05-11 05:55:19 +00:00

doc/log-forward: add tips and tricks

This commit is contained in:
Christian Hesse
2023-01-20 00:34:27 +01:00
parent cfb31e840c
commit 2294ac77a8

View File

@@ -66,6 +66,18 @@ Also notification settings are required for
[matrix](mod/notification-matrix.md) and/or
[telegram](mod/notification-telegram.md).
Tips & Tricks
-------------
### Notification on reboot
You want to receive a notification on every device (re-)boot? Quite easy,
just add:
:global LogForwardIncludeMessage "(^router rebooted)";
This will match on every log message beginning with `router rebooted`.
---
[⬅️ Go back to main README](../README.md)
[⬆️ Go back to top](#top)