mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* OPNsense better reporting of Version and Platform OPNsense can now report exact version and platform, if the settings in OPNsense is ticked "Display Verion in OID". * OPNsense poller change to better type check OPNsense poller change to better type check on $OIDVersionString, which returns false if not found but contains string if it is. * Add missing bracket to if statement Add missing bracket to if statement on $OIDVersionString * OPNsense poll add required spaces to function call OPNsense poller add required spaces to function call, for coding style checks to pass. * OPNsense test data json files OPNsense test data json files
41 lines
1.4 KiB
JSON
41 lines
1.4 KiB
JSON
{
|
|
"os": {
|
|
"discovery": {
|
|
"devices": [
|
|
{
|
|
"sysName": "",
|
|
"sysObjectID": ".1.3.6.1.4.1.12325.1.1.2.1.1",
|
|
"sysDescr": "OPNsense OPNsense.7p.lan 18.1.1-a5575d7bd OPNsense FreeBSD 11.1-RELEASE-p6 amd64",
|
|
"sysContact": null,
|
|
"version": null,
|
|
"hardware": null,
|
|
"features": null,
|
|
"os": "opnsense",
|
|
"type": "firewall",
|
|
"serial": null,
|
|
"icon": "opnsense.png",
|
|
"location": null
|
|
}
|
|
]
|
|
},
|
|
"poller": {
|
|
"devices": [
|
|
{
|
|
"sysName": "",
|
|
"sysObjectID": ".1.3.6.1.4.1.12325.1.1.2.1.1",
|
|
"sysDescr": "OPNsense OPNsense.7p.lan 18.1.1-a5575d7bd OPNsense FreeBSD 11.1-RELEASE-p6 amd64",
|
|
"sysContact": null,
|
|
"version": "18.1.1-a5575d7bd",
|
|
"hardware": "amd64",
|
|
"features": null,
|
|
"os": "opnsense",
|
|
"type": "firewall",
|
|
"serial": null,
|
|
"icon": "opnsense.png",
|
|
"location": null
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|