librenms/tests/data/fiberhome-switch_fh4800.json
Tony Murray 63c85429ae Added support for grouping sensors (#9606)
Improves visual identification for sensors

 - [x] Docs

DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2019-01-11 22:42:56 +00:00

88 lines
3.6 KiB
JSON

{
"os": {
"discovery": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.3807.1.481005",
"sysDescr": "S4800 FiberHome INP (R) Software, Version V210R220,Hw Version N/A,Copyright (c) 2000-2017 by FiberHome Technologies Co., Ltd",
"sysContact": null,
"version": null,
"hardware": "",
"features": null,
"location": null,
"os": "fiberhome-switch",
"type": "network",
"serial": null,
"icon": "fiberhome.svg"
}
]
},
"poller": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.3807.1.481005",
"sysDescr": "S4800 FiberHome INP (R) Software, Version V210R220,Hw Version N/A,Copyright (c) 2000-2017 by FiberHome Technologies Co., Ltd",
"sysContact": "<private>",
"version": "V210R220\u0000\u0000\u0000\u0000\u0000\u0000\u0000\n00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 \n00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 \n00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00",
"hardware": "FHN S4800 V N/A\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\n00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 \n00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 \n00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00",
"features": null,
"location": "<private>",
"os": "fiberhome-switch",
"type": "network",
"serial": null,
"icon": "fiberhome.svg"
}
]
}
},
"sensors": {
"discovery": {
"sensors": [
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.3807.1.8012.1.4.1.1.7.1",
"sensor_index": "1",
"sensor_type": "cpuStatus",
"sensor_descr": "CPU Status",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 0,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": "cpuStatus"
}
],
"state_indexes": [
{
"state_name": "cpuStatus",
"state_descr": "Normal",
"state_draw_graph": 0,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "cpuStatus",
"state_descr": "Overflow",
"state_draw_graph": 0,
"state_value": 1,
"state_generic_value": 2
}
]
},
"poller": "matches discovery"
}
}