Thanks Ales, Do you run dnsdist as dnsdist? What are your run parameters? I've tried the below without much luck unfortunately.
Cheers, Daniel Daniel Oakes | CTO DDI:+6437777770 | M:+6421708317 daniel.oa...@voyager.nz | voyager.nz Voyager. INTERNET | VOICE | HOSTING | DOMAINS -----Original Message----- From: dnsdist [mailto:dnsdist-boun...@mailman.powerdns.com] On Behalf Of Aleš Rygl Sent: Monday, 15 May 2017 6:21 PM To: dnsdist@mailman.powerdns.com Subject: Re: [dnsdist] The lubbly SNMP / Stats etc Hi Daniel, I am just running and testing dnsdist from master branch on Debian 8.7 and it worked for me nearly out of the box: dnsdist.conf: snmpAgent(true,'/var/agentx/master') snmpd.conf: agentAddress udp:<ip of dnsdist box> rocommunity dnsdist42 agentXSocket /var/agentx/master master agentx agentxperms 0777 0700 _dnsdist _dnsdist (this is slightly different from documentation. Without changing permissions dnsdist is not able to access the socket) When you restart dnsdist you should see it registering - check your logs: May 15 08:16:42 congo dnsdist[12166]: NET-SNMP version 5.7.3 AgentX subagent connected The user doing SNMP queries must have DNSDIST-MIB in .snmp/mibs or the have to be system wide installed: snmpwalk -v 2c -c dnsdist42 testbox DNSDIST-MIB:queries DNSDIST-MIB::queries.0 = Counter64: 4873019010 Cheers Ales Rygl On pondělí 15. května 2017 3:06:33 CEST Daniel Oakes wrote: > 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. > > 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. > > We just want to monitor some stats out of DNSdist - with powerdns we > use an exec to get values out and that works fine. > > Our snmpd.conf has two very simple lines, which I think should be > enough, but don't seem to work: > > mibs +DNSDIST-MIB > > master agentx > > And we've download the DNSDIST-MIB.txt into the /usr/share/snmp/mibs dir. > When I do an snmptranslate I get nadda... > > snmptranslate -m +DNSDIST-MIB -IR latencyAVG100 > DNSDIST-MIB::latencyAVG100 > > Help? Any pointers? _______________________________________________ dnsdist mailing list dnsdist@mailman.powerdns.com https://mailman.powerdns.com/mailman/listinfo/dnsdist _______________________________________________ dnsdist mailing list dnsdist@mailman.powerdns.com https://mailman.powerdns.com/mailman/listinfo/dnsdist