<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)">
<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;}
/* 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;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@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-NZ" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">I’ll preface this by that I hate SNMP with a passion – but we here have a PRTG install which at least for the most part takes the pain out of this process.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m having issues trying to include the SNMP mib – and the whole agentx process. The SNMP docs are written by propeller heads, who obviously still like compiling everything.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We just want to monitor some stats out of DNSdist – with powerdns we use an exec to get values out and that works fine.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Our snmpd.conf has two very simple lines, which I think should be enough, but don’t seem to work:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">mibs +DNSDIST-MIB<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">master agentx<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">And we’ve download the DNSDIST-MIB.txt into the /usr/share/snmp/mibs dir. When I do an snmptranslate I get nadda…<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">snmptranslate -m +DNSDIST-MIB -IR latencyAVG100 <o:p></o:p></p>
<p class="MsoNormal">DNSDIST-MIB::latencyAVG100<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Help? Any pointers?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<table style="MARGIN-BOTTOM: 25px; FONT-FAMILY: 'Arial', Helvetica, sans-serif; COLOR: #565656; MARGIN-TOP: 35px" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td style="FONT-SIZE: 8px; PADDING-BOTTOM: 0px; TEXT-ALIGN: center; PADDING-TOP: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 20px">
<p style="FONT-SIZE: 8px !important; FONT-FAMILY: 'Arial', Helvetica, sans-serif; COLOR: #999; PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; MARGIN: 0px; PADDING-RIGHT: 0px" nowrap="">
<img style="HEIGHT: 37px; WIDTH: 160px" src="https://voyager.nz/images/sig/voyager.jpg"></p>
<p style="FONT-SIZE: 8px; FONT-FAMILY: 'Arial', Helvetica, sans-serif; COLOR: #999; PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; MARGIN: 7px 0px 0px; PADDING-RIGHT: 0px">
INTERNET | VOICE | HOSTING | DOMAINS</p>
</td>
<td style="BORDER-RIGHT: #ddd 1px solid; PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 20px; BORDER-LEFT: #ddd 1px solid; PADDING-RIGHT: 20px">
<p style="FONT-SIZE: 11px; FONT-FAMILY: 'Arial', Helvetica, sans-serif; MARGIN: 0px; DISPLAY: block">
<strong>Daniel Oakes</strong> | CTO</p>
<p style="FONT-SIZE: 10px; FONT-FAMILY: 'Arial', Helvetica, sans-serif; COLOR: #565656; MARGIN: 11px 0px 0px; DISPLAY: block">
<strong style="COLOR: #565656">DDI:</strong>+6437777770 | <strong style="COLOR: #565656">
M:</strong>+6421708317</p>
<p style="FONT-SIZE: 10px; FONT-FAMILY: 'Arial', Helvetica, sans-serif; COLOR: #999; MARGIN: 4px 0px 0px; DISPLAY: block">
<a style="COLOR: #999" href="mailto:daniel.oakes@voyager.nz">daniel.oakes@voyager.nz</a> |
<a style="COLOR: #999" href="https://voyager.nz">voyager.nz</a></p>
</td>
<td style="PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 20px; PADDING-RIGHT: 0px; WIDTH: 60px">
<a href="https://www.facebook.com/voyagernz"><img src="https://voyager.nz/images/sig/facebook.png"></a>
<a href="https://twitter.com/voyagernz"><img src="https://voyager.nz/images/sig/twitter.png"></a>
</td>
</tr>
</tbody>
</table>
<br>
</body>
</html>