aboutsummaryrefslogtreecommitdiffstats
path: root/netwatch-notify
AgeCommit message (Collapse)AuthorFilesLines
2022-02-10netwatch-notify: allow to suppress notification on host downchange-76-v6Gravatar Christian Hesse1-7/+9
(cherry picked from commit c6e581d4f90c9bea0adf405685aa634e264d1f3b)
2022-01-03netwatch-notify: give netwatch some time to settleGravatar Christian Hesse1-0/+4
2022-01-03netwatch-notify: initialize after lockGravatar Christian Hesse1-2/+2
2022-01-03netwatch-notify: better match notify-entriesGravatar Christian Hesse1-77/+80
2022-01-01update copyright for 2022Gravatar Christian Hesse1-1/+1
2021-08-27netwatch-notify: use $ScriptLockGravatar Christian Hesse1-0/+3
2021-07-09netwatch-notify: implement pre-down hookchange-60Gravatar Christian Hesse1-0/+3
2021-07-08netwatch-notify: run hook from a functionGravatar Christian Hesse1-23/+26
2021-07-08netwatch-notify: add error handling for hooksGravatar Christian Hesse1-2/+10
We already had syntax validation, but a script with valid synctax can still fail to run...
2021-05-18netwatch-notify: add info on hook in notificationGravatar Christian Hesse1-8/+12
2021-05-06netwatch-notify: log failed resolve just onceGravatar Christian Hesse1-2/+7
2021-05-06netwatch-notify: attempt to update address with working resolver onlyGravatar Christian Hesse1-1/+2
2021-05-06netwatch-notify: support dynamic address updatechange-50Gravatar Christian Hesse1-0/+15
2021-05-06netwatch-notify: log on host up...Gravatar Christian Hesse1-2/+4
... if logged on host down before.
2021-04-28netwatch-notify: pass origin to $SendNotification2Gravatar Christian Hesse1-2/+4
2021-04-28netwatch-notify: use $SendNotification2Gravatar Christian Hesse1-6/+6
2021-02-26netwatch-notify: use $ValidateSyntaxGravatar Christian Hesse1-4/+13
2021-02-24global: give script or function name in log messagesGravatar Christian Hesse1-5/+6
2021-02-18global: drop script 'global-wait'change-44Gravatar Christian Hesse1-0/+3
All scripts wait for the global functions on their own now.
2021-01-01update copyright for 2021Gravatar Christian Hesse1-1/+1
2020-11-17netwatch-notify: increase count for every parent in chainGravatar Christian Hesse1-1/+3
2020-11-17netwatch-notify: support parents in a chainGravatar Christian Hesse1-3/+13
2020-11-17netwatch-notify: be more verbose in logsGravatar Christian Hesse1-2/+4
2020-11-17netwatch-notify: implemented simple dependency modelGravatar Christian Hesse1-2/+6
2020-11-17netwatch-notify: unbreak custom countGravatar Christian Hesse1-1/+1
2020-09-18extend magic pattern with "by RouterOS"Gravatar Christian Hesse1-1/+1
This matches the string included in export.
2020-08-24netwatch-notify: be more verbose on host downtimeGravatar Christian Hesse1-2/+7
Signed-off-by: Christian Hesse <mail@eworm.de>
2020-08-24netwatch-notify: make check count threshold configurableGravatar Christian Hesse1-2/+4
Signed-off-by: Christian Hesse <mail@eworm.de>
2020-07-18netwatch-notify: ignore disabled hostsGravatar Christian Hesse1-1/+1
2020-07-17global-functions: introduce and use $SymbolForNotificationchange-24Gravatar Christian Hesse1-3/+3
2020-07-17netwatch-notify: use $SymbolByUnicodeNameGravatar Christian Hesse1-2/+3
2020-07-16netwatch-notify: move symbol before textGravatar Christian Hesse1-2/+2
2020-07-06netwatch-notify: add up hook for consistencyGravatar Christian Hesse1-0/+4
Also this works around the permission/policy limitations in netwatch scripts.
2020-07-03netwatch-notify: add support for down hookGravatar Christian Hesse1-1/+6
Adding up-hook does not make sense... Just use netwatch's up-script for that.
2020-06-19explicitly name the licenseGravatar Christian Hesse1-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-27add doc/netwatch-notify.mdGravatar Christian Hesse1-0/+1
2020-03-24netwatch-notify: add fancy unicode symbolsGravatar Christian Hesse1-2/+2
https://www.compart.com/de/unicode/block/U+2700
2020-03-24netwatch-notify: report the number of checks a host was downGravatar Christian Hesse1-1/+3
2020-03-05netwatch-notify: add loggingGravatar Christian Hesse1-0/+4
2020-03-05netwatch-notify: fix handling of arrayGravatar Christian Hesse1-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-05netwatch-notify: properly initialize default valuesGravatar Christian Hesse1-1/+1
2020-03-04netwatch-notify: use another level of arrayGravatar Christian Hesse1-6/+11
2020-03-04add script netwatch-notifyGravatar Christian Hesse1-0/+34