1
0
Fork 0

Adding upstream version 1.34.4.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-05-24 07:26:29 +02:00
parent e393c3af3f
commit 4978089aab
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
4963 changed files with 677545 additions and 0 deletions

926
plugins/inputs/bind/testdata/xml/v2 vendored Normal file
View file

@ -0,0 +1,926 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/bind9.xsl"?>
<isc version="1.0">
<bind>
<statistics version="2.2">
<views>
<view>
<name>_default</name>
<rdtype>
<name>A</name>
<counter>2936881</counter>
</rdtype>
<rdtype>
<name>NS</name>
<counter>28994</counter>
</rdtype>
<rdtype>
<name>CNAME</name>
<counter>26</counter>
</rdtype>
<rdtype>
<name>SOA</name>
<counter>15131</counter>
</rdtype>
<rdtype>
<name>PTR</name>
<counter>47924</counter>
</rdtype>
<rdtype>
<name>MX</name>
<counter>1884</counter>
</rdtype>
<rdtype>
<name>TXT</name>
<counter>6486</counter>
</rdtype>
<rdtype>
<name>AAAA</name>
<counter>949781</counter>
</rdtype>
<rdtype>
<name>SRV</name>
<counter>14740</counter>
</rdtype>
<rdtype>
<name>NAPTR</name>
<counter>1606</counter>
</rdtype>
<rdtype>
<name>DS</name>
<counter>25</counter>
</rdtype>
<rdtype>
<name>SSHFP</name>
<counter>185</counter>
</rdtype>
<rdtype>
<name>DNSKEY</name>
<counter>13</counter>
</rdtype>
<rdtype>
<name>ANY</name>
<counter>1</counter>
</rdtype>
<resstat>
<name>Queryv4</name>
<counter>3765426</counter>
</resstat>
<resstat>
<name>Queryv6</name>
<counter>238251</counter>
</resstat>
<resstat>
<name>Responsev4</name>
<counter>3716142</counter>
</resstat>
<resstat>
<name>Responsev6</name>
<counter>1</counter>
</resstat>
<resstat>
<name>NXDOMAIN</name>
<counter>100052</counter>
</resstat>
<resstat>
<name>SERVFAIL</name>
<counter>5894</counter>
</resstat>
<resstat>
<name>FORMERR</name>
<counter>2041</counter>
</resstat>
<resstat>
<name>OtherError</name>
<counter>14801</counter>
</resstat>
<resstat>
<name>EDNS0Fail</name>
<counter>2615</counter>
</resstat>
<resstat>
<name>Mismatch</name>
<counter>0</counter>
</resstat>
<resstat>
<name>Truncated</name>
<counter>598</counter>
</resstat>
<resstat>
<name>Lame</name>
<counter>117</counter>
</resstat>
<resstat>
<name>Retry</name>
<counter>383343</counter>
</resstat>
<resstat>
<name>QueryAbort</name>
<counter>0</counter>
</resstat>
<resstat>
<name>QuerySockFail</name>
<counter>0</counter>
</resstat>
<resstat>
<name>QueryTimeout</name>
<counter>50874</counter>
</resstat>
<resstat>
<name>GlueFetchv4</name>
<counter>260749</counter>
</resstat>
<resstat>
<name>GlueFetchv6</name>
<counter>225310</counter>
</resstat>
<resstat>
<name>GlueFetchv4Fail</name>
<counter>5756</counter>
</resstat>
<resstat>
<name>GlueFetchv6Fail</name>
<counter>141500</counter>
</resstat>
<resstat>
<name>ValAttempt</name>
<counter>0</counter>
</resstat>
<resstat>
<name>ValOk</name>
<counter>0</counter>
</resstat>
<resstat>
<name>ValNegOk</name>
<counter>0</counter>
</resstat>
<resstat>
<name>ValFail</name>
<counter>0</counter>
</resstat>
<resstat>
<name>QryRTT10</name>
<counter>458176</counter>
</resstat>
<resstat>
<name>QryRTT100</name>
<counter>3010133</counter>
</resstat>
<resstat>
<name>QryRTT500</name>
<counter>244312</counter>
</resstat>
<resstat>
<name>QryRTT800</name>
<counter>1275</counter>
</resstat>
<resstat>
<name>QryRTT1600</name>
<counter>361</counter>
</resstat>
<resstat>
<name>QryRTT1600+</name>
<counter>236</counter>
</resstat>
<cache name="_default">
<rrset>
<name>A</name>
<counter>2700</counter>
</rrset>
<rrset>
<name>NS</name>
<counter>759</counter>
</rrset>
<rrset>
<name>CNAME</name>
<counter>486</counter>
</rrset>
<rrset>
<name>SOA</name>
<counter>2</counter>
</rrset>
<rrset>
<name>PTR</name>
<counter>6</counter>
</rrset>
<rrset>
<name>TXT</name>
<counter>2</counter>
</rrset>
<rrset>
<name>AAAA</name>
<counter>629</counter>
</rrset>
<rrset>
<name>SRV</name>
<counter>1</counter>
</rrset>
<rrset>
<name>DS</name>
<counter>48</counter>
</rrset>
<rrset>
<name>RRSIG</name>
<counter>203</counter>
</rrset>
<rrset>
<name>NSEC</name>
<counter>22</counter>
</rrset>
<rrset>
<name>DNSKEY</name>
<counter>1</counter>
</rrset>
<rrset>
<name>!A</name>
<counter>6</counter>
</rrset>
<rrset>
<name>!SOA</name>
<counter>26</counter>
</rrset>
<rrset>
<name>!AAAA</name>
<counter>84</counter>
</rrset>
<rrset>
<name>!NAPTR</name>
<counter>3</counter>
</rrset>
<rrset>
<name>NXDOMAIN</name>
<counter>143</counter>
</rrset>
</cache>
</view>
<view>
<name>_bind</name>
<resstat>
<name>Queryv4</name>
<counter>0</counter>
</resstat>
<resstat>
<name>Queryv6</name>
<counter>0</counter>
</resstat>
<resstat>
<name>Responsev4</name>
<counter>0</counter>
</resstat>
<resstat>
<name>Responsev6</name>
<counter>0</counter>
</resstat>
<resstat>
<name>NXDOMAIN</name>
<counter>0</counter>
</resstat>
<resstat>
<name>SERVFAIL</name>
<counter>0</counter>
</resstat>
<resstat>
<name>FORMERR</name>
<counter>0</counter>
</resstat>
<resstat>
<name>OtherError</name>
<counter>0</counter>
</resstat>
<resstat>
<name>EDNS0Fail</name>
<counter>0</counter>
</resstat>
<resstat>
<name>Mismatch</name>
<counter>0</counter>
</resstat>
<resstat>
<name>Truncated</name>
<counter>0</counter>
</resstat>
<resstat>
<name>Lame</name>
<counter>0</counter>
</resstat>
<resstat>
<name>Retry</name>
<counter>0</counter>
</resstat>
<resstat>
<name>QueryAbort</name>
<counter>0</counter>
</resstat>
<resstat>
<name>QuerySockFail</name>
<counter>0</counter>
</resstat>
<resstat>
<name>QueryTimeout</name>
<counter>0</counter>
</resstat>
<resstat>
<name>GlueFetchv4</name>
<counter>0</counter>
</resstat>
<resstat>
<name>GlueFetchv6</name>
<counter>0</counter>
</resstat>
<resstat>
<name>GlueFetchv4Fail</name>
<counter>0</counter>
</resstat>
<resstat>
<name>GlueFetchv6Fail</name>
<counter>0</counter>
</resstat>
<resstat>
<name>ValAttempt</name>
<counter>0</counter>
</resstat>
<resstat>
<name>ValOk</name>
<counter>0</counter>
</resstat>
<resstat>
<name>ValNegOk</name>
<counter>0</counter>
</resstat>
<resstat>
<name>ValFail</name>
<counter>0</counter>
</resstat>
<resstat>
<name>QryRTT10</name>
<counter>0</counter>
</resstat>
<resstat>
<name>QryRTT100</name>
<counter>0</counter>
</resstat>
<resstat>
<name>QryRTT500</name>
<counter>0</counter>
</resstat>
<resstat>
<name>QryRTT800</name>
<counter>0</counter>
</resstat>
<resstat>
<name>QryRTT1600</name>
<counter>0</counter>
</resstat>
<resstat>
<name>QryRTT1600+</name>
<counter>0</counter>
</resstat>
<cache name="_bind"/>
</view>
</views>
<server>
<boot-time>2016-10-02T18:45:00Z</boot-time>
<current-time>2016-10-23T19:27:48Z</current-time>
<requests>
<opcode>
<name>QUERY</name>
<counter>102312374</counter>
</opcode>
<opcode>
<name>UPDATE</name>
<counter>238</counter>
</opcode>
</requests>
<queries-in>
<rdtype>
<name>A</name>
<counter>58951432</counter>
</rdtype>
<rdtype>
<name>NS</name>
<counter>1999</counter>
</rdtype>
<rdtype>
<name>CNAME</name>
<counter>531</counter>
</rdtype>
<rdtype>
<name>SOA</name>
<counter>100415</counter>
</rdtype>
<rdtype>
<name>PTR</name>
<counter>4211487</counter>
</rdtype>
<rdtype>
<name>MX</name>
<counter>441155</counter>
</rdtype>
<rdtype>
<name>TXT</name>
<counter>34628</counter>
</rdtype>
<rdtype>
<name>AAAA</name>
<counter>37786321</counter>
</rdtype>
<rdtype>
<name>SRV</name>
<counter>741082</counter>
</rdtype>
<rdtype>
<name>NAPTR</name>
<counter>39137</counter>
</rdtype>
<rdtype>
<name>DS</name>
<counter>584</counter>
</rdtype>
<rdtype>
<name>SSHFP</name>
<counter>2987</counter>
</rdtype>
<rdtype>
<name>DNSKEY</name>
<counter>452</counter>
</rdtype>
<rdtype>
<name>IXFR</name>
<counter>157</counter>
</rdtype>
<rdtype>
<name>ANY</name>
<counter>7</counter>
</rdtype>
</queries-in>
<nsstat>
<name>Requestv4</name>
<counter>102312611</counter>
</nsstat>
<nsstat>
<name>Requestv6</name>
<counter>1</counter>
</nsstat>
<nsstat>
<name>ReqEdns0</name>
<counter>441758</counter>
</nsstat>
<nsstat>
<name>ReqBadEDNSVer</name>
<counter>0</counter>
</nsstat>
<nsstat>
<name>ReqTSIG</name>
<counter>0</counter>
</nsstat>
<nsstat>
<name>ReqSIG0</name>
<counter>0</counter>
</nsstat>
<nsstat>
<name>ReqBadSIG</name>
<counter>0</counter>
</nsstat>
<nsstat>
<name>ReqTCP</name>
<counter>1548156</counter>
</nsstat>
<nsstat>
<name>AuthQryRej</name>
<counter>0</counter>
</nsstat>
<nsstat>
<name>RecQryRej</name>
<counter>0</counter>
</nsstat>
<nsstat>
<name>XfrRej</name>
<counter>0</counter>
</nsstat>
<nsstat>
<name>UpdateRej</name>
<counter>238</counter>
</nsstat>
<nsstat>
<name>Response</name>
<counter>102301560</counter>
</nsstat>
<nsstat>
<name>TruncatedResp</name>
<counter>3787</counter>
</nsstat>
<nsstat>
<name>RespEDNS0</name>
<counter>441748</counter>
</nsstat>
<nsstat>
<name>RespTSIG</name>
<counter>0</counter>
</nsstat>
<nsstat>
<name>RespSIG0</name>
<counter>0</counter>
</nsstat>
<nsstat>
<name>QrySuccess</name>
<counter>63811668</counter>
</nsstat>
<nsstat>
<name>QryAuthAns</name>
<counter>72180718</counter>
</nsstat>
<nsstat>
<name>QryNoauthAns</name>
<counter>30106182</counter>
</nsstat>
<nsstat>
<name>QryReferral</name>
<counter>3</counter>
</nsstat>
<nsstat>
<name>QryNxrrset</name>
<counter>24423133</counter>
</nsstat>
<nsstat>
<name>QrySERVFAIL</name>
<counter>14422</counter>
</nsstat>
<nsstat>
<name>QryFORMERR</name>
<counter>0</counter>
</nsstat>
<nsstat>
<name>QryNXDOMAIN</name>
<counter>14052096</counter>
</nsstat>
<nsstat>
<name>QryRecursion</name>
<counter>2104239</counter>
</nsstat>
<nsstat>
<name>QryDuplicate</name>
<counter>10879</counter>
</nsstat>
<nsstat>
<name>QryDropped</name>
<counter>16</counter>
</nsstat>
<nsstat>
<name>QryFailure</name>
<counter>0</counter>
</nsstat>
<nsstat>
<name>XfrReqDone</name>
<counter>157</counter>
</nsstat>
<nsstat>
<name>UpdateReqFwd</name>
<counter>0</counter>
</nsstat>
<nsstat>
<name>UpdateRespFwd</name>
<counter>0</counter>
</nsstat>
<nsstat>
<name>UpdateFwdFail</name>
<counter>0</counter>
</nsstat>
<nsstat>
<name>UpdateDone</name>
<counter>0</counter>
</nsstat>
<nsstat>
<name>UpdateFail</name>
<counter>0</counter>
</nsstat>
<nsstat>
<name>UpdateBadPrereq</name>
<counter>0</counter>
</nsstat>
<nsstat>
<name>RPZRewrites</name>
<counter>0</counter>
</nsstat>
<nsstat>
<name>RateDropped</name>
<counter>0</counter>
</nsstat>
<nsstat>
<name>RateSlipped</name>
<counter>0</counter>
</nsstat>
<zonestat>
<name>NotifyOutv4</name>
<counter>663</counter>
</zonestat>
<zonestat>
<name>NotifyOutv6</name>
<counter>0</counter>
</zonestat>
<zonestat>
<name>NotifyInv4</name>
<counter>0</counter>
</zonestat>
<zonestat>
<name>NotifyInv6</name>
<counter>0</counter>
</zonestat>
<zonestat>
<name>NotifyRej</name>
<counter>0</counter>
</zonestat>
<zonestat>
<name>SOAOutv4</name>
<counter>386</counter>
</zonestat>
<zonestat>
<name>SOAOutv6</name>
<counter>0</counter>
</zonestat>
<zonestat>
<name>AXFRReqv4</name>
<counter>0</counter>
</zonestat>
<zonestat>
<name>AXFRReqv6</name>
<counter>0</counter>
</zonestat>
<zonestat>
<name>IXFRReqv4</name>
<counter>0</counter>
</zonestat>
<zonestat>
<name>IXFRReqv6</name>
<counter>0</counter>
</zonestat>
<zonestat>
<name>XfrSuccess</name>
<counter>0</counter>
</zonestat>
<zonestat>
<name>XfrFail</name>
<counter>0</counter>
</zonestat>
<resstat>
<name>Mismatch</name>
<counter>2</counter>
</resstat>
<sockstat>
<name>UDP4Open</name>
<counter>3765532</counter>
</sockstat>
<sockstat>
<name>UDP6Open</name>
<counter>238269</counter>
</sockstat>
<sockstat>
<name>TCP4Open</name>
<counter>602</counter>
</sockstat>
<sockstat>
<name>TCP6Open</name>
<counter>2</counter>
</sockstat>
<sockstat>
<name>UnixOpen</name>
<counter>0</counter>
</sockstat>
<sockstat>
<name>UDP4OpenFail</name>
<counter>0</counter>
</sockstat>
<sockstat>
<name>UDP6OpenFail</name>
<counter>0</counter>
</sockstat>
<sockstat>
<name>TCP4OpenFail</name>
<counter>0</counter>
</sockstat>
<sockstat>
<name>TCP6OpenFail</name>
<counter>0</counter>
</sockstat>
<sockstat>
<name>UnixOpenFail</name>
<counter>0</counter>
</sockstat>
<sockstat>
<name>UDP4Close</name>
<counter>3765528</counter>
</sockstat>
<sockstat>
<name>UDP6Close</name>
<counter>238267</counter>
</sockstat>
<sockstat>
<name>TCP4Close</name>
<counter>1548268</counter>
</sockstat>
<sockstat>
<name>TCP6Close</name>
<counter>0</counter>
</sockstat>
<sockstat>
<name>UnixClose</name>
<counter>0</counter>
</sockstat>
<sockstat>
<name>FDWatchClose</name>
<counter>0</counter>
</sockstat>
<sockstat>
<name>UDP4BindFail</name>
<counter>219</counter>
</sockstat>
<sockstat>
<name>UDP6BindFail</name>
<counter>16</counter>
</sockstat>
<sockstat>
<name>TCP4BindFail</name>
<counter>0</counter>
</sockstat>
<sockstat>
<name>TCP6BindFail</name>
<counter>0</counter>
</sockstat>
<sockstat>
<name>UnixBindFail</name>
<counter>0</counter>
</sockstat>
<sockstat>
<name>FdwatchBindFail</name>
<counter>0</counter>
</sockstat>
<sockstat>
<name>UDP4ConnFail</name>
<counter>0</counter>
</sockstat>
<sockstat>
<name>UDP6ConnFail</name>
<counter>238250</counter>
</sockstat>
<sockstat>
<name>TCP4ConnFail</name>
<counter>0</counter>
</sockstat>
<sockstat>
<name>TCP6ConnFail</name>
<counter>0</counter>
</sockstat>
<sockstat>
<name>UnixConnFail</name>
<counter>0</counter>
</sockstat>
<sockstat>
<name>FDwatchConnFail</name>
<counter>0</counter>
</sockstat>
<sockstat>
<name>UDP4Conn</name>
<counter>3764828</counter>
</sockstat>
<sockstat>
<name>UDP6Conn</name>
<counter>1</counter>
</sockstat>
<sockstat>
<name>TCP4Conn</name>
<counter>590</counter>
</sockstat>
<sockstat>
<name>TCP6Conn</name>
<counter>0</counter>
</sockstat>
<sockstat>
<name>UnixConn</name>
<counter>0</counter>
</sockstat>
<sockstat>
<name>FDwatchConn</name>
<counter>0</counter>
</sockstat>
<sockstat>
<name>TCP4AcceptFail</name>
<counter>0</counter>
</sockstat>
<sockstat>
<name>TCP6AcceptFail</name>
<counter>0</counter>
</sockstat>
<sockstat>
<name>UnixAcceptFail</name>
<counter>0</counter>
</sockstat>
<sockstat>
<name>TCP4Accept</name>
<counter>1547672</counter>
</sockstat>
<sockstat>
<name>TCP6Accept</name>
<counter>0</counter>
</sockstat>
<sockstat>
<name>UnixAccept</name>
<counter>0</counter>
</sockstat>
<sockstat>
<name>UDP4SendErr</name>
<counter>0</counter>
</sockstat>
<sockstat>
<name>UDP6SendErr</name>
<counter>238250</counter>
</sockstat>
<sockstat>
<name>TCP4SendErr</name>
<counter>0</counter>
</sockstat>
<sockstat>
<name>TCP6SendErr</name>
<counter>0</counter>
</sockstat>
<sockstat>
<name>UnixSendErr</name>
<counter>0</counter>
</sockstat>
<sockstat>
<name>FDwatchSendErr</name>
<counter>0</counter>
</sockstat>
<sockstat>
<name>UDP4RecvErr</name>
<counter>1650</counter>
</sockstat>
<sockstat>
<name>UDP6RecvErr</name>
<counter>0</counter>
</sockstat>
<sockstat>
<name>TCP4RecvErr</name>
<counter>1</counter>
</sockstat>
<sockstat>
<name>TCP6RecvErr</name>
<counter>0</counter>
</sockstat>
<sockstat>
<name>UnixRecvErr</name>
<counter>0</counter>
</sockstat>
<sockstat>
<name>FDwatchRecvErr</name>
<counter>0</counter>
</sockstat>
</server>
<memory>
<contexts>
<context>
<id>0x7f8a94e061d0</id>
<name>main</name>
<references>229</references>
<total>5002528</total>
<inuse>3662792</inuse>
<maxinuse>4848264</maxinuse>
<blocksize>2359296</blocksize>
<pools>75</pools>
<hiwater>0</hiwater>
<lowater>0</lowater>
</context>
<context>
<id>0x7f8a94e13830</id>
<name>dst</name>
<references>1</references>
<total>133486</total>
<inuse>96456</inuse>
<maxinuse>102346</maxinuse>
<blocksize>-</blocksize>
<pools>0</pools>
<hiwater>0</hiwater>
<lowater>0</lowater>
</context>
<context>
<id>0x7f8a94e401c0</id>
<name>zonemgr-pool</name>
<references>501</references>
<total>6339848</total>
<inuse>4384240</inuse>
<maxinuse>5734049</maxinuse>
<blocksize>6029312</blocksize>
<pools>0</pools>
<hiwater>0</hiwater>
<lowater>0</lowater>
</context>
</contexts>
<summary>
<TotalUse>81804609</TotalUse>
<InUse>20772579</InUse>
<BlockSize>77070336</BlockSize>
<ContextSize>6663840</ContextSize>
<Lost>0</Lost>
</summary>
</memory>
</statistics>
</bind>
</isc>

