<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"HL Effra";
panose-1:2 11 6 3 2 2 3 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Good afternoon,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have a couple of questions about the check_dns plugin that I was hoping you could answer. We’re trying to use the plugin in a service check which could return any IP in a certain subnet. We’re attempting to use CIDR notation to achieve
that but aren’t having any luck with it. We have two instances of Opsview running on our network. One using check_dns 2.2 from monitoring-plugins and one using 2.3.1 from Nagios-plugins. Neither of their man pages include a reference to CIDR<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">However, this suggests that CIDR should work from version 2.3 onwards:<o:p></o:p></p>
<p class="MsoNormal"><a href="https://github.com/monitoring-plugins/monitoring-plugins/blob/master/NEWS">https://github.com/monitoring-plugins/monitoring-plugins/blob/master/NEWS</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Where this manual for 2.2 says that it should accept CIDR:<o:p></o:p></p>
<p class="MsoNormal"><a href="https://www.monitoring-plugins.org/doc/man/check_dns.html">https://www.monitoring-plugins.org/doc/man/check_dns.html</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">And this manual for 2.3.3 again doesn’t mention CIDR<o:p></o:p></p>
<p class="MsoNormal"><a href="https://nagios-plugins.org/doc/man/check_dns.html">https://nagios-plugins.org/doc/man/check_dns.html</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Is there any difference in the versions available from monitoring-plugins and Nagios-plugins? Can you confirm which instance of either should accept CIDR and whether either of our instances should accept CIDR?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<div style="mso-element:para-border-div;border:none;border-bottom:solid #00DEB2 1.0pt;padding:0cm 0cm 1.0pt 0cm">
<p class="MsoNormal" style="border:none;padding:0cm"><span style="font-family:"HL Effra",sans-serif;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-family:"HL Effra",sans-serif;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#061B47;text-transform:uppercase;mso-fareast-language:EN-GB">Alex Gunn</span></b><b><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#061B47;mso-fareast-language:EN-GB"><br>
</span></b><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#061B47;mso-fareast-language:EN-GB">Network Support Engineer<br>
Hargreaves Lansdown<b><br>
<br>
</b><a href="mailto:alex.gunn@hl.co.uk">alex.gunn@hl.co.uk</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#061B47;mso-fareast-language:EN-GB">0117 906 7807 (ext: 3607)<br>
<br>
One College Square South<br>
Anchor Road<br>
Bristol, BS1 5HL<b><br>
<br>
</b></span><a href="http://www.hl.co.uk/"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#061B47;mso-fareast-language:EN-GB;text-decoration:none"><img border="0" width="148" height="44" style="width:1.5416in;height:.4583in" id="Picture_x0020_2" src="cid:image001.png@01D629C6.FCB17500"></span></a><span style="font-family:"HL Effra",sans-serif;color:#061B47;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><a href="https://twitter.com/HLInvest"><span style="color:windowtext;mso-fareast-language:EN-GB;text-decoration:none"><img border="0" width="26" height="29" style="width:.2708in;height:.302in" id="Picture_x0020_7" src="cid:image002.jpg@01D629C6.FCB17500"></span></a><a href="https://www.facebook.com/pages/Hargreaves-Lansdown/139193179458411"><span style="color:windowtext;mso-fareast-language:EN-GB;text-decoration:none"><img border="0" width="29" height="29" style="width:.302in;height:.302in" id="Picture_x0020_6" src="cid:image003.jpg@01D629C6.FCB17500"></span></a><a href="https://www.linkedin.com/company/37491/"><span style="color:windowtext;mso-fareast-language:EN-GB;text-decoration:none"><img border="0" width="29" height="29" style="width:.302in;height:.302in" id="Picture_x0020_5" src="cid:image004.jpg@01D629C6.FCB17500"></span></a><span style="mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br><pre><font color="blue">
=============================================================================
This email is intended solely for the recipient and is confidential and not for third party unauthorised distribution. If an addressing or transmission error has misdirected this email, please notify the author by replying to this email or notifying the system manager (online.security@hl.co.uk). If you are not the intended recipient you must not disclose, distribute, copy, print or rely on this email.
Any opinions expressed in this document are those of the author and do not necessarily reflect the opinions of Hargreaves Lansdown. In addition, staff are not authorised to enter into any contract through email and therefore nothing contained herein should be construed as such. Hargreaves Lansdown makes no warranty as to the accuracy or completeness of any information contained within this email. In particular, Hargreaves Lansdown does not accept responsibility for any changes made to this email after it was sent.
Hargreaves Lansdown Asset Management Limited (Company Registration No 1896481), Hargreaves Lansdown Fund Managers Limited (No 2707155) and Hargreaves Lansdown Advisory Services Limited (No 3509545) are authorised and regulated by the Financial Conduct Authority and registered in England and Wales. The registered office for all companies is One College Square South, Anchor Road, Bristol, BS1 5HL. Telephone: 0117 988 9880
</font></pre><br>
</body>
</html>