Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 7fb7453276ed232799967a735f291f3e80e1262a
https://github.com/tribe29/checkmk/commit/7fb7453276ed232799967a735f291f3e8…
Author: Ulrich Bschorer <ulrich.bschorer(a)tribe29.com>
Date: 2021-10-28 (Thu, 28 Oct 2021)
Changed paths:
A .werks/13170
M checks/check_dns
M cmk/gui/plugins/wato/active_checks.py
Log Message:
-----------
13170 check_dns: added option to use default DNS server
If no DNS server is specified the error message "CRITICAL - Plugin timed out while
executing system call" could have been reported.
The reason for this error is that the check_dns option "-s" is used with the
hostname as DNS server. The host might not be a DNS server
and a timeout occurs.
The new option "Use default DNS server" will omit the option "-s" for
check_dns. In this case the default DNS server of the checkmk server
will be used and no timeout occurs any more.
Change-Id: Ibc7de2b1c8638767eb3ac20654e039c9b8322a1d