142
plugins/inputs/bind/testdata/xml/v3/mem vendored Normal file
View file

@ -0,0 +1,142 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/bind9.xsl"?>
<statistics version="3.6">
<server>
<boot-time>2017-07-21T11:53:28Z</boot-time>
<config-time>2017-07-21T11:53:28Z</config-time>
<current-time>2017-07-25T23:47:08Z</current-time>
</server>
<views>
</views>
<memory>
<contexts>
<context>
<id>0x55fb2e042de0</id>
<name>main</name>
<references>202</references>
<total>2706043</total>
<inuse>1454904</inuse>
<maxinuse>1508072</maxinuse>
<blocksize>786432</blocksize>
<pools>40</pools>
<hiwater>0</hiwater>
<lowater>0</lowater>
</context>
<context>
<id>0x55fb2e0507e0</id>
<name>dst</name>
<references>1</references>
<total>387478</total>
<inuse>91776</inuse>
<maxinuse>97208</maxinuse>
<blocksize>-</blocksize>
<pools>0</pools>
<hiwater>0</hiwater>
<lowater>0</lowater>
</context>
<context>
<id>0x55fb2e0938e0</id>
<name>zonemgr-pool</name>
<references>113</references>
<total>742986</total>
<inuse>143776</inuse>
<maxinuse>313961</maxinuse>
<blocksize>262144</blocksize>
<pools>0</pools>
<hiwater>0</hiwater>
<lowater>0</lowater>
</context>
<context>
<id>0x7f19d00017d0</id>
<name>threadkey</name>
<references>1</references>
<total>0</total>
<inuse>0</inuse>
<maxinuse>0</maxinuse>
<blocksize>-</blocksize>
<pools>0</pools>
<hiwater>0</hiwater>
<lowater>0</lowater>
</context>
<context>
<id>0x7f19d00475f0</id>
<name>client</name>
<references>3</references>
<total>267800</total>
<inuse>8760</inuse>
<maxinuse>8760</maxinuse>
<blocksize>262144</blocksize>
<pools>2</pools>
<hiwater>0</hiwater>
<lowater>0</lowater>
</context>
<context>
<id>0x7f19d00dfca0</id>
<name>cache</name>
<references>8</references>
<total>288938</total>
<inuse>83650</inuse>
<maxinuse>83842</maxinuse>
<blocksize>262144</blocksize>
<pools>0</pools>
<hiwater>0</hiwater>
<lowater>0</lowater>
</context>
<context>
<id>0x7f19d00eaa30</id>
<name>cache_heap</name>
<references>18</references>
<total>393216</total>
<inuse>132096</inuse>
<maxinuse>132096</maxinuse>
<blocksize>262144</blocksize>
<pools>0</pools>
<hiwater>0</hiwater>
<lowater>0</lowater>
</context>
<context>
<id>0x7f19d01094e0</id>
<name>res0</name>
<references>1</references>
<total>262144</total>
<inuse>0</inuse>
<maxinuse>22048</maxinuse>
<blocksize>262144</blocksize>
<pools>0</pools>
<hiwater>0</hiwater>
<lowater>0</lowater>
</context>
<context>
<id>0x7f19d0114270</id>
<name>res1</name>
<references>1</references>
<total>0</total>
<inuse>0</inuse>
<maxinuse>0</maxinuse>
<blocksize>0</blocksize>
<pools>0</pools>
<hiwater>0</hiwater>
<lowater>0</lowater>
</context>
<context>
<id>0x7f19d011f000</id>
<name>res2</name>
<references>1</references>
<total>0</total>
<inuse>0</inuse>
<maxinuse>0</maxinuse>
<blocksize>0</blocksize>
<pools>0</pools>
<hiwater>0</hiwater>
<lowater>0</lowater>
</context>
</contexts>
<summary>
<TotalUse>777821909</TotalUse>
<InUse>6000232</InUse>
<BlockSize>45875200</BlockSize>
<ContextSize>10037400</ContextSize>
<Lost>0</Lost>
</summary>
</memory>
</statistics>

