Commit graph

354 commits

Author SHA1 Message Date
Christian Hesse
b8db93918f capsman-download-packages: lock against multiple invocation 2019-12-05 11:41:49 +01:00
Christian Hesse
9548641b60 packages-update: skip the interactive part of non-terminal 2019-12-04 09:21:07 +01:00
Christian Hesse
f26222d5a8 check-routeros-update: use $ScriptFromTerminal 2019-12-03 23:45:55 +01:00
Christian Hesse
ebd5ff9bfe global-functions: introduce $ScriptFromTerminal
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-03 23:45:55 +01:00
Christian Hesse
bccdb47fde ipv6-update: calculate address with bitwise operator
Support for bitwise operator was added in RouterOS 6.46beta38.
2019-12-03 12:07:36 +01:00
Christian Hesse
e37af0065c hotspot-to-wpa: get limits from place-before-entry 2019-12-03 11:41:18 +01:00
Christian Hesse
ac6c132ea0 global-functions: $DeviceInfo: append revision to model 2019-11-28 10:49:21 +01:00
Christian Hesse
a8a0523d33 collect-wireless-mac: add the dns name 2019-11-25 17:07:45 +01:00
Christian Hesse
15a6fb325e collect-wireless-mac: lease without address should be impossible...
... we need the check for empty hostname, though.
2019-11-25 16:43:19 +01:00
Christian Hesse
b70d4f7666 collect-wireless-mac: move code into condition 2019-11-25 16:39:23 +01:00
Christian Hesse
73a3e58c8f {email,upload}-backup: update wording 2019-11-21 22:22:04 +01:00
Christian Hesse
845c25f87c dhcp-to-dns: act on hostname only if available 2019-11-14 22:16:33 +01:00
Christian Hesse
395bc8c90f dhcp-to-dns: set the temporary variable unconditionally 2019-11-12 13:02:40 +01:00
Christian Hesse
91776d3388 dhcp-to-dns: handle duplicate mac-address and host-name
* 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-12 12:49:28 +01:00
Christian Hesse
9d5c566b1c check-certificates: make renew notification silent 2019-11-11 20:47:11 +01:00
Christian Hesse
c93c6e1934 README: fix typo and wording 2019-11-05 00:28:30 +01:00
Christian Hesse
7c0c27c03f global-functions: add architecture in device info 2019-10-28 13:15:10 +01:00
Christian Hesse
df0c2afa31 check-health: decrease default threshold for voltage 2019-10-22 15:03:52 +02:00
Christian Hesse
39815662f7 check-health: work with battery property
Seen on wAP R... No idea what this is.
2019-10-18 12:25:27 +02:00
Christian Hesse
9ce5d722b3 add script 'hotspot-to-wpa' 2019-10-14 21:24:35 +02:00
Christian Hesse
f40bb2c8c8 check-health: make threshold for voltage configurable 2019-10-14 19:13:31 +02:00
Christian Hesse
09ce75c5b1 update list of contributors / donors
Thanks for the Mikrotik coffee mug!
2019-09-13 11:45:38 +02:00
Christian Hesse
1cee36a911 introduce global-config-overlay 2019-09-12 21:29:41 +02:00
Michael Gisbers
2258087aab global-functions: $DeviceInfo: handle configuration version 2019-09-12 21:29:41 +02:00
Christian Hesse
94581741f4 global-functions: introduce and use $DeviceInfo 2019-09-12 21:29:41 +02:00
Christian Hesse
23b38fa15a dhcp-to-dns: find duplicate leases by mac-address 2019-09-11 12:36:47 +02:00
Christian Hesse
c7c5da2eca README: add just one scheduler for global scripts 2019-09-11 12:36:47 +02:00
Christian Hesse
a7c498a90e update list of contributors / donors
Thanks a lot!
2019-09-11 12:36:47 +02:00
Christian Hesse
c8d6c4597f packages-update: add random delay for scheduler 2019-09-11 12:36:24 +02:00
Christian Hesse
ecc281446c packages-update: add option to schedule reboot 2019-09-02 09:39:19 +02:00
Christian Hesse
166bbffe1d script-updates: add donation hint in configuration warning notification 2019-08-30 14:10:58 +02:00
Christian Hesse
c7563d4ffd add info about past contributions 2019-08-30 13:43:35 +02:00
Christian Hesse
914e535eea README: add contribute section, including donate option 2019-08-30 13:43:35 +02:00
Christian Hesse
05f2d03ad9 use shorter url for my repository 2019-08-30 13:43:21 +02:00
Christian Hesse
8c8d7f93f1 ipv6-update: get values into array
... and concatenate name and regexp - just either of both is set.
2019-08-30 11:03:43 +02:00
Christian Hesse
f559c4ac92 unattended-lte-firmware-upgrade: add valid script to scheduler 2019-08-30 11:03:43 +02:00
Christian Hesse
03db080774 mode-button-event: add valid script to scheduler 2019-08-30 11:03:43 +02:00
Christian Hesse
e479f3b01a README: add valid script to scheduler 2019-08-30 11:03:43 +02:00
Christian Hesse
1ee3213e02 script-updates: better regex matching 2019-08-29 09:13:11 +02:00
Christian Hesse
2d1a07dd0f capsman-rolling-upgrade: do not fail on missing cap
This is a long running process, chances are that a cap disappears
intermittently. So find cap by name and do not fail.
2019-08-29 07:54:00 +02:00
Christian Hesse
63ca79b960 check-health: check for valid psu state data
This is required with recovery notifications
2019-08-28 20:48:32 +02:00
Christian Hesse
b74d465cd0 check-health: also send recovery notifications 2019-08-27 15:20:11 +02:00
Christian Hesse
29dc1b8841 add script 'check-health'
This may be incomplete... Please report if you have missing PSUs,
ttemperature sensors, whatever.
2019-08-27 12:01:32 +02:00
Christian Hesse
44437c6846 upload-backup: make notification silent 2019-08-18 21:30:59 +02:00
Christian Hesse
0f27c935d8 cloud-backup: make notification silent 2019-08-18 21:30:59 +02:00
Christian Hesse
5a3076c7c3 check-routeros-update: make notifications silent 2019-08-18 21:30:59 +02:00
Christian Hesse
a78d9d0470 check-lte-firmware-upgrade: make notification silent 2019-08-18 21:30:59 +02:00
Christian Hesse
06b93ca6c2 global-functions: support sending silent telegram notifications 2019-08-18 21:30:59 +02:00
Christian Hesse
d457421e1e global-functions: split off $SendEMail and $SendTelegram 2019-08-18 21:30:59 +02:00
Christian Hesse
4210a49098 check-routeros-update: fail on empty version string 2019-08-08 20:27:11 +02:00