Age | Commit message (Expand) | Author | Files | Lines |
---|---|---|---|---|
2022-07-06 | 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. change-82 | Christian Hesse | 1 | -3/+3 |
2022-07-06 | netwatch-notify: properly check for disabled state•••Looks like checking for 'disabled=no' fails with net netwatch in RouterOS 7.4... | Christian Hesse | 1 | -1/+1 |
2022-06-20 | global-functions: rename internal function: $DNSIsResolving -> $IsDNSResolving | Christian Hesse | 1 | -2/+2 |
2022-05-11 | netwatch-notify: RouterOS v7 path syntax | Christian Hesse | 1 | -4/+4 |
2022-02-10 | netwatch-notify: nest conditions•••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. | Christian Hesse | 1 | -15/+17 |
2022-02-10 | netwatch-notify: allow to suppress notification on host downchange-76 | Christian Hesse | 1 | -7/+9 |
2022-01-03 | netwatch-notify: give netwatch some time to settle | Christian Hesse | 1 | -0/+4 |
2022-01-03 | netwatch-notify: initialize after lock | Christian Hesse | 1 | -2/+2 |
2022-01-03 | netwatch-notify: better match notify-entries | Christian Hesse | 1 | -77/+80 |
2022-01-01 | update copyright for 2022 | Christian Hesse | 1 | -1/+1 |
2021-08-27 | netwatch-notify: use $ScriptLock | Christian Hesse | 1 | -0/+3 |
2021-07-09 | netwatch-notify: implement pre-down hookchange-60 | Christian Hesse | 1 | -0/+3 |
2021-07-08 | netwatch-notify: run hook from a function | Christian Hesse | 1 | -23/+26 |
2021-07-08 | netwatch-notify: add error handling for hooks•••We already had syntax validation, but a script with valid synctax can still fail to run... | Christian Hesse | 1 | -2/+10 |
2021-05-18 | netwatch-notify: add info on hook in notification | Christian Hesse | 1 | -8/+12 |
2021-05-06 | netwatch-notify: log failed resolve just once | Christian Hesse | 1 | -2/+7 |
2021-05-06 | netwatch-notify: attempt to update address with working resolver only | Christian Hesse | 1 | -1/+2 |
2021-05-06 | netwatch-notify: support dynamic address updatechange-50 | Christian Hesse | 1 | -0/+15 |
2021-05-06 | netwatch-notify: log on host up...•••... if logged on host down before. | Christian Hesse | 1 | -2/+4 |
2021-04-28 | netwatch-notify: pass origin to $SendNotification2 | Christian Hesse | 1 | -2/+4 |
2021-04-28 | netwatch-notify: use $SendNotification2 | Christian Hesse | 1 | -6/+6 |
2021-02-26 | netwatch-notify: use $ValidateSyntax | Christian Hesse | 1 | -4/+13 |
2021-02-24 | global: give script or function name in log messages | Christian Hesse | 1 | -5/+6 |
2021-02-18 | global: drop script 'global-wait'•••All scripts wait for the global functions on their own now. change-44 | Christian Hesse | 1 | -0/+3 |
2021-01-01 | update copyright for 2021 | Christian Hesse | 1 | -1/+1 |
2020-11-17 | netwatch-notify: increase count for every parent in chain | Christian Hesse | 1 | -1/+3 |
2020-11-17 | netwatch-notify: support parents in a chain | Christian Hesse | 1 | -3/+13 |
2020-11-17 | netwatch-notify: be more verbose in logs | Christian Hesse | 1 | -2/+4 |
2020-11-17 | netwatch-notify: implemented simple dependency model | Christian Hesse | 1 | -2/+6 |
2020-11-17 | netwatch-notify: unbreak custom count | Christian Hesse | 1 | -1/+1 |
2020-09-18 | extend magic pattern with "by RouterOS"•••This matches the string included in export. | Christian Hesse | 1 | -1/+1 |
2020-08-24 | netwatch-notify: be more verbose on host downtime•••Signed-off-by: Christian Hesse <mail@eworm.de> | Christian Hesse | 1 | -2/+7 |
2020-08-24 | netwatch-notify: make check count threshold configurable•••Signed-off-by: Christian Hesse <mail@eworm.de> | Christian Hesse | 1 | -2/+4 |
2020-07-18 | netwatch-notify: ignore disabled hosts | Christian Hesse | 1 | -1/+1 |
2020-07-17 | global-functions: introduce and use $SymbolForNotificationchange-24 | Christian Hesse | 1 | -3/+3 |
2020-07-17 | netwatch-notify: use $SymbolByUnicodeName | Christian Hesse | 1 | -2/+3 |
2020-07-16 | netwatch-notify: move symbol before text | Christian Hesse | 1 | -2/+2 |
2020-07-06 | netwatch-notify: add up hook for consistency•••Also this works around the permission/policy limitations in netwatch scripts. | Christian Hesse | 1 | -0/+4 |
2020-07-03 | netwatch-notify: add support for down hook•••Adding up-hook does not make sense... Just use netwatch's up-script for that. | Christian Hesse | 1 | -1/+6 |
2020-06-19 | explicitly name the license•••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 | Christian Hesse | 1 | -0/+1 |
2020-03-27 | add doc/netwatch-notify.md | Christian Hesse | 1 | -0/+1 |
2020-03-24 | netwatch-notify: add fancy unicode symbols•••https://www.compart.com/de/unicode/block/U+2700 | Christian Hesse | 1 | -2/+2 |
2020-03-24 | netwatch-notify: report the number of checks a host was down | Christian Hesse | 1 | -1/+3 |
2020-03-05 | netwatch-notify: add logging | Christian Hesse | 1 | -0/+4 |
2020-03-05 | netwatch-notify: fix handling of array•••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. | Christian Hesse | 1 | -8/+10 |
2020-03-05 | netwatch-notify: properly initialize default values | Christian Hesse | 1 | -1/+1 |
2020-03-04 | netwatch-notify: use another level of array | Christian Hesse | 1 | -6/+11 |
2020-03-04 | add script netwatch-notify | Christian Hesse | 1 | -0/+34 |