routeros-scripts-main/doc/notify-on-dhcp-lease.md
2022-11-10 19:25:44 +01:00

47 lines
1.1 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Notify on a new DHCP lease
==========================
[◀ Go back to main README](../README.md)
> **Info**: This script can not be used on its own but requires the base
> installation. See [main README](../README.md) for details.
Description
-----------
This script is run from scheduler periodically, checking for LTE state changes.
### Sample notification
![notify-on-dhcp-lease notification](notify-on-dhcp-lease.d/notification.avif)
Requirements and installation
-----------------------------
Just install the script:
$ScriptInstallUpdate notify-on-dhcp-lease;
Requires lease-script installed:
$ScriptInstallUpdate lease-script;
Configuration
-------------
The configuration goes to `global-config-overlay`, there are no additional parameters.
Also notification settings are required for
[e-mail](mod/notification-email.md),
[matrix](mod/notification-matrix.md) and/or
[telegram](mod/notification-telegram.md).
See also
--------
* [Notify on RouterOS update](check-routeros-update.md)
* [Install LTE firmware upgrade](unattended-lte-firmware-upgrade.md)
---
[◀ Go back to main README](../README.md)
[▲ Go back to top](#top)