Christian Hesse
46866e2ff2
global-functions: $SendEMail: handle signature with $IfThenElse
2020-11-26 22:34:08 +01:00
Christian Hesse
b078ce2f0f
global-functions: $SendTelegram: split off & move down truncation message
2020-11-26 22:24:56 +01:00
Christian Hesse
7e0558e85d
global-functions: $SendTelegram: prepare to add clickable link
...
Formatting with fixed width font stopped links from being clickable.
2020-11-26 22:21:28 +01:00
Christian Hesse
d7725540f8
global-functions: $SendTelegram: change internal wording
2020-11-26 22:06:03 +01:00
Christian Hesse
54e164e542
global-functions: $SendTelegram: try to get the line breaks right
2020-11-26 22:02:39 +01:00
Christian Hesse
c93d1c4944
global-functions: $SendTelegram: disable web page preview
2020-11-26 17:32:12 +01:00
Christian Hesse
6b19cf2578
log-forward: add parenthesis in filter expression
...
Looks like this works without parenthesis in RouterOS,
let's add it anyway.
2020-11-26 10:32:17 +01:00
Christian Hesse
056d273c11
update list of contributors
2020-11-24 13:54:36 +01:00
Christian Hesse
0545fbd899
check-health: re-measure until we have a valid value
2020-11-24 13:54:36 +01:00
Christian Hesse
af50ed5909
check-health: use second measure against temperature spikes
...
The old spike detection was still prone to false alerts. Let's do a
second measurement and ignore on difference.
This results in more measurements being ignored, but temperature is
changing slowly only and it should not hurt.
2020-11-24 13:45:57 +01:00
Christian Hesse
13f7ba11da
check-health: do not write unicode to log
2020-11-20 12:01:15 +01:00
Christian Hesse
b97d5308b1
check-health: guard against temperature spikes
...
Looks like devices out there suffer sensor issue or bug where
temperature value spikes and drops immediately:
https://forum.mikrotik.com/viewtopic.php?t=111030
https://forum.mikrotik.com/viewtopic.php?t=111109
https://forum.mikrotik.com/viewtopic.php?t=151242
... and possibly more.
Let's ignore these spikes, but at the same time increase the current
value to bring it into line - in case it's real.
2020-11-19 21:23:27 +01:00
Christian Hesse
88f9948c72
check-health: handle formatting by picking from string
...
The mathematical way is more elegant, but just picking the char from
string is shorter. 😜
2020-11-19 20:24:09 +01:00
Christian Hesse
7adfd1b670
check-health: properly handle voltage value below one
...
Before this produced division by zero...
2020-11-19 16:32:12 +01:00
Christian Hesse
34a0d4ab85
Merge branch 'netwatch-notify'
2020-11-17 22:45:35 +01:00
Christian Hesse
62ef70e5dd
netwatch-notify: notify about changes
2020-11-17 22:28:05 +01:00
Christian Hesse
23923619dd
netwatch-notify: increase count for every parent in chain
2020-11-17 22:28:05 +01:00
Christian Hesse
e7855b4611
netwatch-notify: support parents in a chain
2020-11-17 22:28:05 +01:00
Christian Hesse
d5125b816a
netwatch-notify: be more verbose in logs
2020-11-17 22:28:05 +01:00
Christian Hesse
6c14412aa9
netwatch-notify: implemented simple dependency model
2020-11-17 22:28:05 +01:00
Christian Hesse
e1d9b08b9a
doc/netwatch-notify: remove timeout from examples
2020-11-17 21:08:37 +01:00
Christian Hesse
cf5220278d
netwatch-notify: unbreak custom count
2020-11-17 14:22:29 +01:00
Christian Hesse
021463c76b
Merge branch 'log-forward'
2020-11-13 22:49:50 +01:00
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