156
plugins/inputs/bind/testdata/xml/v3/net vendored Normal file
View file

@ -0,0 +1,156 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/bind9.xsl"?>
<statistics version="3.6">
<server>
<boot-time>2017-07-21T11:53:28Z</boot-time>
<config-time>2017-07-21T11:53:28Z</config-time>
<current-time>2017-07-25T23:47:08Z</current-time>
<counters type="sockstat">
<counter name="UDP4Open">92542</counter>
<counter name="UDP6Open">0</counter>
<counter name="TCP4Open">48</counter>
<counter name="TCP6Open">0</counter>
<counter name="UnixOpen">0</counter>
<counter name="RawOpen">1</counter>
<counter name="UDP4OpenFail">0</counter>
<counter name="UDP6OpenFail">0</counter>
<counter name="TCP4OpenFail">0</counter>
<counter name="TCP6OpenFail">0</counter>
<counter name="UnixOpenFail">0</counter>
<counter name="RawOpenFail">0</counter>
<counter name="UDP4Close">92538</counter>
<counter name="UDP6Close">0</counter>
<counter name="TCP4Close">336</counter>
<counter name="TCP6Close">0</counter>
<counter name="UnixClose">0</counter>
<counter name="FDWatchClose">0</counter>
<counter name="RawClose">0</counter>
<counter name="UDP4BindFail">1</counter>
<counter name="UDP6BindFail">0</counter>
<counter name="TCP4BindFail">0</counter>
<counter name="TCP6BindFail">0</counter>
<counter name="UnixBindFail">0</counter>
<counter name="FdwatchBindFail">0</counter>
<counter name="UDP4ConnFail">0</counter>
<counter name="UDP6ConnFail">0</counter>
<counter name="TCP4ConnFail">0</counter>
<counter name="TCP6ConnFail">0</counter>
<counter name="UnixConnFail">0</counter>
<counter name="FDwatchConnFail">0</counter>
<counter name="UDP4Conn">92535</counter>
<counter name="UDP6Conn">0</counter>
<counter name="TCP4Conn">44</counter>
<counter name="TCP6Conn">0</counter>
<counter name="UnixConn">0</counter>
<counter name="FDwatchConn">0</counter>
<counter name="TCP4AcceptFail">0</counter>
<counter name="TCP6AcceptFail">0</counter>
<counter name="UnixAcceptFail">0</counter>
<counter name="TCP4Accept">293</counter>
<counter name="TCP6Accept">0</counter>
<counter name="UnixAccept">0</counter>
<counter name="UDP4SendErr">0</counter>
<counter name="UDP6SendErr">0</counter>
<counter name="TCP4SendErr">0</counter>
<counter name="TCP6SendErr">0</counter>
<counter name="UnixSendErr">0</counter>
<counter name="FDwatchSendErr">0</counter>
<counter name="UDP4RecvErr">14</counter>
<counter name="UDP6RecvErr">0</counter>
<counter name="TCP4RecvErr">0</counter>
<counter name="TCP6RecvErr">0</counter>
<counter name="UnixRecvErr">0</counter>
<counter name="FDwatchRecvErr">0</counter>
<counter name="RawRecvErr">0</counter>
<counter name="UDP4Active">4</counter>
<counter name="UDP6Active">0</counter>
<counter name="TCP4Active">297</counter>
<counter name="TCP6Active">0</counter>
<counter name="UnixActive">0</counter>
<counter name="RawActive">1</counter>
</counters>
</server>
<views>
</views>
<socketmgr>
<sockets>
<socket>
<id>0x7f19dd849010</id>
<references>1</references>
<type>not-initialized</type>
<local-address>&lt;unknown address, family 16&gt;</local-address>
<states>
<state>bound</state>
</states>
</socket>
<socket>
<id>0x7f19dd849268</id>
<references>1</references>
<type>tcp</type>
<local-address>0.0.0.0#8053</local-address>
<states>
<state>listener</state>
<state>bound</state>
</states>
</socket>
<socket>
<id>0x7f19dd849718</id>
<references>2</references>
<type>udp</type>
<local-address>::#53</local-address>
<states>
<state>bound</state>
</states>
</socket>
<socket>
<id>0x7f19dd849970</id>
<references>2</references>
<type>tcp</type>
<local-address>::#53</local-address>
<states>
<state>listener</state>
<state>bound</state>
</states>
</socket>
<socket>
<id>0x7f19dd849bc8</id>
<references>2</references>
<type>udp</type>
<local-address>127.0.0.1#53</local-address>
<states>
<state>bound</state>
</states>
</socket>
<socket>
<id>0x7f19dd6f4010</id>
<references>2</references>
<type>tcp</type>
<local-address>127.0.0.1#53</local-address>
<states>
<state>listener</state>
<state>bound</state>
</states>
</socket>
<socket>
<id>0x7f19dd6f4718</id>
<references>1</references>
<type>tcp</type>
<local-address>127.0.0.1#953</local-address>
<states>
<state>listener</state>
<state>bound</state>
</states>
</socket>
<socket>
<id>0x7f19dd6f4bc8</id>
<references>1</references>
<type>tcp</type>
<local-address>::1#953</local-address>
<states>
<state>listener</state>
<state>bound</state>
</states>
</socket>
</sockets>
</socketmgr>
</statistics>

