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

133
plugins/inputs/bind/testdata/json/v1/mem vendored Normal file
View file

@ -0,0 +1,133 @@
{
"json-stats-version":"1.2",
"boot-time":"2017-07-28T13:24:53Z",
"config-time":"2017-07-28T13:24:53Z",
"current-time":"2017-07-28T15:33:07Z",
"memory":{
"TotalUse":18206566,
"InUse":3064368,
"BlockSize":13893632,
"ContextSize":3685480,
"Lost":0,
"contexts":[
{
"id":"0x55fb2e042de0",
"name":"main",
"references":202,
"total":2693003,
"inuse":1454904,
"maxinuse":1508072,
"blocksize":786432,
"pools":40,
"hiwater":0,
"lowater":0
},
{
"id":"0x55fb2e0507e0",
"name":"dst",
"references":1,
"total":387478,
"inuse":91776,
"maxinuse":97208,
"pools":0,
"hiwater":0,
"lowater":0
},
{
"id":"0x55fb2e0938e0",
"name":"zonemgr-pool",
"references":113,
"total":742986,
"inuse":143776,
"maxinuse":313961,
"blocksize":262144,
"pools":0,
"hiwater":0,
"lowater":0
},
{
"id":"0x7f19d00017d0",
"name":"threadkey",
"references":1,
"total":0,
"inuse":0,
"maxinuse":0,
"pools":0,
"hiwater":0,
"lowater":0
},
{
"id":"0x7f19d00475f0",
"name":"client",
"references":3,
"total":267800,
"inuse":8760,
"maxinuse":8760,
"blocksize":262144,
"pools":2,
"hiwater":0,
"lowater":0
},
{
"id":"0x7f19d00dfca0",
"name":"cache",
"references":8,
"total":288938,
"inuse":83650,
"maxinuse":83842,
"blocksize":262144,
"pools":0,
"hiwater":0,
"lowater":0
},
{
"id":"0x7f19d00eaa30",
"name":"cache_heap",
"references":18,
"total":393216,
"inuse":132096,
"maxinuse":132096,
"blocksize":262144,
"pools":0,
"hiwater":0,
"lowater":0
},
{
"id":"0x7f19d01094e0",
"name":"res0",
"references":1,
"total":262144,
"inuse":0,
"maxinuse":22048,
"blocksize":262144,
"pools":0,
"hiwater":0,
"lowater":0
},
{
"id":"0x7f19d0114270",
"name":"res1",
"references":1,
"total":0,
"inuse":0,
"maxinuse":0,
"blocksize":0,
"pools":0,
"hiwater":0,
"lowater":0
},
{
"id":"0x7f19d011f000",
"name":"res2",
"references":1,
"total":0,
"inuse":0,
"maxinuse":0,
"blocksize":0,
"pools":0,
"hiwater":0,
"lowater":0
}
]
}
}

241
plugins/inputs/bind/testdata/json/v1/net vendored Normal file
View file

@ -0,0 +1,241 @@
{
"json-stats-version":"1.2",
"boot-time":"2017-07-28T13:24:53Z",
"config-time":"2017-07-28T13:24:53Z",
"current-time":"2017-07-28T15:33:07Z",
"sockstats":{
"UDP4Open":335,
"UDP6Open":113,
"TCP4Open":118,
"TCP6Open":2,
"RawOpen":1,
"UDP4Close":333,
"UDP6Close":112,
"TCP4Close":119,
"UDP6ConnFail":112,
"UDP4Conn":333,
"TCP4Conn":114,
"TCP4Accept":6,
"UDP6SendErr":112,
"UDP4RecvErr":1,
"UDP4Active":2,
"UDP6Active":1,
"TCP4Active":10,
"TCP6Active":2,
"RawActive":1
},
"socketmgr":{
"sockets":[
{
"id":"0x7f19dd849010",
"references":1,
"type":"not-initialized",
"local-address":"<unknown address, family 16>",
"states":[
"bound"
]
},
{
"id":"0x7f19dd849268",
"references":1,
"type":"tcp",
"local-address":"0.0.0.0#8053",
"states":[
"listener",
"bound"
]
},
{
"id":"0x7f19dd849718",
"references":2,
"type":"udp",
"local-address":"::#53",
"states":[
"bound"
]
},
{
"id":"0x7f19dd849970",
"references":2,
"type":"tcp",
"local-address":"::#53",
"states":[
"listener",
"bound"
]
},
{
"id":"0x7f19dd849bc8",
"references":2,
"type":"udp",
"local-address":"127.0.0.1#53",
"states":[
"bound"
]
},
{
"id":"0x7f19dd6f4010",
"references":2,
"type":"tcp",
"local-address":"127.0.0.1#53",
"states":[
"listener",
"bound"
]
},
{
"id":"0x7f19dd6f4718",
"references":1,
"type":"tcp",
"local-address":"127.0.0.1#953",
"states":[
"listener",
"bound"
]
},
{
"id":"0x7f19dd6f4bc8",
"references":1,
"type":"tcp",
"local-address":"::1#953",
"states":[
"listener",
"bound"
]
},
{
"id":"0x7f19d4fb7970",
"references":1,
"type":"udp",
"states":[
]
},
{
"id":"0x7f19d4fb7bc8",
"references":1,
"type":"udp",
"states":[
]
},
{
"id":"0x7f19d4fc7010",
"references":1,
"type":"udp",
"states":[
]
},
{
"id":"0x7f19d4fc74c0",
"references":1,
"type":"udp",
"states":[
]
},
{
"id":"0x7f19d4fc7718",
"references":1,
"type":"udp",
"states":[
]
},
{
"id":"0x7f19d4fc7bc8",
"references":1,
"type":"udp",
"states":[
]
},
{
"id":"0x7f19d4fd1010",
"references":1,
"type":"udp",
"states":[
]
},
{
"id":"0x7f19d4fd1268",
"references":1,
"type":"udp",
"states":[
]
},
{
"id":"0x7f19d4fd14c0",
"references":1,
"type":"udp",
"states":[
]
},
{
"id":"0x7f19d4fd1718",
"references":1,
"type":"udp",
"states":[
]
},
{
"id":"0x7f19d4fd1970",
"references":1,
"type":"udp",
"states":[
]
},
{
"id":"0x7f19d4fd1bc8",
"references":1,
"type":"udp",
"states":[
]
},
{
"id":"0x7f19d4fd9010",
"references":1,
"type":"udp",
"states":[
]
},
{
"id":"0x7f19d4fda4c0",
"references":1,
"type":"udp",
"states":[
]
},
{
"id":"0x7f19d4fd9bc8",
"references":1,
"type":"udp",
"states":[
]
},
{
"id":"0x7f19d4fda268",
"references":1,
"type":"udp",
"states":[
]
},
{
"id":"0x7f19d4fd9970",
"references":1,
"type":"udp",
"states":[
]
},
{
"id":"0x7f19d4fda010",
"references":1,
"type":"udp",
"states":[
]
},
{
"id":"0x7f19d4fd9718",
"references":1,
"type":"udp",
"states":[
]
}
]
}
}

