[mrtg] MRTG queries

Pavel Ruzicka pavouk at pavouk.org
Tue Mar 30 10:42:19 CEST 2010


Hello,

> I would like to know how to monitor dns queries in MRTG graph.
> please give me any idea.
> 
> With Regards
> pyaephyo

This is my MRTG config for statistics from BIND9 recursive and authoritative
servers:
--------------------------------------------------------------------
#
Target[rs1.company.tld_dns_suc_fail]: 
.1.3.6.1.4.1.2021.8.1.101.1&.1.3.6.1.4.1.2021.8.1.101.2:public at rs1.company.tld:::2::2
MaxBytes[rs1.company.tld_dns_suc_fail]: 10000
Title[rs1.company.tld_dns_suc_fail]: DNS success, failures - rs1.company.tld
PageTop[rs1.company.tld_dns_suc_fail]: <h1>DNS success, failures - 
rs1.company.tld</h1>
  <table>
    <tr><td>Description:</td><td>DNS success, failures - 
rs1.company.tld</td></tr>
  </table>
ShortLegend[rs1.company.tld_dns_suc_fail]: queries
YLegend[rs1.company.tld_dns_suc_fail]: queries
Legend1[rs1.company.tld_dns_suc_fail]: Success queries
Legend2[rs1.company.tld_dns_suc_fail]: Failed queries
LegendI[rs1.company.tld_dns_suc_fail]: Success:
LegendO[rs1.company.tld_dns_suc_fail]: Failure:
Options[rs1.company.tld_dns_suc_fail]: growright, nopercent
AddHead[rs1.company.tld_dns_suc_fail]:<link rel="stylesheet" type="text/css" 
href="../css/14all.css" />
PageFoot[rs1.company.tld_dns_suc_fail]:<div>MRTG &copy;<a href="http://ee-
staff.ethz.ch/~oetiker/">Tobias Oetiker</a></div>
#
Target[rs1.company.tld_dns_nxdom_recur]: 
.1.3.6.1.4.1.2021.8.1.101.3&.1.3.6.1.4.1.2021.8.1.101.4:public at rs1.company.tld:::2::2
MaxBytes[rs1.company.tld_dns_nxdom_recur]: 10000
Title[rs1.company.tld_dns_nxdom_recur]: DNS nxdomain, recursion - 
rs1.company.tld
PageTop[rs1.company.tld_dns_nxdom_recur]: <h1>DNS nxdomain, recursion - 
rs1.company.tld</h1>
  <table>
    <tr><td>Description:</td><td>DNS nxdomain, recursion - 
rs1.company.tld</td></tr>
  </table>
ShortLegend[rs1.company.tld_dns_nxdom_recur]: queries
YLegend[rs1.company.tld_dns_nxdom_recur]: queries
Legend1[rs1.company.tld_dns_nxdom_recur]: nxdomain queries
Legend2[rs1.company.tld_dns_nxdom_recur]: recursion queries
LegendI[rs1.company.tld_dns_nxdom_recur]: nxdomain:
LegendO[rs1.company.tld_dns_nxdom_recur]: recursion:
Options[rs1.company.tld_dns_nxdom_recur]: growright, nopercent
AddHead[rs1.company.tld_dns_nxdom_recur]:<link rel="stylesheet" 
type="text/css" href="../css/14all.css" />
PageFoot[rs1.company.tld_dns_nxdom_recur]:<div>MRTG &copy;<a href="http://ee-
staff.ethz.ch/~oetiker/">Tobias Oetiker</a></div>
#
Target[ns1.company.tld_dns_suc_fail]: 
.1.3.6.1.4.1.2021.8.1.101.1&.1.3.6.1.4.1.2021.8.1.101.2:public at ns1.company.tld:::2::2
MaxBytes[ns1.company.tld_dns_suc_fail]: 10000
Title[ns1.company.tld_dns_suc_fail]: DNS success, failures - ns1.company.tld
PageTop[ns1.company.tld_dns_suc_fail]: <h1>DNS success, failures - 
ns1.company.tld</h1>
  <table>
    <tr><td>Description:</td><td>DNS success, failures - 
ns1.company.tld</td></tr>
  </table>
ShortLegend[ns1.company.tld_dns_suc_fail]: queries
YLegend[ns1.company.tld_dns_suc_fail]: queries
Legend1[ns1.company.tld_dns_suc_fail]: Success queries
Legend2[ns1.company.tld_dns_suc_fail]: Failed queries
LegendI[ns1.company.tld_dns_suc_fail]: Success:
LegendO[ns1.company.tld_dns_suc_fail]: Failure:
Options[ns1.company.tld_dns_suc_fail]: growright, nopercent
AddHead[ns1.company.tld_dns_suc_fail]:<link rel="stylesheet" type="text/css" 
href="../css/14all.css" />
PageFoot[ns1.company.tld_dns_suc_fail]:<div>MRTG &copy;<a href="http://ee-
staff.ethz.ch/~oetiker/">Tobias Oetiker</a></div>
#
Target[ns1.company.tld_dns_nxdom_recur]: 
.1.3.6.1.4.1.2021.8.1.101.3&.1.3.6.1.4.1.2021.8.1.101.4:public at ns1.company.tld:::2::2
MaxBytes[ns1.company.tld_dns_nxdom_recur]: 10000
Title[ns1.company.tld_dns_nxdom_recur]: DNS nxdomain, recursion - 
ns1.company.tld
PageTop[ns1.company.tld_dns_nxdom_recur]: <h1>DNS nxdomain, recursion - 
ns1.company.tld</h1>
  <table>
    <tr><td>Description:</td><td>DNS nxdomain, recursion - 
ns1.company.tld</td></tr>
  </table>
ShortLegend[ns1.company.tld_dns_nxdom_recur]: queries
YLegend[ns1.company.tld_dns_nxdom_recur]: queries
Legend1[ns1.company.tld_dns_nxdom_recur]: nxdomain queries
Legend2[ns1.company.tld_dns_nxdom_recur]: recursion queries
LegendI[ns1.company.tld_dns_nxdom_recur]: nxdomain:
LegendO[ns1.company.tld_dns_nxdom_recur]: recursion:
Options[ns1.company.tld_dns_nxdom_recur]: growright, nopercent
AddHead[ns1.company.tld_dns_nxdom_recur]:<link rel="stylesheet" 
type="text/css" href="../css/14all.css" />
PageFoot[ns1.company.tld_dns_nxdom_recur]:<div>MRTG &copy;<a href="http://ee-
staff.ethz.ch/~oetiker/">Tobias Oetiker</a></div>
----------------------------------------------------------------------------------
You must configure SNMP server with bind statistics on DNS servers, but these 
servers are not in my administration.

Best regards,

Pavel Ruzicka



More information about the mrtg mailing list