Commit graph

1296 commits

Author SHA1 Message Date
Christian Hesse
966e7b6fd3 log-forward: do not exclude topic 'script'
We have justified severity for some log message, so do no longer exclude
topic 'script'.
2020-11-13 22:46:26 +01:00
Christian Hesse
348cc2e3f3 check-certificates: decrease log severity to info 2020-11-13 22:43:41 +01:00
Christian Hesse
19ed080244 check-routeros-update: decrease log severity to info 2020-11-13 22:34:31 +01:00
Christian Hesse
8b07119f38 check-health: decrease log severity to info 2020-11-13 22:17:55 +01:00
Christian Hesse
b8efaafe6e global-functions: $SendTelegram: decrease log severity to info
The message is queued, not lost...
2020-11-13 22:15:23 +01:00
Christian Hesse
7b3960a0e1 global-functions: $TimeIsSync: decrease log severity to info 2020-11-13 22:12:03 +01:00
Christian Hesse
27b494b139 global-functions: $MailServerIsUp: decrease log severity to info 2020-11-13 22:07:24 +01:00
Christian Hesse
d519b70e65 global-functions: $CertificateDownload: be more verbose 2020-11-13 22:02:00 +01:00
Christian Hesse
d2fab050ba log-forward: do not forward own e-mail logs
Revert the last change, instead just ignore messages that were generated
by log-forward, with "Log Forwarding" in subject.
2020-11-13 20:56:48 +01:00
Christian Hesse
24eb2c15a9 log-forward: do not forward e-mail logs
This could cause infinite loop if the mail server does not recover...
2020-11-12 23:18:51 +01:00
Christian Hesse
243b23dc19 global-functions: $DNSIsResolving: use a domain with low ttl 2020-11-06 22:57:19 +01:00
Christian Hesse
f2e16a92d1 README: optional scheduler to update scripts automatically 2020-11-01 22:20:02 +01:00
Christian Hesse
df66309281 doc/global-wait: link more use cases 2020-11-01 21:57:36 +01:00
Christian Hesse
d547f68df1 doc/global-wait: warn about scheduler 2020-11-01 21:57:13 +01:00
Christian Hesse
98c132105d check-routeros-update: support installing updates automatically if seen in neighbor list 2020-11-01 21:48:03 +01:00
Christian Hesse
7f356d76bf global-functions: $SymbolForNotification: support multiple symbols...
... with comma-separated list.
2020-10-27 00:30:40 +01:00
Christian Hesse
fee2523a22 mode-button: make LED configurable 2020-10-23 21:50:14 +02:00
Christian Hesse
2e4658e49a mode-button: act on led with type on or off only 2020-10-23 21:24:59 +02:00
Christian Hesse
55e114c190 mode-button: act on led with no interface setting only 2020-10-23 20:32:45 +02:00
Christian Hesse
3b65b7e835 mode-button: fix delay
The `:beep` command is async... So an additional delay is
required unconditionally.
2020-10-23 16:01:21 +02:00
Christian Hesse
cbb1e624b2 bridge-port-to-default: be more robust
This was unreliable with inconsistent configuration...
2020-10-23 15:27:17 +02:00
Christian Hesse
ae5570325b ospf-to-leds: introduce script to visualize ospf state via leds 2020-10-23 14:17:33 +02:00
Christian Hesse
ebbc40e3a0 mode-button: support inverted blink 2020-10-23 12:01:29 +02:00
Christian Hesse
dd39049d36 mode-button: use user-led for visual feeback
The user-led needs to be configured with type=off, it is ignored with
other configuration.
2020-10-22 22:18:22 +02:00
Christian Hesse
4af1f5dec2 sms-forward: improve wording for single/multiple message(s) 2020-10-19 13:49:57 +02:00
Christian Hesse
4a85deb45c log-forward: improve wording for single message 2020-10-18 20:16:54 +02:00
Christian Hesse
211edb93c0 check-health: do not hardcode names, use as available 2020-10-17 23:05:08 +02:00
Christian Hesse
a4b237044d sms-forward: lock against multiple invocations 2020-10-17 13:40:01 +02:00
Christian Hesse
6d9eb99e08 check-health: add deviation on temperature recovery threshold
This helps against notification flooding.
2020-10-16 22:58:14 +02:00
Christian Hesse
3e72d1ec0b check-health: give error on messing health values 2020-10-16 21:35:44 +02:00
Christian Hesse
8b2df7abd0 mode-button: merge mode-button-event & mode-button-scheduler 2020-10-16 08:24:19 +02:00
Christian Hesse
1c4531d536 README: link to global-config 2020-10-15 22:50:12 +02:00
Christian Hesse
b769077746 global-config: do not define mail addresses by default 2020-10-15 22:45:27 +02:00
Christian Hesse
c40c792806 global-functions: $SendTelegram: clean up 2020-10-14 22:07:02 +02:00
Christian Hesse
0009c7fc65 cloud-backup: add unit for size, add KiB 2020-10-13 20:46:30 +02:00
Christian Hesse
370d7c1a58 unattended-lte-firmware-upgrade: convert to function 2020-10-13 18:55:23 +02:00
Christian Hesse
e11e6b4658 check-lte-firmware-upgrade: show manufacturer & model 2020-10-13 13:23:32 +02:00
Christian Hesse
3e0039c266 global-functions: $SendTelegram: use fixed-width font...
... but give configuration to opt-out.
2020-10-13 10:05:59 +02:00
Christian Hesse
6b1d9e8f40 global-functions: $FlushTelegramQueue, $SendTelegram: move hint 2020-10-13 09:00:55 +02:00
Christian Hesse
fc99440224 global-functions: $UrlEncode: encode new line & carriage return 2020-10-13 08:46:20 +02:00
Christian Hesse
8ddc964cb5 global-functions: $IPCalc: return data in array 2020-10-10 19:59:53 +02:00
Christian Hesse
8e6403b1be global-functions: $WaitTimeSync: calculate with modulo operation
The uptime is returned in time, with supports arithmetic modulo
operation. This is three minutes in nano seconds, so multiplied
180 with 10^9.
2020-10-09 16:00:09 +02:00
Christian Hesse
9bd56d8aca packages-update: improve backup failure handling 2020-10-08 00:06:09 +02:00
Christian Hesse
ffad79b8fc packages-update: be more verbose 2020-10-08 00:04:29 +02:00
Christian Hesse
3dc10ca2b8 packages-update: fix variable usage 2020-10-07 23:55:10 +02:00
Christian Hesse
bc5133fb41 global-functions: $LogPrintExit: explicitly set severity 2020-10-07 23:27:09 +02:00
Christian Hesse
8425290d1d upload-backup: hint failure in subject 2020-10-07 23:27:09 +02:00
Christian Hesse
1cb7194ec5 upload-backup: exit with error on error
The error has been logged before, so just make sure to exit with error.
2020-10-07 23:27:09 +02:00
Christian Hesse
2be4a2ce98 cloud-backup: send notification on error and do exit 2020-10-07 23:27:09 +02:00
Christian Hesse
38a3ef9552 global-functions: $MailServerIsUp: return gracefully on missing configuration 2020-10-07 14:21:39 +02:00