librenms/tests/data/linux_seafile-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

178 lines
5.9 KiB
JSON

{
"os": {
"discovery": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.8072.3.2.10",
"sysDescr": "Linux SERVERNAME 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2 (2019-08-28) x86_64",
"sysContact": null,
"version": "4.19.0-6-amd64",
"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 SERVERNAME 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2 (2019-08-28) x86_64",
"sysContact": "<private>",
"version": "4.19.0-6-amd64",
"hardware": "Generic x86 64-bit",
"features": null,
"os": "linux",
"type": "server",
"serial": null,
"icon": "linux.svg",
"location": "<private>"
}
]
}
},
"applications": {
"discovery": {
"applications": [
{
"app_type": "seafile",
"app_state": "UNKNOWN",
"discovered": 1,
"app_state_prev": null,
"app_status": "",
"app_instance": ""
}
],
"application_metrics": []
},
"poller": {
"applications": [
{
"app_type": "seafile",
"app_state": "OK",
"discovered": 1,
"app_state_prev": "UNKNOWN",
"app_status": "",
"app_instance": ""
}
],
"application_metrics": [
{
"metric": "2.2.1_cltver_version",
"value": 1,
"value_prev": null,
"app_type": "seafile"
},
{
"metric": "6.1.5_cltver_version",
"value": 2,
"value_prev": null,
"app_type": "seafile"
},
{
"metric": "devices_sysinfo_connected",
"value": 1,
"value_prev": null,
"app_type": "seafile"
},
{
"metric": "groups_grp_count",
"value": 3,
"value_prev": null,
"app_type": "seafile"
},
{
"metric": "test os 1_cltos_platform",
"value": 4,
"value_prev": null,
"app_type": "seafile"
},
{
"metric": "test os 2_cltos_platform",
"value": 7,
"value_prev": null,
"app_type": "seafile"
},
{
"metric": "test_user_1_acc_enabled",
"value": 1,
"value_prev": null,
"app_type": "seafile"
},
{
"metric": "test_user_1_acc_libraries",
"value": 1,
"value_prev": null,
"app_type": "seafile"
},
{
"metric": "test_user_1_acc_size_consumption",
"value": 311296,
"value_prev": null,
"app_type": "seafile"
},
{
"metric": "test_user_1_acc_trashed_libraries",
"value": 0,
"value_prev": null,
"app_type": "seafile"
},
{
"metric": "test_user_2_acc_enabled",
"value": 1,
"value_prev": null,
"app_type": "seafile"
},
{
"metric": "test_user_2_acc_libraries",
"value": 0,
"value_prev": null,
"app_type": "seafile"
},
{
"metric": "test_user_2_acc_size_consumption",
"value": 0,
"value_prev": null,
"app_type": "seafile"
},
{
"metric": "test_user_2_acc_trashed_libraries",
"value": 0,
"value_prev": null,
"app_type": "seafile"
},
{
"metric": "test_user_3_acc_enabled",
"value": 0,
"value_prev": null,
"app_type": "seafile"
},
{
"metric": "test_user_3_acc_libraries",
"value": 1,
"value_prev": null,
"app_type": "seafile"
},
{
"metric": "test_user_3_acc_size_consumption",
"value": 311296,
"value_prev": null,
"app_type": "seafile"
},
{
"metric": "test_user_3_acc_trashed_libraries",
"value": 0,
"value_prev": null,
"app_type": "seafile"
}
]
}
}
}