librenms/tests/data/linux_powerdns-v1.json
Tony Murray 941037e44e
Convert OS discovery to new style (#12099)
* terra

* airos

* port cisco os polling
old wwan polling was broken and deprecated anyway

* enterasys

* Brother, a few changes

* AW Plus

* Fabos

* set expected test data

* 3com

* Adva FSP150

* advantech

* airos-af

* aix

* akcp

* allied

* allworx and missed mibs

* anyos

* fixup some zyxel shared stuffs
zywall graph polling

* aos

* apc

* apex

* apsoluteos

* fix copyrights

* arris

* arris

* aruba-instant

* ArubaOS

* Ascom

* asuswrt-merlin, ats

* audiocodes

* avocent

* avtech

* barracuda

* binox

* boss

* canonprinter

* cdata

* ceraos

* ciena-waveserver

* fix 3com

* fix airos

* fix brother yaml?

* fix aos more

* fix and improve apc

* fix arista test data

* yaml discovery (basic)

* cimc

* mib not used

* remove old discovery file

* ciscosat

* ciscosb fixes + improvements

* comware

* ctm

* cumulus

* cxr-ts

* cyberoam-utm

* cyberpower

* dahua-nvr

* dasan-nos

* datadomain

* dcn-software and fallback oids

* dd-wrt

* dell-laser

* d*

* e* and location

* forti, post processing, oid coalescing

* Freebsd array of sysDescr regex

* finish f*

* g*

* h*

* i* WIP

* i*

* Junos

* j*

* k*

* unix refactor previous to yaml more
inject $device

* fixes

* fixes

* l*

* m*

* n* ability to set other fields in regex
tnmsne polling to eloquent

* o*

* p*

* q* + bonus calix

* r*

* s* WIP

* s*

* t*

* u*

* v*
rework vrp to yaml (hybrid)

* w*

* x*

* z*

* a* easy no-data

* fixes

* style fixes

* missed ApexPlus

* fix signature

* Add missing location data

* rename getDevice functions

* add new cisco ftd data

* update docs

* revert sill snmp format

* fix snmp options

* update for new smartax test data

* rebase dsm

* fix voss
2020-09-18 15:12:07 +02:00

202 lines
6.6 KiB
JSON

{
"applications": {
"discovery": {
"applications": [
{
"app_type": "powerdns",
"app_state": "UNKNOWN",
"discovered": 1,
"app_state_prev": null,
"app_status": "",
"app_instance": ""
}
],
"application_metrics": []
},
"poller": {
"applications": [
{
"app_type": "powerdns",
"app_state": "OK",
"discovered": 1,
"app_state_prev": "UNKNOWN",
"app_status": "",
"app_instance": ""
}
],
"application_metrics": [
{
"metric": "corruptPackets",
"value": 263986,
"value_prev": null,
"app_type": "powerdns"
},
{
"metric": "def_cacheInserts",
"value": 103618,
"value_prev": null,
"app_type": "powerdns"
},
{
"metric": "def_cacheLookup",
"value": 46903,
"value_prev": null,
"app_type": "powerdns"
},
{
"metric": "latency",
"value": 77,
"value_prev": null,
"app_type": "powerdns"
},
{
"metric": "pc_hit",
"value": 26752411,
"value_prev": null,
"app_type": "powerdns"
},
{
"metric": "pc_miss",
"value": 56237088,
"value_prev": null,
"app_type": "powerdns"
},
{
"metric": "pc_size",
"value": 10144,
"value_prev": null,
"app_type": "powerdns"
},
{
"metric": "q_tcpAnswers",
"value": 342297,
"value_prev": null,
"app_type": "powerdns"
},
{
"metric": "q_tcpQueries",
"value": 342337,
"value_prev": null,
"app_type": "powerdns"
},
{
"metric": "q_timedout",
"value": 101,
"value_prev": null,
"app_type": "powerdns"
},
{
"metric": "q_udp4Answers",
"value": 69162533,
"value_prev": null,
"app_type": "powerdns"
},
{
"metric": "q_udp4Queries",
"value": 69139691,
"value_prev": null,
"app_type": "powerdns"
},
{
"metric": "q_udp6Answers",
"value": 13642112,
"value_prev": null,
"app_type": "powerdns"
},
{
"metric": "q_udp6Queries",
"value": 13618995,
"value_prev": null,
"app_type": "powerdns"
},
{
"metric": "q_udpAnswers",
"value": 82804645,
"value_prev": null,
"app_type": "powerdns"
},
{
"metric": "q_udpQueries",
"value": 82758686,
"value_prev": null,
"app_type": "powerdns"
},
{
"metric": "qc_hit",
"value": 116318482,
"value_prev": null,
"app_type": "powerdns"
},
{
"metric": "qc_miss",
"value": 132904846,
"value_prev": null,
"app_type": "powerdns"
},
{
"metric": "qsize",
"value": 0,
"value_prev": null,
"app_type": "powerdns"
},
{
"metric": "rec_answers",
"value": 0,
"value_prev": null,
"app_type": "powerdns"
},
{
"metric": "rec_questions",
"value": 0,
"value_prev": null,
"app_type": "powerdns"
},
{
"metric": "servfailPackets",
"value": 263453,
"value_prev": null,
"app_type": "powerdns"
}
]
}
},
"os": {
"discovery": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.8072.3.2.10",
"sysDescr": "Linux server 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 x86_64",
"sysContact": null,
"version": "3.10.0-693.5.2.el7.x86_64",
"hardware": "Generic x86 64-bit",
"features": null,
"os": "linux",
"type": "server",
"serial": null,
"icon": "linux.svg",
"location": "<private>"
}
]
},
"poller": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.8072.3.2.10",
"sysDescr": "Linux server 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 x86_64",
"sysContact": "<private>",
"version": "3.10.0-693.5.2.el7.x86_64",
"hardware": "Generic x86 64-bit",
"features": null,
"os": "linux",
"type": "server",
"serial": null,
"icon": "linux.svg",
"location": "<private>"
}
]
}
}
}