Hi List,
I want to perform an active DNS check on my bind server but the pages are not giving me extra info (excuses for being rather n00b on this)
https://mathias-kettner.com/checkmk_check_check_dns.html
A few hints probably will make me go “Aaah”
Tnx
Paul
(Paul)
2
Run the plugin from the command line and you will see what input options you have.
[root@myhost ~]# /opt/omd/versions/1.4.0p11.cre/lib/nagios/plugins/check_dns --help
check_dns v2.2 (monitoring-plugins 2.2)
···
On Fri, Oct 6, 2017 at 9:02 AM, Philippe Duthoit (3E) Philippe.Duthoit@3e.eu wrote:
Hi List,
I want to perform an active DNS check on my bind server but the pages are not giving me extra info (excuses for being rather n00b on this)
https://mathias-kettner.com/checkmk_check_check_dns.html
A few hints probably will make me go “Aaah”
Tnx
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
Tnx Paul, but I would have expected a plugin that
was configurable and could be initiated via the check_mk
dashboard
afaics we need to wrap the tool with some
paraneters and do the evaluation ourself ?
As you can see, I'm very unfamiliar with plugins
and check_mk
P.
···
On 10/06/2017 06:27 PM, Paul D wrote:
Run the plugin from the command line and you will
see what input options you have.
[root@myhost ~]#
/opt/omd/versions/1.4.0p11.cre/lib/nagios/plugins/check_dns
–help
check_dns v2.2 (monitoring-plugins 2.2)
Copyright (c) 1999 Ethan Galstad nagios@nagios.org
Copyright (c) 2000-2008 Monitoring Plugins Development
Team
devel@monitoring-plugins.org
This plugin uses the nslookup program to obtain the IP
address for the given host/domain query.
An optional DNS server to use may be specified.
If no DNS server is specified, the default server(s)
specified in /etc/resolv.conf will be used.
Usage:
check_dns -H host [-s server] [-a expected-address] [-A]
[-t timeout] [-w warn] [-c crit]
Options:
-h, --help
Print detailed help screen
-V, --version
Print version information
–extra-opts=[section][@file]
Read options from an ini file. See
https://www.monitoring-plugins.org/doc/extra-opts.html
for usage and examples.
-H, --hostname=HOST
The name or address you want to query
-s, --server=HOST
Optional DNS server you want to use for the lookup
-a, --expected-address=IP-ADDRESS|HOST
Optional IP-ADDRESS you expect the DNS server to
return. HOST must end with
a dot (.). This option can be repeated multiple times
(Returns OK if any
value match). If multiple addresses are returned at
once, you have to match
the whole string of addresses separated with commas
(sorted alphabetically).
-A, --expect-authority
Optionally expect the DNS server to be authoritative
for the lookup
-w, --warning=seconds
Return warning if elapsed time exceeds value. Default
off
-c, --critical=seconds
Return critical if elapsed time exceeds value.
Default off
-t, --timeout=INTEGER
Seconds before connection times out (default: 10)
Send email to help@monitoring-plugins.org if
you have questions regarding
use of this software. To submit patches or suggest
improvements, send email
to devel@monitoring-plugins.org
On Fri, Oct 6, 2017 at 9:02 AM,
Philippe Duthoit (3E) Philippe.Duthoit@3e.eu
wrote:
Hi
List,
I
want to perform an active DNS check on my bind
server but the pages are not giving me extra info
(excuses for being rather n00b on this)
https://mathias-kettner.com/checkmk_check_check_dns.html
A
few hints probably will make me go “Aaah”
Tnx
_______________________________________________
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
[http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en](http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en)
Paul
(Paul)
4
There is an active check you can configure for this.
WATO → Host and Service Parameters → Active Checks → Check DNS service
Also, when viewing WATO, click the little stack of books in the top right and it will give you documentation where applicable.
···
On Tue, Oct 10, 2017 at 6:31 AM, Philippe Duthoit pdt@3e.eu wrote:
Tnx Paul, but I would have expected a plugin that
was configurable and could be initiated via the check_mk
dashboard
afaics we need to wrap the tool with some
paraneters and do the evaluation ourself ?
As you can see, I'm very unfamiliar with plugins
and check_mk
P.
On 10/06/2017 06:27 PM, Paul D wrote:
Run the plugin from the command line and you will
see what input options you have.
[root@myhost ~]#
/opt/omd/versions/1.4.0p11.cre/lib/nagios/plugins/check_ dns
–help
check_dns v2.2 (monitoring-plugins 2.2)
Copyright (c) 1999 Ethan Galstad nagios@nagios.org
Copyright (c) 2000-2008 Monitoring Plugins Development
Team
<devel@monitoring-plugins.org>
This plugin uses the nslookup program to obtain the IP
address for the given host/domain query.
An optional DNS server to use may be specified.
If no DNS server is specified, the default server(s)
specified in /etc/resolv.conf will be used.
Usage:
check_dns -H host [-s server] [-a expected-address] [-A]
[-t timeout] [-w warn] [-c crit]
Options:
-h, --help
Print detailed help screen
-V, --version
Print version information
–extra-opts=[section][@file]
Read options from an ini file. See
https://www.monitoring-plugins.org/doc/extra-opts.html
for usage and examples.
-H, --hostname=HOST
The name or address you want to query
-s, --server=HOST
Optional DNS server you want to use for the lookup
-a, --expected-address=IP-ADDRESS|HOST
Optional IP-ADDRESS you expect the DNS server to
return. HOST must end with
a dot (.). This option can be repeated multiple times
(Returns OK if any
value match). If multiple addresses are returned at
once, you have to match
the whole string of addresses separated with commas
(sorted alphabetically).
-A, --expect-authority
Optionally expect the DNS server to be authoritative
for the lookup
-w, --warning=seconds
Return warning if elapsed time exceeds value. Default
off
-c, --critical=seconds
Return critical if elapsed time exceeds value.
Default off
-t, --timeout=INTEGER
Seconds before connection times out (default: 10)
Send email to help@monitoring-plugins.org if
you have questions regarding
use of this software. To submit patches or suggest
improvements, send email
to devel@monitoring-plugins.org
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
On Fri, Oct 6, 2017 at 9:02 AM,
Philippe Duthoit (3E) Philippe.Duthoit@3e.eu
wrote:
Hi
List,
I
want to perform an active DNS check on my bind
server but the pages are not giving me extra info
(excuses for being rather n00b on this)
https://mathias-kettner.com/checkmk_check_check_dns.html
A
few hints probably will make me go “Aaah”
Tnx
_______________________________________________
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
[http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en](http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en)