Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-03-10 | drop dummy scripts used for migration | 1 | -3/+0 | ||
This now causes expected warnings on first run of $ScriptInstallUpdate. The migration still works, as we keep `global-config.changes` and `global-functions`. | |||||
2023-03-07 | rename scripts and add file extension ".rsc"change-95 | 1 | -184/+1 | ||
No functional change for the user... The migration is done automatically. | |||||
2023-02-24 | netwatch-notify: support sending silent notifications | 1 | -2/+2 | ||
2023-01-02 | update copyright for 2023 | 1 | -1/+1 | ||
2022-11-25 | netwatch-notify: support type https-getrouteros-7.7beta8 | 1 | -1/+1 | ||
... which was introduced in RouterOS 7.7beta8. | |||||
2022-10-21 | netwatch-notify: cache the result | 1 | -1/+3 | ||
If this script runs from terminal this will not change... 😜 So cache the result. Co-authored-by: Michael Gisbers <michael@gisbers.de> | |||||
2022-10-21 | netwatch-notify: always show messages when run from terminal | 1 | -1/+3 | ||
Co-authored-by: Christian Hesse <mail@eworm.de> | |||||
2022-10-21 | netwatch-notify: stop flooding the log after down notification | 1 | -5/+7 | ||
This will now log all messages before notification, and every two hours (or scheduler interval * 120) after. | |||||
2022-10-14 | netwatch-notify: fix the count... | 1 | -1/+1 | ||
This broke in commit 6f772e92a616acb15bdef8ab7b7bfdb9d002bfeb ("netwatch-notify: rename array element") where not only the array element but also the option was renamed. | |||||
2022-09-20 | netwatch-notify: use a counter for resolve failures | 1 | -5/+5 | ||
This should relax the error message a bit as it is not triggered on first failure. | |||||
2022-09-07 | netwatch-notify: do not (yet) notify if parent is up recently | 1 | -1/+3 | ||
Monitoring a VPN (or similar) may be tricky: This used to send notifications if the physical connection recovered, but the VPN and/or its routing did not yet. Let's work around and send notification only if the parent is up for at least three checks. | |||||
2022-09-07 | netwatch-notify: add new array element to count up-checks | 1 | -1/+4 | ||
2022-09-07 | netwatch-notify: rename array element | 1 | -10/+10 | ||
2022-09-07 | netwatch-notify: rename variable | 1 | -8/+8 | ||
2022-09-07 | netwatch-notify: show dns name (resolve option) in message | 1 | -5/+7 | ||
2022-07-13 | netwatch-notify: update initialization of empty array | 1 | -1/+1 | ||
Having the parenthesis here is important for valid syntax! | |||||
2022-07-06 | netwatch-notify: break long lines | 1 | -22/+38 | ||
2022-07-06 | netwatch-notify: also support the name from property | 1 | -1/+2 | ||
2022-07-06 | netwatch-notify: quote the host/service name | 1 | -7/+7 | ||
2022-07-06 | netwatch-notify: properly handle services (http-get & tcp-conn) | 1 | -15/+17 | ||
2022-07-06 | netwatch-notify: $NetwatchNotifyHook: rename variable: $Type -> $State | 1 | -6/+6 | ||
2022-07-06 | netwatch-notify: rename variable: $HostName -> $Name | 1 | -13/+13 | ||
2022-07-06 | netwatch-notify: rename parameter: hostname -> namechange-82 | 1 | -3/+3 | ||
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 | netwatch-notify: properly check for disabled state | 1 | -1/+1 | ||
Looks like checking for 'disabled=no' fails with net netwatch in RouterOS 7.4... | |||||
2022-06-20 | global-functions: rename internal function: $DNSIsResolving -> $IsDNSResolving | 1 | -2/+2 | ||
2022-05-11 | netwatch-notify: RouterOS v7 path syntax | 1 | -4/+4 | ||
2022-02-10 | netwatch-notify: nest conditions | 1 | -15/+17 | ||
The logic here was right, but RouterOS runs the checks simultaneously. This caused delays even if no resolving was needed. Nesting the checks fixes this. | |||||
2022-02-10 | netwatch-notify: allow to suppress notification on host downchange-76 | 1 | -7/+9 | ||
2022-01-03 | netwatch-notify: give netwatch some time to settle | 1 | -0/+4 | ||
2022-01-03 | netwatch-notify: initialize after lock | 1 | -2/+2 | ||
2022-01-03 | netwatch-notify: better match notify-entries | 1 | -77/+80 | ||
2022-01-01 | update copyright for 2022 | 1 | -1/+1 | ||
2021-08-27 | netwatch-notify: use $ScriptLock | 1 | -0/+3 | ||
2021-07-09 | netwatch-notify: implement pre-down hookchange-60 | 1 | -0/+3 | ||
2021-07-08 | netwatch-notify: run hook from a function | 1 | -23/+26 | ||
2021-07-08 | netwatch-notify: add error handling for hooks | 1 | -2/+10 | ||
We already had syntax validation, but a script with valid synctax can still fail to run... | |||||
2021-05-18 | netwatch-notify: add info on hook in notification | 1 | -8/+12 | ||
2021-05-06 | netwatch-notify: log failed resolve just once | 1 | -2/+7 | ||
2021-05-06 | netwatch-notify: attempt to update address with working resolver only | 1 | -1/+2 | ||
2021-05-06 | netwatch-notify: support dynamic address updatechange-50 | 1 | -0/+15 | ||
2021-05-06 | netwatch-notify: log on host up... | 1 | -2/+4 | ||
... if logged on host down before. | |||||
2021-04-28 | netwatch-notify: pass origin to $SendNotification2 | 1 | -2/+4 | ||
2021-04-28 | netwatch-notify: use $SendNotification2 | 1 | -6/+6 | ||
2021-02-26 | netwatch-notify: use $ValidateSyntax | 1 | -4/+13 | ||
2021-02-24 | global: give script or function name in log messages | 1 | -5/+6 | ||
2021-02-18 | global: drop script 'global-wait'change-44 | 1 | -0/+3 | ||
All scripts wait for the global functions on their own now. | |||||
2021-01-01 | update copyright for 2021 | 1 | -1/+1 | ||
2020-11-17 | netwatch-notify: increase count for every parent in chain | 1 | -1/+3 | ||
2020-11-17 | netwatch-notify: support parents in a chain | 1 | -3/+13 | ||
2020-11-17 | netwatch-notify: be more verbose in logs | 1 | -2/+4 | ||
2020-11-17 | netwatch-notify: implemented simple dependency model | 1 | -2/+6 | ||
2020-11-17 | netwatch-notify: unbreak custom count | 1 | -1/+1 | ||
2020-09-18 | extend magic pattern with "by RouterOS" | 1 | -1/+1 | ||
This matches the string included in export. | |||||
2020-08-24 | netwatch-notify: be more verbose on host downtime | 1 | -2/+7 | ||
Signed-off-by: Christian Hesse <mail@eworm.de> | |||||
2020-08-24 | netwatch-notify: make check count threshold configurable | 1 | -2/+4 | ||
Signed-off-by: Christian Hesse <mail@eworm.de> | |||||
2020-07-18 | netwatch-notify: ignore disabled hosts | 1 | -1/+1 | ||
2020-07-17 | global-functions: introduce and use $SymbolForNotificationchange-24 | 1 | -3/+3 | ||
2020-07-17 | netwatch-notify: use $SymbolByUnicodeName | 1 | -2/+3 | ||
2020-07-16 | netwatch-notify: move symbol before text | 1 | -2/+2 | ||
2020-07-06 | netwatch-notify: add up hook for consistency | 1 | -0/+4 | ||
Also this works around the permission/policy limitations in netwatch scripts. | |||||
2020-07-03 | netwatch-notify: add support for down hook | 1 | -1/+6 | ||
Adding up-hook does not make sense... Just use netwatch's up-script for that. | |||||
2020-06-19 | explicitly name the license | 1 | -0/+1 | ||
Copyright (C) 2013-2020 Christian Hesse <mail@eworm.de> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. https://www.gnu.org/licenses/#GPL https://www.gnu.org/licenses/gpl.html https://www.gnu.org/licenses/gpl.md | |||||
2020-03-27 | add doc/netwatch-notify.md | 1 | -0/+1 | ||
2020-03-24 | netwatch-notify: add fancy unicode symbols | 1 | -2/+2 | ||
https://www.compart.com/de/unicode/block/U+2700 | |||||
2020-03-24 | netwatch-notify: report the number of checks a host was down | 1 | -1/+3 | ||
2020-03-05 | netwatch-notify: add logging | 1 | -0/+4 | ||
2020-03-05 | netwatch-notify: fix handling of array | 1 | -8/+10 | ||
Looks like handling of more-dimensional arrays is a bit tricky in RouterOS... Without this *all* values with the same key name are updated, independent of intermediate name. | |||||
2020-03-05 | netwatch-notify: properly initialize default values | 1 | -1/+1 | ||
2020-03-04 | netwatch-notify: use another level of array | 1 | -6/+11 | ||
2020-03-04 | add script netwatch-notify | 1 | -0/+34 | ||