Skip to content

Tags: warexify/routeros-scripts

Tags

change-71

Toggle change-71's commit message
README: changes for RouterOS v6

change-70

Toggle change-70's commit message
README: changes for RouterOS v7

change-69

Toggle change-69's commit message
check-health: support hard lower limit for voltage

... to detect slow decrease of voltage, for example with UPS.

change-68

Toggle change-68's commit message
reintroduce global-wait

change-67

Toggle change-67's commit message
shorten modules directory name (global-functions.d -> mod)

change-66

Toggle change-66's commit message
bridge-port-to-default -> global-functions.d/bridge-port-to

change-65

Toggle change-65's commit message
add global-functions.d/bridge-port-vlan

change-64

Toggle change-64's commit message
global-functions.d/inspectvar: add $InspectVar...

to inspect variables. This is useful for variables with (nested) arrays,
for example inspecting $NetwatchNotify (from netwatch-notify):

[admin@Mikrotik] > $InspectVar $NetwatchNotify
-type-> array
  -key-> quad-one
    -type-> array
      -key-> count
        -type-> num
        -value-> 0
      -key-> notified
        -type-> bool
        -value-> false
      -key-> parent
        -type-> nothing
      -key-> resolve-failed
        -type-> nothing
      -key-> since
        -type-> nothing
  -key-> example.com
    -type-> array
      -key-> count
        -type-> num
        -value-> 0
      -key-> notified
        -type-> bool
        -value-> false
      -key-> parent
        -type-> str
        -value-> quad-one
      -key-> resolve-failed
        -type-> nothing
      -key-> since
        -type-> nothing

change-63

Toggle change-63's commit message
global-functions: notify about move of $IPCalc and $ScriptRunOnce to …

…modules

Just install with...

$ScriptInstallUpdate global-functions.d/ipcalc

... and/or...

$ScriptInstallUpdate global-functions.d/scriptrunonce

... and use the functions as before.

routeros-7.1rc3

Toggle routeros-7.1rc3's commit message
global-functions*: syntax for ROS 7.x

Strings with escape sequence have to be enclosed in parentheses. Looks
like RouterOS 7.x is stricter here...