Files
librenms-librenms/tests/data/netspire.json
Tony Murray d5656d826e Tests dont include empty tables (#13619)
* Do not include empty tables in test data

* empty data is simpler to check now

* Update test data

* revert comment options that block update all test data

* clean existing data

* fixes

* another fix

* remov extra sensors???

* why is that using that ip...

* missed an empty table

* missed one

* restore ftos

* revert another ftos

* revert ird

* restore timos

* restore timos_7705

* oops

* double oops

* timos mpls

* timos_hc

* another timos_hc fix
2021-12-15 19:48:44 -06:00

100 lines
3.4 KiB
JSON

{
"os": {
"discovery": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.1732",
"sysDescr": "NetSpire CONAC01/4004:70FM r1.0",
"sysContact": "<private>",
"version": null,
"hardware": "CONAC01/4004:70FM",
"features": null,
"os": "netspire",
"type": "appliance",
"serial": "141100002",
"icon": "openaccess.png",
"location": "<private>"
}
]
},
"poller": "matches discovery"
},
"processors": {
"discovery": {
"processors": [
{
"entPhysicalIndex": 0,
"hrDeviceIndex": 0,
"processor_oid": ".1.3.6.1.4.1.1732.2.1.9.0",
"processor_index": "0",
"processor_type": "netspire",
"processor_usage": 34,
"processor_descr": "Processor",
"processor_precision": 1,
"processor_perc_warn": 75
}
]
},
"poller": "matches discovery"
},
"sensors": {
"discovery": {
"sensors": [
{
"sensor_deleted": 0,
"sensor_class": "temperature",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.1732.2.1.10.0",
"sensor_index": "0",
"sensor_type": "netspire",
"sensor_descr": "System Temperature",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 48,
"sensor_limit": 68,
"sensor_limit_warn": null,
"sensor_limit_low": 38,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": null
}
]
},
"poller": "matches discovery"
},
"mempools": {
"discovery": {
"mempools": [
{
"mempool_index": "0",
"entPhysicalIndex": null,
"mempool_type": "netspire",
"mempool_class": "system",
"mempool_precision": 1,
"mempool_descr": "Storage",
"mempool_perc": 0,
"mempool_perc_oid": ".1.3.6.1.4.1.1732.2.1.8.0",
"mempool_used": 0,
"mempool_used_oid": null,
"mempool_free": 100,
"mempool_free_oid": null,
"mempool_total": 100,
"mempool_total_oid": null,
"mempool_largestfree": null,
"mempool_lowestfree": null,
"mempool_deleted": 0,
"mempool_perc_warn": 90
}
]
},
"poller": "matches discovery"
}
}