Commit graph

36 commits

Author SHA1 Message Date
Christian Hesse
471e0ead05 doc/netwatch-notify: update for multiple records 2024-02-28 23:01:00 +01:00
Christian Hesse
5932586ee4 introduce mod/notification-ntfy...
... for sending notifications via Ntfy (https://ntfy.sh/).

TODO: use proper formatting once supported in Android app:
https://github.com/binwiederhier/ntfy/issues/889
2023-10-17 14:05:03 +02:00
Christian Hesse
c04bf2c9b7 netwatch-notify: drop RouterOS version dependency
... as global-functions depend on RouterOS 7.9beta already.
2023-08-18 15:23:20 +02:00
Christian Hesse
6247b739a1 netwatch-notify: drop the delay on startup...
... now that in RouterOS 7.9 netwatch itself comes with a startup-delay.
Hosts in state 'unknown' are just ignored.
2023-06-28 11:29:02 +02:00
Christian Hesse
b66364d716 doc/netwatch-notify: prevent escaping code in hook by creating a script 2023-03-20 13:32:39 +01:00
Christian Hesse
f7962f5d79 doc/netwatch-notify: move hint on notification settings up 2023-03-20 12:35:34 +01:00
Christian Hesse
650c362ed9 netwatch-notify: support note in notification 2023-03-20 12:35:34 +01:00
Christian Hesse
34ed387343 use arrows with emoji representation
We had...

  ◀ Go back to main README
  ▲ Go back to top

... and switch to...

  ⬅️ Go back to main README
  ⬆️ Go back to top
2023-01-11 12:28:31 +01:00
Christian Hesse
ee7836263f doc/netwatch-notify: update notifications
---- ✂️ ----
 Netwatch Notify: example.com down

The host 'example.com' (93.184.216.34) is down since oct/19/2022 16:27:03.
---- ✂️ ----
 Netwatch Notify: example.com up

The host 'example.com' (93.184.216.34) is up since oct/19/2022 17:03:00.
It was down for 6 checks since oct/19/2022 16:27:03.
---- ✂️ ----
2022-10-20 11:37:05 +02:00
Christian Hesse
eccc187014 introduce 'mod/notification-email', split off from global-functions 2022-09-25 22:10:05 +02:00
Christian Hesse
19103cd345 netwatch-notify: rename parameter: hostname -> name
Starting with RouterOS 7.4 the netwatch tool has been extended, it can
now do tcp and http probes. Rename the parameter for reasonable naming
with services.
2022-07-06 11:37:02 +02:00
Christian Hesse
7561c719d1 doc/netwatch-notify: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
07fc5c898a add doc/mod/notification-matrix 2022-02-20 23:40:22 +01:00
Christian Hesse
e6a686187c add doc/mod/notification-telegram 2022-02-20 23:40:22 +01:00
Christian Hesse
cd2a7dcf8c doc: use another info icon: 🛈 -> ℹ️ 2022-02-12 13:09:37 +01:00
Christian Hesse
9e91ed56aa doc: put hints into block quote 2022-02-11 23:38:28 +01:00
Christian Hesse
c6e581d4f9 netwatch-notify: allow to suppress notification on host down 2022-02-10 08:41:12 +01:00
Christian Hesse
42c203291a doc/netwatch-notify: add sections 2022-02-08 17:40:55 +01:00
Christian Hesse
57c80dc2a4 introduce netwatch-dns 2022-01-03 10:00:16 +01:00
Christian Hesse
95062a3dbc doc/netwatch-notify: add missing empty line 2021-12-02 22:59:13 +01:00
Christian Hesse
a9f81c7a14 doc: move notification images to script-specific directories 2021-11-11 22:50:30 +01:00
Christian Hesse
d80a7efb7c doc/netwatch-notify: hint on escaping, with example 2021-07-09 12:46:03 +02:00
Christian Hesse
bccb7c3452 netwatch-notify: implement pre-down hook 2021-07-09 12:46:03 +02:00
Christian Hesse
fcc0d1551a doc/netwatch-notify: hint on checking specific isp 2021-07-05 15:00:47 +02:00
Christian Hesse
c0b954abbb doc/netwatch-notify: hint on checking internet connectivity 2021-06-21 09:15:05 +02:00
Christian Hesse
bad6f5a7cc doc: add sample notifications 2021-06-21 08:54:04 +02:00
Michael Gisbers
8375673d93 global-functions: implement notifications via Matrix
Matrix is an open network for secure, decentralized communication - and
it has a web api.

A warning on message type: Using 'm.notice' breaks rendering on Element
for Android (no fixed width font) and does not pop up desktop
notification. Thus we use 'm.text'. Should be safe as we do not send the
messages in response to other messages.

https://matrix.org/
2021-06-08 21:07:25 +02:00
Christian Hesse
cfb31e844c netwatch-notify: support dynamic address update 2021-05-06 15:11:05 +02:00
Christian Hesse
41f7d1e466 doc/netwatch-notify: tips & tricks: one of several hosts 2021-05-05 08:31:14 +02:00
Christian Hesse
64ff7fcf65 doc: inform about dependency on base installation
That should make the documentation clearer if external sites link to the
documentation of a specific script.
2021-05-03 15:07:50 +02:00
Christian Hesse
23923619dd netwatch-notify: increase count for every parent in chain 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
e58d8e4373 netwatch-notify: make check count threshold configurable
Signed-off-by: Christian Hesse <mail@eworm.de>
2020-08-24 14:26:55 +02:00
Christian Hesse
8dadde23f3 doc/netwatch-notify: document hooks 2020-07-06 15:54:02 +02:00
Christian Hesse
f482c565c7 add doc/netwatch-notify.md 2020-03-27 22:12:49 +01:00