mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
doc/log-forward: add tips and tricks
This commit is contained in:
parent
cfb31e840c
commit
2294ac77a8
1 changed files with 12 additions and 0 deletions
|
@ -66,6 +66,18 @@ Also notification settings are required for
|
||||||
[matrix](mod/notification-matrix.md) and/or
|
[matrix](mod/notification-matrix.md) and/or
|
||||||
[telegram](mod/notification-telegram.md).
|
[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 main README](../README.md)
|
||||||
[⬆️ Go back to top](#top)
|
[⬆️ Go back to top](#top)
|
||||||
|
|
Loading…
Reference in a new issue