routeros-scripts-main/doc/check-lte-state-update.md
2022-11-11 22:06:17 +01:00

1.9 KiB
Raw Blame History

Notify on LTE state update

◀ Go back to main README

Info: This script can not be used on its own but requires the base installation. See main README for details.

Description

This script is run from scheduler periodically, checking for LTE state changes.

Sample notification

check-lte-state-update notification

Requirements and installation

Just install the script:

$ScriptInstallUpdate check-lte-state-update;

... and create a scheduler:

/system/scheduler/add interval=1h name=check-lte-state-update on-event="/system/script/run check-lte-state-update;" start-time=startup;

Configuration

The configuration goes to global-config-overlay, this is the only parameter:

  • CheckLteStateUpdateBtestHost: host to test for internet connectivity (btest server), leave empty to disable internet connectivity check
  • CheckLteStateUpdateBtestUser: user to test for internet connectivity (btest server)
  • CheckLteStateUpdateBtestPassword: password to test for internet connectivity (btest server)
  • CheckLteStateUpdateIP: check the IP address, set to false to disable IP address check (default true, enabled)
  • CheckLteStateUpdatePrimaryBand: check the primary band, set to true to enable primary band check, (default false, disabled)
  • CheckLteStateUpdateCABand: check the CA band, set to true to enable CA band check, (default false, disabled)

Also notification settings are required for e-mail, matrix and/or telegram.

See also


◀ Go back to main README
▲ Go back to top