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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user