aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions.d
AgeCommit message (Expand)AuthorFilesLines
2021-11-12add global-functions.d/bridge-port-vlanchange-65Gravatar Christian Hesse1-0/+62
2021-09-28global-functions.d/notification-telegram: fix calculation on cut offGravatar Christian Hesse1-2/+3
2021-09-21global-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-64Gravatar Christian Hesse1-0/+40
2021-09-21global-functions: move $ScriptRunOnce to optional moduleGravatar Christian Hesse1-0/+46
2021-09-21global-functions: move $IPCalc to optional moduleGravatar Christian Hesse1-0/+35
2021-09-08global-functions*: syntax for ROS 7.x•••Strings with escape sequence have to be enclosed in parentheses. Looks like RouterOS 7.x is stricter here... routeros-7.1rc3Gravatar Christian Hesse2-2/+2
2021-08-25global-functions.d/notification-telegram: for syntax for ROS 7.x•••Strings with escape sequence have to be enclosed in parentheses. Looks like RouterOS 7.x is stricter here... routeros-7.1rc1-1Gravatar Christian Hesse1-1/+1
2021-07-09global-functions.d/notification-telegram: subject in bold & underline•••This makes the subject visually delimited. Gravatar Christian Hesse1-10/+11
2021-06-08global-functions: make Telegram notifications a modulechange-54Gravatar Christian Hesse1-0/+162
2021-06-08global-functions: implement notifications via Matrix•••Matrix is an open network for secure, decentralized communication - and it has a web api. A warning on message type: Using 'm.notice' breaks rendering on Element for Android (no fixed width font) and does not pop up desktop notification. Thus we use 'm.text'. Should be safe as we do not send the messages in response to other messages. https://matrix.org/ change-53Gravatar Michael Gisbers1-0/+157