<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello <br>
</p>
<p>As suggested in the mail I'm contacting
<a class="moz-txt-link-abbreviated" href="mailto:help@monitoring-plugins.org">help@monitoring-plugins.org</a> about the usage of plugins</p>
<p>I am aware how to use the plugin itself, but I'm having
diffuculties understanding how to use the plugin in check_mk ?</p>
<p>If I need to run the plugin on the remote host in the pluging dir
I clearly need to wrap it and evaluate the outcome, but this looks
like developing a new script myself, so I think I'm missing some
mindset here in how these things are used ?</p>
<p>Running the plugin on the monitoring server also seems weird</p>
<p>Any suggestions ?</p>
<p>Tia<br>
</p>
<div class="moz-forward-container"><br>
<br>
-------- Forwarded Message --------
<table class="moz-email-headers-table" cellspacing="0"
cellpadding="0" border="0">
<tbody>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">Subject:
</th>
<td>Re: [Check_mk (english)] Check manual page of check_dns</td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">Date: </th>
<td>Fri, 6 Oct 2017 09:27:48 -0700</td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">From: </th>
<td>Paul D <a class="moz-txt-link-rfc2396E" href="mailto:paulmonitoring@gmail.com"><paulmonitoring@gmail.com></a></td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">To: </th>
<td>Philippe Duthoit (3E) <a class="moz-txt-link-rfc2396E" href="mailto:Philippe.Duthoit@3e.eu"><Philippe.Duthoit@3e.eu></a></td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">CC: </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:checkmk-en@lists.mathias-kettner.de">checkmk-en@lists.mathias-kettner.de</a>
<a class="moz-txt-link-rfc2396E" href="mailto:checkmk-en@lists.mathias-kettner.de"><checkmk-en@lists.mathias-kettner.de></a></td>
</tr>
</tbody>
</table>
<br>
<br>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div dir="ltr">Run the plugin from the command line and you will
see what input options you have.
<div><br>
</div>
<div>
<div>[root@myhost ~]#
/opt/omd/versions/1.4.0p11.cre/lib/nagios/plugins/check_dns
--help</div>
<div>check_dns v2.2 (monitoring-plugins 2.2)</div>
<div>Copyright (c) 1999 Ethan Galstad <<a
href="mailto:nagios@nagios.org" moz-do-not-send="true">nagios@nagios.org</a>></div>
<div>Copyright (c) 2000-2008 Monitoring Plugins Development
Team</div>
<div><span style="white-space:pre"> </span><<a
href="mailto:devel@monitoring-plugins.org"
moz-do-not-send="true">devel@monitoring-plugins.org</a>></div>
<div><br>
</div>
<div>This plugin uses the nslookup program to obtain the IP
address for the given host/domain query.</div>
<div>An optional DNS server to use may be specified.</div>
<div>If no DNS server is specified, the default server(s)
specified in /etc/resolv.conf will be used.</div>
<div><br>
</div>
<div><br>
</div>
<div>Usage:</div>
<div>check_dns -H host [-s server] [-a expected-address] [-A]
[-t timeout] [-w warn] [-c crit]</div>
<div><br>
</div>
<div>Options:</div>
<div> -h, --help</div>
<div> Print detailed help screen</div>
<div> -V, --version</div>
<div> Print version information</div>
<div> --extra-opts=[section][@file]</div>
<div> Read options from an ini file. See</div>
<div> <a
href="https://www.monitoring-plugins.org/doc/extra-opts.html"
moz-do-not-send="true">https://www.monitoring-plugins.org/doc/extra-opts.html</a></div>
<div> for usage and examples.</div>
<div> -H, --hostname=HOST</div>
<div> The name or address you want to query</div>
<div> -s, --server=HOST</div>
<div> Optional DNS server you want to use for the lookup</div>
<div> -a, --expected-address=IP-ADDRESS|HOST</div>
<div> Optional IP-ADDRESS you expect the DNS server to
return. HOST must end with</div>
<div> a dot (.). This option can be repeated multiple times
(Returns OK if any</div>
<div> value match). If multiple addresses are returned at
once, you have to match</div>
<div> the whole string of addresses separated with commas
(sorted alphabetically).</div>
<div> -A, --expect-authority</div>
<div> Optionally expect the DNS server to be authoritative
for the lookup</div>
<div> -w, --warning=seconds</div>
<div> Return warning if elapsed time exceeds value. Default
off</div>
<div> -c, --critical=seconds</div>
<div> Return critical if elapsed time exceeds value.
Default off</div>
<div> -t, --timeout=INTEGER</div>
<div> Seconds before connection times out (default: 10)</div>
<div><br>
</div>
<div>Send email to <a
href="mailto:help@monitoring-plugins.org"
moz-do-not-send="true">help@monitoring-plugins.org</a> if
you have questions regarding</div>
<div>use of this software. To submit patches or suggest
improvements, send email</div>
<div>to <a href="mailto:devel@monitoring-plugins.org"
moz-do-not-send="true">devel@monitoring-plugins.org</a></div>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Oct 6, 2017 at 9:02 AM,
Philippe Duthoit (3E) <span dir="ltr"><<a
href="mailto:Philippe.Duthoit@3e.eu" target="_blank"
moz-do-not-send="true">Philippe.Duthoit@3e.eu</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="white" link="#0563C1" vlink="#954F72"
lang="EN-US">
<div class="m_7294483242984548389WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Hi
List,</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">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)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><a
href="https://mathias-kettner.com/checkmk_check_check_dns.html"
target="_blank" moz-do-not-send="true">https://mathias-kettner.com/<wbr>checkmk_check_check_dns.html</a></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">A
few hints probably will make me go “Aaah”</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Tnx</span></p>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
checkmk-en mailing list<br>
<a href="mailto:checkmk-en@lists.mathias-kettner.de"
moz-do-not-send="true">checkmk-en@lists.mathias-<wbr>kettner.de</a><br>
<a
href="http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.mathias-kettner.<wbr>de/mailman/listinfo/checkmk-en</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</body>
</html>