View file

@ -0,0 +1,328 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/bind9.xsl"?>
<statistics version="3.6">
<server>
<boot-time>2017-07-21T11:53:28Z</boot-time>
<config-time>2017-07-21T11:53:28Z</config-time>
<current-time>2017-07-25T23:47:08Z</current-time>
<counters type="opcode">
<counter name="QUERY">74941</counter>
<counter name="IQUERY">0</counter>
<counter name="STATUS">0</counter>
<counter name="RESERVED3">0</counter>
<counter name="NOTIFY">0</counter>
<counter name="UPDATE">0</counter>
<counter name="RESERVED6">0</counter>
<counter name="RESERVED7">0</counter>
<counter name="RESERVED8">0</counter>
<counter name="RESERVED9">0</counter>
<counter name="RESERVED10">0</counter>
<counter name="RESERVED11">0</counter>
<counter name="RESERVED12">0</counter>
<counter name="RESERVED13">0</counter>
<counter name="RESERVED14">0</counter>
<counter name="RESERVED15">0</counter>
</counters>
<counters type="qtype">
<counter name="A">63672</counter>
<counter name="NS">373</counter>
<counter name="SOA">18</counter>
<counter name="PTR">3393</counter>
<counter name="MX">618</counter>
<counter name="TXT">970</counter>
<counter name="AAAA">5735</counter>
<counter name="SRV">139</counter>
<counter name="RRSIG">1</counter>
<counter name="ANY">22</counter>
</counters>
<counters type="nsstat">
<counter name="Requestv4">74942</counter>
<counter name="Requestv6">0</counter>
<counter name="ReqEdns0">9250</counter>
<counter name="ReqBadEDNSVer">0</counter>
<counter name="ReqTSIG">0</counter>
<counter name="ReqSIG0">0</counter>
<counter name="ReqBadSIG">0</counter>
<counter name="ReqTCP">260</counter>
<counter name="AuthQryRej">0</counter>
<counter name="RecQryRej">35</counter>
<counter name="XfrRej">0</counter>
<counter name="UpdateRej">0</counter>
<counter name="Response">63264</counter>
<counter name="TruncatedResp">365</counter>
<counter name="RespEDNS0">9250</counter>
<counter name="RespTSIG">0</counter>
<counter name="RespSIG0">0</counter>
<counter name="QrySuccess">49044</counter>
<counter name="QryAuthAns">2752</counter>
<counter name="QryNoauthAns">60354</counter>
<counter name="QryReferral">0</counter>
<counter name="QryNxrrset">2452</counter>
<counter name="QrySERVFAIL">122</counter>
<counter name="QryFORMERR">0</counter>
<counter name="QryNXDOMAIN">11610</counter>
<counter name="QryRecursion">53750</counter>
<counter name="QryDuplicate">11667</counter>
<counter name="QryDropped">11</counter>
<counter name="QryFailure">35</counter>
<counter name="XfrReqDone">0</counter>
<counter name="UpdateReqFwd">0</counter>
<counter name="UpdateRespFwd">0</counter>
<counter name="UpdateFwdFail">0</counter>
<counter name="UpdateDone">0</counter>
<counter name="UpdateFail">0</counter>
<counter name="UpdateBadPrereq">0</counter>
<counter name="RecursClients">0</counter>
<counter name="DNS64">0</counter>
<counter name="RateDropped">0</counter>
<counter name="RateSlipped">0</counter>
<counter name="RPZRewrites">0</counter>
<counter name="QryUDP">74648</counter>
<counter name="QryTCP">258</counter>
<counter name="NSIDOpt">0</counter>
<counter name="ExpireOpt">0</counter>
<counter name="OtherOpt">59</counter>
<counter name="SitOpt">0</counter>
<counter name="SitNew">0</counter>
<counter name="SitBadSize">0</counter>
<counter name="SitBadTime">0</counter>
<counter name="SitNoMatch">0</counter>
<counter name="SitMatch">0</counter>
</counters>
<counters type="zonestat">
<counter name="NotifyOutv4">2</counter>
<counter name="NotifyOutv6">0</counter>
<counter name="NotifyInv4">0</counter>
<counter name="NotifyInv6">0</counter>
<counter name="NotifyRej">0</counter>
<counter name="SOAOutv4">0</counter>
<counter name="SOAOutv6">0</counter>
<counter name="AXFRReqv4">0</counter>
<counter name="AXFRReqv6">0</counter>
<counter name="IXFRReqv4">0</counter>
<counter name="IXFRReqv6">0</counter>
<counter name="XfrSuccess">0</counter>
<counter name="XfrFail">0</counter>
</counters>
<counters type="resstat"/>
</server>
<views>
<view name="_default">
<counters type="resqtype">
<counter name="A">61568</counter>
<counter name="NS">9126</counter>
<counter name="PTR">1249</counter>
<counter name="MX">286</counter>
<counter name="TXT">942</counter>
<counter name="AAAA">3933</counter>
<counter name="SRV">21</counter>
<counter name="DS">13749</counter>
<counter name="DNSKEY">1699</counter>
</counters>
<counters type="resstats">
<counter name="Queryv4">92573</counter>
<counter name="Queryv6">0</counter>
<counter name="Responsev4">92135</counter>
<counter name="Responsev6">0</counter>
<counter name="NXDOMAIN">8182</counter>
<counter name="SERVFAIL">318</counter>
<counter name="FORMERR">0</counter>
<counter name="OtherError">0</counter>
<counter name="EDNS0Fail">0</counter>
<counter name="Mismatch">0</counter>
<counter name="Truncated">42</counter>
<counter name="Lame">12</counter>
<counter name="Retry">800</counter>
<counter name="QueryAbort">0</counter>
<counter name="QuerySockFail">0</counter>
<counter name="QueryCurUDP">0</counter>
<counter name="QueryCurTCP">0</counter>
<counter name="QueryTimeout">490</counter>
<counter name="GlueFetchv4">1398</counter>
<counter name="GlueFetchv6">0</counter>
<counter name="GlueFetchv4Fail">3</counter>
<counter name="GlueFetchv6Fail">0</counter>
<counter name="ValAttempt">90256</counter>
<counter name="ValOk">67322</counter>
<counter name="ValNegOk">22850</counter>
<counter name="ValFail">6</counter>
<counter name="QryRTT10">0</counter>
<counter name="QryRTT100">45760</counter>
<counter name="QryRTT500">45543</counter>
<counter name="QryRTT800">743</counter>
<counter name="QryRTT1600">75</counter>
<counter name="QryRTT1600+">0</counter>
<counter name="NumFetch">0</counter>
<counter name="BucketSize">31</counter>
<counter name="REFUSED">34</counter>
<counter name="SitClientOut">0</counter>
<counter name="SitOut">0</counter>
<counter name="SitIn">0</counter>
<counter name="SitClientOk">0</counter>
<counter name="BadEDNSVersion">0</counter>
<counter name="ZoneQuota">0</counter>
<counter name="ServerQuota">0</counter>
</counters>
<cache name="internal">
<rrset>
<name>A</name>
<counter>195</counter>
</rrset>
<rrset>
<name>NS</name>
<counter>42</counter>
</rrset>
<rrset>
<name>CNAME</name>
<counter>7</counter>
</rrset>
<rrset>
<name>PTR</name>
<counter>48</counter>
</rrset>
<rrset>
<name>MX</name>
<counter>7</counter>
</rrset>
<rrset>
<name>TXT</name>
<counter>6</counter>
</rrset>
<rrset>
<name>AAAA</name>
<counter>4</counter>
</rrset>
<rrset>
<name>DS</name>
<counter>97</counter>
</rrset>
<rrset>
<name>RRSIG</name>
<counter>258</counter>
</rrset>
<rrset>
<name>NSEC</name>
<counter>89</counter>
</rrset>
<rrset>
<name>DNSKEY</name>
<counter>60</counter>
</rrset>
<rrset>
<name>!DS</name>
<counter>29</counter>
</rrset>
<rrset>
<name>NXDOMAIN</name>
<counter>25</counter>
</rrset>
</cache>
<counters type="adbstat">
<counter name="nentries">1021</counter>
<counter name="entriescnt">314</counter>
<counter name="nnames">1021</counter>
<counter name="namescnt">316</counter>
</counters>
<counters type="cachestats">
<counter name="CacheHits">1904593</counter>
<counter name="CacheMisses">96</counter>
<counter name="QueryHits">336094</counter>
<counter name="QueryMisses">369336</counter>
<counter name="DeleteLRU">0</counter>
<counter name="DeleteTTL">47518</counter>
<counter name="CacheNodes">769</counter>
<counter name="CacheBuckets">519</counter>
<counter name="TreeMemTotal">1464363</counter>
<counter name="TreeMemInUse">392128</counter>
<counter name="TreeMemMax">828966</counter>
<counter name="HeapMemTotal">393216</counter>
<counter name="HeapMemInUse">132096</counter>
<counter name="HeapMemMax">132096</counter>
</counters>
</view>
<view name="_bind">
<zones>
<zone name="authors.bind" rdataclass="CH">
<serial>0</serial>
</zone>
<zone name="hostname.bind" rdataclass="CH">
<serial>0</serial>
</zone>
<zone name="version.bind" rdataclass="CH">
<serial>0</serial>
</zone>
<zone name="id.server" rdataclass="CH">
<serial>0</serial>
</zone>
</zones>
<counters type="resqtype"/>
<counters type="resstats">
<counter name="Queryv4">0</counter>
<counter name="Queryv6">0</counter>
<counter name="Responsev4">0</counter>
<counter name="Responsev6">0</counter>
<counter name="NXDOMAIN">0</counter>
<counter name="SERVFAIL">0</counter>
<counter name="FORMERR">0</counter>
<counter name="OtherError">0</counter>
<counter name="EDNS0Fail">0</counter>
<counter name="Mismatch">0</counter>
<counter name="Truncated">0</counter>
<counter name="Lame">0</counter>
<counter name="Retry">0</counter>
<counter name="QueryAbort">0</counter>
<counter name="QuerySockFail">0</counter>
<counter name="QueryCurUDP">0</counter>
<counter name="QueryCurTCP">0</counter>
<counter name="QueryTimeout">0</counter>
<counter name="GlueFetchv4">0</counter>
<counter name="GlueFetchv6">0</counter>
<counter name="GlueFetchv4Fail">0</counter>
<counter name="GlueFetchv6Fail">0</counter>
<counter name="ValAttempt">0</counter>
<counter name="ValOk">0</counter>
<counter name="ValNegOk">0</counter>
<counter name="ValFail">0</counter>
<counter name="QryRTT10">0</counter>
<counter name="QryRTT100">0</counter>
<counter name="QryRTT500">0</counter>
<counter name="QryRTT800">0</counter>
<counter name="QryRTT1600">0</counter>
<counter name="QryRTT1600+">0</counter>
<counter name="NumFetch">0</counter>
<counter name="BucketSize">31</counter>
<counter name="REFUSED">0</counter>
<counter name="SitClientOut">0</counter>
<counter name="SitOut">0</counter>
<counter name="SitIn">0</counter>
<counter name="SitClientOk">0</counter>
<counter name="BadEDNSVersion">0</counter>
<counter name="ZoneQuota">0</counter>
<counter name="ServerQuota">0</counter>
</counters>
<cache name="_bind"/>
<counters type="adbstat">
<counter name="nentries">1021</counter>
<counter name="entriescnt">0</counter>
<counter name="nnames">1021</counter>
<counter name="namescnt">0</counter>
</counters>
<counters type="cachestats">
<counter name="CacheHits">0</counter>
<counter name="CacheMisses">0</counter>
<counter name="QueryHits">0</counter>
<counter name="QueryMisses">0</counter>
<counter name="DeleteLRU">0</counter>
<counter name="DeleteTTL">0</counter>
<counter name="CacheNodes">0</counter>
<counter name="CacheBuckets">64</counter>
<counter name="TreeMemTotal">287392</counter>
<counter name="TreeMemInUse">29608</counter>
<counter name="TreeMemMax">29608</counter>
<counter name="HeapMemTotal">262144</counter>
<counter name="HeapMemInUse">1024</counter>
<counter name="HeapMemMax">1024</counter>
</counters>
</view>
</views>
</statistics>