mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Include device_graphs in saved os module test data
This commit is contained in:
@@ -18,6 +18,55 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"poller": "matches discovery"
|
"poller": {
|
||||||
|
"devices": [
|
||||||
|
{
|
||||||
|
"sysName": "<private>",
|
||||||
|
"sysObjectID": ".1.3.6.1.4.1.30155.23.1",
|
||||||
|
"sysDescr": "OpenBSD hostname.example.com 7.1 GENERIC.MP#465 amd64",
|
||||||
|
"sysContact": "<private>",
|
||||||
|
"version": "7.1",
|
||||||
|
"hardware": null,
|
||||||
|
"features": null,
|
||||||
|
"os": "openbsd",
|
||||||
|
"type": "server",
|
||||||
|
"serial": null,
|
||||||
|
"icon": "openbsd.svg",
|
||||||
|
"location": "<private>"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"device_graphs": [
|
||||||
|
{
|
||||||
|
"graph": "availability"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"graph": "pf_drops"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"graph": "pf_inserts"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"graph": "pf_matches"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"graph": "pf_removals"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"graph": "pf_searches"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"graph": "pf_states"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"graph": "ping_perf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"graph": "poller_modules_perf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"graph": "poller_perf"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -103,6 +103,9 @@ os:
|
|||||||
included_fields: [sysName, sysObjectID, sysDescr, sysContact, version, hardware, features, location, os, type, serial, icon]
|
included_fields: [sysName, sysObjectID, sysDescr, sysContact, version, hardware, features, location, os, type, serial, icon]
|
||||||
joins:
|
joins:
|
||||||
- { left: devices.location_id, right: locations.id, select: [location] }
|
- { left: devices.location_id, right: locations.id, select: [location] }
|
||||||
|
device_graphs:
|
||||||
|
included_fields: [graph]
|
||||||
|
order_by: graph
|
||||||
processors:
|
processors:
|
||||||
processors:
|
processors:
|
||||||
excluded_fields: [device_id, processor_id]
|
excluded_fields: [device_id, processor_id]
|
||||||
|
Reference in New Issue
Block a user