aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-02-24check-certificates: check for synced timeGravatar Christian Hesse1-0/+6
2020-02-24daily-psk-schedule: use $TimeIsSyncGravatar Christian Hesse1-5/+3
2020-02-24global-functions: introduce $TimeIsSyncGravatar Christian Hesse1-0/+16
2020-02-24daily-psk-schedule: use $MailServerIsUpGravatar Christian Hesse1-1/+3
2020-02-24sms-forward: use $MailServerIsUpGravatar Christian Hesse1-1/+2
2020-02-24global-functions: introduce $MailServerIsUpGravatar Christian Hesse1-0/+22
2020-02-06check-certificates: rename all certificates by their common namesGravatar Christian Hesse1-0/+5
2020-02-06global-functions: introduce and use $CertificateNameByCNGravatar Christian Hesse1-2/+13
2020-02-05script-updates: prefix variable name with dollarGravatar Christian Hesse1-1/+1
2020-02-04global-config: drop $ScriptUpdatesConfigChangesIgnorechange-12Gravatar Christian Hesse5-8/+6
Comment or remove $GlobalConfigVersion in global-config-overlay to disable change notifications.
2020-02-03global-functions: $CharacterReplace: do not limit string lengthGravatar Christian Hesse1-2/+1
I've tried something like this to update a device: / system script set source=[ $CharacterReplace [ get global-config-overlay source ] "GlobalConfigVersion 10" "GlobalConfigVersion 11" ] global-config-overlay; This broke with global-config-overlay longer than 999 characters. So makes sure there is no limit for string length.
2020-02-03global-config-overlay: add footerGravatar Christian Hesse1-0/+2
... to guard against truncation by accident.
2020-02-02global-functions: $CertificateAvailable: simplify loopGravatar Christian Hesse1-4/+4
2020-01-29README: update instructions to use $ScriptInstallUpdatechange-11Gravatar Christian Hesse5-10/+13
2020-01-29script-updates: only handle scripts with magic patternGravatar Christian Hesse1-1/+1
This is supposed to prevent overwriting foreign scripts. New scripts are expected to be installed with function $ScriptInstallUpdate!
2020-01-29global-functions: add $ScriptInstallUpdateGravatar Christian Hesse1-0/+14
Just call without parameters to update scripts: [admin@MikroTik] > $InstallAndUpdate Add comma separated list of scripts to install and update: [admin@MikroTik] > $InstallAndUpdate cloud-backup[,upload-backup][,...]
2020-01-29global-functions: $CertificateAvailable: check whole chainGravatar Christian Hesse1-0/+12
The root certificate is a self-signed certificate. Check for the issue certificate until we find the self-signed one.
2020-01-29global-functions: $CertificateAvailable: warn about crl download to flashGravatar Christian Hesse1-0/+6
Downloading certificate crls to flash can fill up all available space. So warn about it!
2020-01-28update-tunnelbroker: replace deprecated keep-result=no with output=noneGravatar Christian Hesse1-1/+1
2020-01-28gps-track: replace deprecated keep-result=no with output=noneGravatar Christian Hesse1-1/+1
2020-01-28global-functions: replace deprecated keep-result=no with output=noneGravatar Christian Hesse1-1/+1
2020-01-24check-health: never divide, always multiplyGravatar Christian Hesse1-2/+2
With RouterOS we have integral numbers only. This prevent from having friction that is cut off.
2020-01-24check-health: always calculate on the lower voltage valueGravatar Christian Hesse1-1/+1
This makes sure an alert is triggered in both directions. Before we could have: 24.0V to 21.8V -> OK 21.8V to 24.0V -> Alert!
2020-01-17collect-wireless-mac: automatically add missing access-list entryGravatar Christian Hesse3-12/+12
2020-01-16check-routeros-update: do not act if reboot is scheduledGravatar Christian Hesse1-0/+4
2020-01-06mode-button-scheduler: give proper message if no action definedGravatar Christian Hesse1-9/+13
2020-01-06global-functions: $CertificateDownload: properly name new certificatesGravatar Christian Hesse1-0/+5
2020-01-06collect-wireless-mac: use dynamic & bound mac address onlyGravatar Christian Hesse3-3/+3
2020-01-06dhcp-lease-comment: act on bound leases onlyGravatar Christian Hesse3-3/+3
2020-01-06dhcp-to-dns: act on bound leases onlyGravatar Christian Hesse1-4/+4
2020-01-03global-functions: do not encode dash, dot, slash and underscoreGravatar Christian Hesse1-4/+3
2020-01-03global-functions: $Certificate*: add quoting around CNGravatar Christian Hesse1-2/+2
2020-01-03global-functions: split $CertificateAvailable to $CertificateDownloadGravatar Christian Hesse1-17/+28
This allows to force download even if certificate is available. We need this for a clean update path with Let's Encrypt.
2020-01-01update copyright for 2020Gravatar Christian Hesse55-55/+55
2019-12-20packages-update: improve wordingGravatar Christian Hesse1-1/+1
2019-12-10global-functions: define first, set laterGravatar Christian Hesse1-16/+34
2019-12-05global-functions: $DownloadPackage: retry on errorGravatar Christian Hesse1-12/+17
2019-12-05packages-update: lock against multiple invocationGravatar Christian Hesse1-0/+3
2019-12-05capsman-rolling-upgrade: lock against multiple invocationGravatar Christian Hesse1-0/+4
2019-12-05capsman-download-packages: lock against multiple invocationGravatar Christian Hesse1-1/+4
2019-12-04packages-update: skip the interactive part of non-terminalGravatar Christian Hesse1-14/+17
2019-12-03check-routeros-update: use $ScriptFromTerminalGravatar Christian Hesse1-1/+2
2019-12-03global-functions: introduce $ScriptFromTerminalGravatar Christian Hesse1-0/+18
Checking whether or not started from terminal is tricky... We have to find the job for the script, find its top most parent and get its type.
2019-12-03ipv6-update: calculate address with bitwise operatorrouteros-6.46beta38Gravatar Christian Hesse1-8/+5
Support for bitwise operator was added in RouterOS 6.46beta38.
2019-12-03hotspot-to-wpa: get limits from place-before-entryGravatar Christian Hesse1-2/+11
2019-11-28global-functions: $DeviceInfo: append revision to modelGravatar Christian Hesse1-1/+5
2019-11-25collect-wireless-mac: add the dns nameGravatar Christian Hesse3-0/+18
2019-11-25collect-wireless-mac: lease without address should be impossible...Gravatar Christian Hesse3-15/+6
... we need the check for empty hostname, though.
2019-11-25collect-wireless-mac: move code into conditionGravatar Christian Hesse3-18/+18
2019-11-21{email,upload}-backup: update wordingGravatar Christian Hesse2-2/+3
2019-11-14dhcp-to-dns: act on hostname only if availableGravatar Christian Hesse1-1/+3
2019-11-12dhcp-to-dns: set the temporary variable unconditionallyGravatar Christian Hesse1-4/+1
2019-11-12dhcp-to-dns: handle duplicate mac-address and host-nameGravatar Christian Hesse1-3/+8
* several leases for one mac address (changed client id, different net): -> take address from last lease Most likely this is the same devices which booted different OS or changed to different network. * several leases for one host name: -> take address from first lease We see either different devices with same name or one device with several network interfaces. Keep the first name to mitigate stealing dns name.
2019-11-11check-certificates: make renew notification silentGravatar Christian Hesse1-1/+1
2019-11-05README: fix typo and wordingGravatar Christian Hesse2-2/+2
2019-10-28global-functions: add architecture in device infoGravatar Christian Hesse1-2/+3
2019-10-22check-health: decrease default threshold for voltageGravatar Christian Hesse1-1/+1
2019-10-18check-health: work with battery propertyGravatar Christian Hesse1-1/+1
Seen on wAP R... No idea what this is.
2019-10-14add script 'hotspot-to-wpa'Gravatar Christian Hesse1-0/+20
2019-10-14check-health: make threshold for voltage configurablechange-10Gravatar Christian Hesse5-7/+11
2019-09-13update list of contributors / donorsGravatar Christian Hesse1-0/+1
Thanks for the Mikrotik coffee mug!
2019-09-12introduce global-config-overlaychange-9Gravatar Christian Hesse7-17/+41
2019-09-12global-functions: $DeviceInfo: handle configuration versionGravatar Michael Gisbers1-0/+10
2019-09-12global-functions: introduce and use $DeviceInfoGravatar Christian Hesse5-47/+41
2019-09-11dhcp-to-dns: find duplicate leases by mac-addressGravatar Christian Hesse1-1/+1
2019-09-11README: add just one scheduler for global scriptsGravatar Christian Hesse2-7/+3
2019-09-11update list of contributors / donorsGravatar Christian Hesse1-0/+1
Thanks a lot!
2019-09-11packages-update: add random delay for schedulerGravatar Christian Hesse1-2/+3
2019-09-02packages-update: add option to schedule rebootGravatar Christian Hesse1-0/+8
2019-08-30script-updates: add donation hint in configuration warning notificationchange-8Gravatar Christian Hesse4-13/+33
2019-08-30add info about past contributionsGravatar Christian Hesse2-0/+20
2019-08-30README: add contribute section, including donate optionGravatar Christian Hesse1-1/+19
2019-08-30use shorter url for my repositoryGravatar Christian Hesse3-6/+6
2019-08-30ipv6-update: get values into arrayGravatar Christian Hesse1-7/+4
... and concatenate name and regexp - just either of both is set.
2019-08-30unattended-lte-firmware-upgrade: add valid script to schedulerGravatar Christian Hesse1-1/+2
2019-08-30mode-button-event: add valid script to schedulerGravatar Christian Hesse1-1/+2
2019-08-30README: add valid script to schedulerGravatar Christian Hesse2-8/+8
2019-08-29script-updates: better regex matchingGravatar Christian Hesse1-1/+1
2019-08-29capsman-rolling-upgrade: do not fail on missing capGravatar Christian Hesse1-1/+1
This is a long running process, chances are that a cap disappears intermittently. So find cap by name and do not fail.
2019-08-28check-health: check for valid psu state dataGravatar Christian Hesse1-9/+12
This is required with recovery notifications
2019-08-27check-health: also send recovery notificationsGravatar Christian Hesse1-0/+11
2019-08-27add script 'check-health'change-7Gravatar Christian Hesse4-4/+70
This may be incomplete... Please report if you have missing PSUs, ttemperature sensors, whatever.
2019-08-18upload-backup: make notification silentGravatar Christian Hesse1-1/+1
2019-08-18cloud-backup: make notification silentGravatar Christian Hesse1-1/+1
2019-08-18check-routeros-update: make notifications silentGravatar Christian Hesse1-2/+3
2019-08-18check-lte-firmware-upgrade: make notification silentGravatar Christian Hesse1-1/+1
2019-08-18global-functions: support sending silent telegram notificationsGravatar Christian Hesse1-4/+6
2019-08-18global-functions: split off $SendEMail and $SendTelegramGravatar Christian Hesse1-9/+31
2019-08-08check-routeros-update: fail on empty version stringGravatar Christian Hesse1-0/+5
2019-08-08sms-forward: add sender in subjectGravatar Christian Hesse1-1/+1
2019-08-05sms-forward: fix array access in conditionGravatar Christian Hesse1-1/+2
2019-08-02capsman-download-packages: syntax error with missing parenthesisGravatar Christian Hesse1-1/+1
2019-08-01global-functions: $DownloadPackage: re-introduce check for valid packageGravatar Christian Hesse1-0/+5
Even if fetch tool does its job right now... Chances are that the download servers have corrupted or empty files.
2019-07-31check-certificates: fix renewing certificate in placeGravatar Christian Hesse1-14/+18
2019-07-26global-functions: add $RandomDelayGravatar Christian Hesse1-0/+7
2019-07-26global-functions: add $GetRandomGravatar Christian Hesse1-0/+13
2019-07-25script-updates: get source from arrayGravatar Christian Hesse1-2/+1
2019-07-25sms-forward: get values into arraysGravatar Christian Hesse1-8/+5
2019-07-25update-tunnelbroker: get values into arrayGravatar Christian Hesse1-5/+4
2019-07-25script-updates: get values into arraysGravatar Christian Hesse1-19/+17