View file

@ -0,0 +1,172 @@
{
"json-stats-version":"1.2",
"boot-time":"2017-07-28T13:24:53Z",
"config-time":"2017-07-28T13:24:53Z",
"current-time":"2017-07-28T15:33:07Z",
"opcodes":{
"QUERY":13,
"IQUERY":0,
"STATUS":0,
"RESERVED3":0,
"NOTIFY":0,
"UPDATE":0,
"RESERVED6":0,
"RESERVED7":0,
"RESERVED8":0,
"RESERVED9":0,
"RESERVED10":0,
"RESERVED11":0,
"RESERVED12":0,
"RESERVED13":0,
"RESERVED14":0,
"RESERVED15":0
},
"rcodes":{
"NOERROR":1732,
"FORMERR":0,
"SERVFAIL":6,
"NXDOMAIN":200,
"NOTIMP":0,
"REFUSED":0,
"YXDOMAIN":0,
"YXRRSET":0,
"NXRRSET":0,
"NOTAUTH":0,
"NOTZONE":0,
"RESERVED11":0,
"RESERVED12":0,
"RESERVED13":0,
"RESERVED14":0,
"RESERVED15":0,
"BADVERS":0,
"17":0,
"18":0,
"19":0,
"20":0,
"21":0,
"22":0,
"BADCOOKIE":0
},
"qtypes":{
"A":2,
"PTR":7,
"AAAA":2,
"SRV":2
},
"nsstats":{
"Requestv4":13,
"Response":12,
"QrySuccess":6,
"QryAuthAns":1,
"QryNoauthAns":10,
"QryNxrrset":1,
"QrySERVFAIL":1,
"QryNXDOMAIN":4,
"QryRecursion":12,
"QryDuplicate":1,
"QryUDP":13
},
"zonestats":{
"NotifyOutv4":8,
"NotifyInv4":5,
"SOAOutv4":5
},
"views":{
"_default":{
"resolver":{
"stats":{
"Queryv4":447,
"Queryv6":112,
"Responsev4":444,
"NXDOMAIN":3,
"Truncated":114,
"Retry":242,
"QueryTimeout":3,
"GlueFetchv4":61,
"GlueFetchv6":68,
"GlueFetchv6Fail":24,
"ValAttempt":36,
"ValOk":27,
"ValNegOk":9,
"QryRTT100":287,
"QryRTT500":152,
"QryRTT800":4,
"BucketSize":31
},
"qtypes":{
"A":220,
"NS":19,
"PTR":22,
"AAAA":233,
"SRV":14,
"DS":27,
"DNSKEY":24
},
"cache":{
"A":150,
"NS":44,
"PTR":3,
"AAAA":104,
"DS":23,
"RRSIG":94,
"NSEC":8,
"DNSKEY":7,
"!AAAA":23,
"!DS":5,
"NXDOMAIN":1
},
"cachestats":{
"CacheHits":1675,
"CacheMisses":44,
"QueryHits":17,
"QueryMisses":12,
"DeleteLRU":0,
"DeleteTTL":16,
"CacheNodes":219,
"CacheBuckets":129,
"TreeMemTotal":551082,
"TreeMemInUse":150704,
"HeapMemMax":132096,
"HeapMemTotal":393216,
"HeapMemInUse":132096
},
"adb":{
"nentries":1021,
"entriescnt":254,
"nnames":1021,
"namescnt":195
}
}
},
"_bind":{
"resolver":{
"stats":{
"BucketSize":31
},
"qtypes":{
},
"cache":{
},
"cachestats":{
"CacheHits":0,
"CacheMisses":0,
"QueryHits":0,
"QueryMisses":0,
"DeleteLRU":0,
"DeleteTTL":0,
"CacheNodes":0,
"CacheBuckets":64,
"TreeMemTotal":287392,
"TreeMemInUse":29608,
"HeapMemMax":1024,
"HeapMemTotal":262144,
"HeapMemInUse":1024
},
"adb":{
"nentries":1021,
"nnames":1021
}
}
}
}
}