Files
librenms-librenms/tests/data/freebsd.json
James French bc16d35d65 Added hardware detection for FreeBSD (#11313)
* Added hardware detection for FreeBSD

* Clean-up unnecessary str_replace

* Cleanup str_replace() in existing code

* Added OS module tests for FreeBSD Hardware Detect

* Create freebsd.json

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2020-04-12 11:16:19 -05:00

41 lines
1.5 KiB
JSON

{
"os": {
"discovery": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.2238",
"sysDescr": "FreeBSD some.example.org 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64",
"sysContact": null,
"version": null,
"hardware": null,
"features": null,
"os": "freebsd",
"type": "server",
"serial": null,
"icon": "freebsd.svg",
"location": null
}
]
},
"poller": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.2238",
"sysDescr": "FreeBSD some.example.org 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64",
"sysContact": "<private>",
"version": "9.2-RELEASE",
"hardware": "Red Hat [KVM]",
"features": "FreeBSD 12.1-RELEASE-p3",
"os": "freebsd",
"type": "server",
"serial": null,
"icon": "freebsd.svg",
"location": "<private>"
}
]
}
}
}