aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
2023-04-24check-lte-firmware-upgrade: use $FormatLineGravatar Christian Hesse1-3/+4
2023-04-24dhcp-to-dns: handle duplicate leases earlierGravatar Christian Hesse1-6/+5
2023-04-24check-health: use $FormatLineGravatar Christian Hesse1-2/+3
2023-04-24dhcp-to-dns: handle dns record by comment and typeGravatar Christian Hesse1-1/+1
2023-04-24check-certificates: use $FormatLineGravatar Christian Hesse1-18/+9
2023-04-24backup-upload: use $FormatLineGravatar Christian Hesse1-3/+4
2023-04-24backup-email: use $FormatLineGravatar Christian Hesse1-3/+4
2023-04-24backup-cloud: use $FormatLineGravatar Christian Hesse1-3/+4
2023-04-24global-functions: $DeviceInfo: use $FormatLineGravatar Christian Hesse1-15/+16
2023-04-24global-functions: introduce $FormatLineGravatar Christian Hesse1-0/+27
2023-04-19check-certificates: add certificate name in notification subjectGravatar Christian Hesse1-2/+2
2023-04-19check-routeros-update: add version in notification subjectGravatar Christian Hesse1-6/+6
2023-04-19README: make the screenshot match the exampleGravatar Christian Hesse1-0/+0
2023-04-18README: make the Telegram QR code a linkGravatar Christian Hesse1-1/+1
2023-04-18README: add a donate button to badgesGravatar Christian Hesse1-0/+1
2023-04-18README: generate a donate buttom from shields.ioGravatar Christian Hesse1-1/+1
2023-04-17README: note about breaking changesGravatar Christian Hesse1-1/+4
2023-04-16README: add badge to link Telegram groupGravatar Christian Hesse1-0/+1
2023-04-07Merge branch 'check-certificates' into nextGravatar Christian Hesse5-52/+100
2023-04-07check-certificates: properly escape the name for regexGravatar Christian Hesse1-1/+2
2023-04-07check-certificates: try all SANs for downloadchange-98Gravatar Christian Hesse4-6/+21
2023-04-07check-certificates: make the function return a statusGravatar Christian Hesse1-1/+8
2023-04-07check-certificates: do not rename certificates without common-nameGravatar Christian Hesse1-1/+1
2023-04-07check-certificates: download and import in a local functionGravatar Christian Hesse1-31/+41
2023-04-07check-certificates: include SANs in informationGravatar Christian Hesse2-0/+11
2023-04-06README: add badge to hint required RouterOS versionGravatar Christian Hesse1-0/+1
2023-04-06check-certificates: show CommonName only if availableGravatar Christian Hesse1-1/+1
2023-04-06check-certificates: format information in a local functionGravatar Christian Hesse1-20/+24
2023-04-04mod/scriptrunonce: link documentationGravatar Christian Hesse1-0/+3
2023-04-04mod/notification-telegram: link documentationGravatar Christian Hesse1-0/+3
2023-04-04mod/notification-matrix: link documentationGravatar Christian Hesse1-0/+3
2023-04-04mod/notification-email: link documentationGravatar Christian Hesse1-0/+3
2023-04-04mod/ipcalc: link documentationGravatar Christian Hesse1-0/+3
2023-04-04mod/inspectvar: link documentationGravatar Christian Hesse1-0/+3
2023-03-31doc/check-health: use an unusual intervalGravatar Christian Hesse1-1/+5
2023-03-30global-functions: $VersionToNum: support "alpha" in version stringGravatar Christian Hesse1-3/+6
2023-03-30global-functions: $RequiredRouterOS: accept "alpha" in version stringGravatar Christian Hesse1-1/+1
2023-03-29dhcp-to-dns: use better condition•••The condition worked, but could match others (AAAA, NXDOMAIN, ...) as well (though these should not exist). The problem is that matching with `type=A` does not return any results. For historical reasons A records have no type, thus can be matched with `!type`. I opened an issue to fix this... (SUP-111312) So let's assum `!type` works and `type=A` could become valid... Gravatar Christian Hesse1-1/+1
2023-03-29contrib/notification.html: add and load the scriptGravatar Christian Hesse2-0/+7
2023-03-29contrib/notification.html: fix warnings and errors•••Checked with W3C validator: https://validator.w3.org/ Gravatar Christian Hesse2-5/+6
2023-03-29Merge branch 'mkdir' into nextGravatar Christian Hesse1-34/+64
2023-03-28global-functions: $MkDir: make directory by adding file•••This is new functionality in RouterOS 7.9beta4, where new file can be added with `/file/add ...`. This also creates directories for the full path. routeros-7.9beta4-2Gravatar Christian Hesse1-1/+18
2023-03-28global-functions: $MkDir: add extra block for indention...•••... to make the next commit cleaner. No functional change. Gravatar Christian Hesse1-30/+32
2023-03-28dhcp-to-dns: support host name from dhcp lease comment•••The lease comment is supposed to be a human readable string... But we could allow parsable information. Gravatar Christian Hesse2-1/+16
2023-03-28global-functions: $MkDir: create tmpfs in local functionGravatar Christian Hesse1-10/+22
2023-03-28global-functions: $MkDir: return false on errorGravatar Christian Hesse1-1/+1
2023-03-28global-functions: $MkDir: drop unused functionGravatar Christian Hesse1-1/+0
2023-03-28dhcp-to-dns: add cname if host name appears for existing recordGravatar Christian Hesse1-0/+4
2023-03-28doc/dhcp-to-dns: mention A record and optional CNAME recordGravatar Christian Hesse1-1/+3
2023-03-28sms-forward: check that the interface is runningGravatar Christian Hesse1-0/+4
2023-03-24sms-forward: disable workaround for ROS 7.9beta4•••The issue has been acknowledged by Mikrotik, but the cause is still unknown as the sms code did not change since RouterOS 7.6... Well, looks like the behavior changes again with RouterOS 7.9beta4, and everything works as expected again. So disable the workaround there. routeros-7.9beta4-1Gravatar Christian Hesse1-1/+2
2023-03-23sms-forward: add workaround to fix removal of messages•••Removal of messages is broken in RouterOS 7.8: [admin@MikroTik] > /tool/sms/inbox/remove [ find ] failure: Interface not running! Of course the interface is running. Toggling the auto-erase setting fixes this until next boot. So let's add a workaround... Reported to support (SUP-110828), but not (yet) acknowledged. 🤨 routeros-7.8Gravatar Christian Hesse1-0/+10
2023-03-22Merge branch 'dhcp-to-dns' into nextGravatar Christian Hesse3-24/+28
2023-03-22dhcp-to-dns: update cname record on changed host nameGravatar Christian Hesse1-0/+6
2023-03-22dhcp-to-dns: just update the address•••The other values *should* be unchanged... Gravatar Christian Hesse1-1/+1
2023-03-22dhcp-to-dns: add debug message on duplicate leasesGravatar Christian Hesse1-0/+1
2023-03-22dhcp-to-dns: do not update records based on host nameGravatar Christian Hesse1-7/+0
2023-03-22dhcp-to-dns: always create A record with mac address...•••... and an optional CNAME with host name. change-97Gravatar Christian Hesse3-12/+16
2023-03-22dhcp-to-dns: split fqdn to host name and domainGravatar Christian Hesse1-7/+7
2023-03-22lease-script: add script name in order•••This makes sure scripts with the same order can not conflict. Gravatar Christian Hesse1-1/+1
2023-03-22dhcp-to-dns: match comment on beginning of lineGravatar Christian Hesse1-1/+1
2023-03-22dhcp-to-dns: allow the matching separator string in nameGravatar Christian Hesse1-4/+4
2023-03-22ipsec-to-dns: match comment on beginning of lineGravatar Christian Hesse1-1/+1
2023-03-22ipsec-to-dns: allow the matching separator string in nameGravatar Christian Hesse1-4/+4
2023-03-20README: badge in style flat and with colorGravatar Christian Hesse1-3/+3
2023-03-20doc/netwatch-notify: prevent escaping code in hook by creating a scriptGravatar Christian Hesse1-0/+3
2023-03-20doc/netwatch-notify: move hint on notification settings upGravatar Christian Hesse1-5/+5
2023-03-20netwatch-notify: support note in notificationchange-96Gravatar Christian Hesse4-1/+16
2023-03-10drop dummy scripts used for migration•••This now causes expected warnings on first run of $ScriptInstallUpdate. The migration still works, as we keep `global-config.changes` and `global-functions`. Gravatar Christian Hesse57-169/+1
2023-03-10global-functions: $ScriptInstallUpdate: add proper version in user agent•••This allows me to identify what RouterOS versions are run on devices fetching my scripts, which may helps to decide what incompatible changes to push. Gravatar Christian Hesse1-2/+5
2023-03-07lease-script: make sure not to match selfGravatar Christian Hesse1-1/+1
2023-03-07global-functions: $ScriptInstallUpdate: make sure not to match selfGravatar Christian Hesse1-1/+1
2023-03-07rename scripts and add file extension ".rsc"•••No functional change for the user... The migration is done automatically. change-95Gravatar Christian Hesse125-5175/+5622
2023-03-06add the notification generatorGravatar Christian Hesse2-0/+72
2023-03-06... and update the logo in notificationsGravatar Christian Hesse23-1/+1
2023-03-06use a new logoGravatar Christian Hesse3-20/+26
2023-03-06check-routeros-update: allow to install all updates automatically...•••... but with extra hurdle for more awareness of danger. Let's not send a new notification, intentionally. This feature is dangerous, and we should not advertise it. Gravatar Christian Hesse3-0/+18
2023-03-03doc/check-routeros-update: update wording and detailsGravatar Christian Hesse1-8/+10
2023-02-26global-functions: $MkDir: drop the compatibility workaround•••If you are still running RouterOS 7.6 or older add this in your global-config-overlay: :global ScriptUpdatesUrlSuffix "\?h=routeros-7.7~1"; ... and remeber to revert that change once updated. routeros-7.7Gravatar Christian Hesse1-3/+3
2023-02-26telegram-chat: get the uptime just onceGravatar Christian Hesse1-2/+2
2023-02-26telegram-chat: ignore new messages after reboot•••This script supports multiple devices, and sending offset to discard messages is delayed to third fetch to make sure all devices get the message. This can cause trouble, though: Sending a device a reboot command can make that device reboot multiple times 🥴 or - even worse - make it enter an infinite boot loop 😳 if it is the only device. So let's ignore first messages after reboot. Gravatar Christian Hesse1-1/+2
2023-02-26telegram-chat: send messages in replyGravatar Christian Hesse1-3/+4
2023-02-24mod/notification-telegram: support sending in replyGravatar Christian Hesse1-1/+4
2023-02-24netwatch-notify: support sending silent notificationsGravatar Christian Hesse1-2/+2
2023-02-17INITIAL-COMMANDS: link to new paragraphsGravatar Christian Hesse1-3/+3
2023-02-17README: add a paragraph for scheduled automatic updatesGravatar Christian Hesse1-2/+4
2023-02-17README: move configuration down, make it a separate paragraphGravatar Christian Hesse11-21/+33
2023-02-16packages-update: put reboot into a function•••Make the logic even simpler... Let's put the reboot code into a function. That is volatile, so device does not reboot if it is rebooted already. Gravatar Christian Hesse1-2/+6
2023-02-16packages-update: check version before reboot from scheduler•••Chances are that the device was rebooted manually... Do not reboot then. Gravatar Christian Hesse1-2/+3
2023-02-14telegram-chat: log command with failed syntax validationGravatar Christian Hesse1-0/+1
2023-02-14telegram-chat: never decrease the local offsetGravatar Christian Hesse1-1/+1
2023-02-14telegram-chat: add debug message for handled updatesGravatar Christian Hesse1-0/+2
2023-02-14telegram-chat: add updateid in log messagesGravatar Christian Hesse1-3/+4
2023-02-14check-health: wording: load -> utilization•••The load is defined as something different... https://en.wikipedia.org/wiki/Load_(computing) So let's update the wording and use 'utilization' instead. ---- ✂️ ---- 🧮️📈️ Health warning: CPU utilization The average CPU utilization on MikroTik is at 76%! ---- ✂️ ---- 🧮️📉️ Health recovery: CPU utilization The average CPU utilization on MikroTik decreased to 64%. ---- ✂️ ---- Gravatar Christian Hesse7-19/+19
2023-02-13doc/check-health: make the voltage limit a separate pointGravatar Christian Hesse1-1/+2
2023-02-13doc/check-health: add line break between screenshotsGravatar Christian Hesse1-2/+2
2023-02-13README: give hint about converting line endingsGravatar Christian Hesse1-0/+5
2023-02-13global-functions: $PrettyPrint: use $Unix2DosGravatar Christian Hesse1-2/+2
2023-02-13global-functions: introduce $Dos2UnixGravatar Christian Hesse1-0/+10
2023-02-13global-functions: introduce $Unix2DosGravatar Christian Hesse1-0/+11