Files
librenms-librenms/tests/data/cimc.json
vivia11 0797d0892f Fix sensors for cimc os (#8591)
* fix OIDs for temperature sensor and add test data

* Add current values to discover sensor and test data

* Redo test data

* Split up power/current/voltage sensors to individual files and remove json data

* Whitespace fix

* Fix temperature sensors - spelling mistakes

* Code changes to voltage/power/current sensors

* Go to yaml, add mibs and json
2018-05-11 22:23:37 -05:00

333 lines
14 KiB
JSON

{
"sensors": {
"discovery": {
"sensors": [
{
"sensor_deleted": "0",
"sensor_class": "current",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.9.9.719.1.9.14.1.8.1",
"sensor_index": "mb-input-current",
"sensor_type": "cimc",
"sensor_descr": "MB Input Current",
"sensor_divisor": "1",
"sensor_multiplier": "1",
"sensor_current": "12",
"sensor_limit": "18",
"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": null
},
{
"sensor_deleted": "0",
"sensor_class": "power",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.9.9.719.1.9.14.1.4.1",
"sensor_index": "mb-input-power",
"sensor_type": "cimc",
"sensor_descr": "MB Input Power",
"sensor_divisor": "1",
"sensor_multiplier": "1",
"sensor_current": "176",
"sensor_limit": "264",
"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": null
},
{
"sensor_deleted": "0",
"sensor_class": "temperature",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.9.9.719.1.9.44.1.4.1",
"sensor_index": "ambient.1",
"sensor_type": "cimc",
"sensor_descr": "Rack Unit Ambient Temperature",
"sensor_divisor": "1",
"sensor_multiplier": "1",
"sensor_current": "19",
"sensor_limit": "39",
"sensor_limit_warn": null,
"sensor_limit_low": "9",
"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
},
{
"sensor_deleted": "0",
"sensor_class": "temperature",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.9.9.719.1.41.2.1.10.1",
"sensor_index": "cpu.1",
"sensor_type": "cimc",
"sensor_descr": "CPU 1 Temperature",
"sensor_divisor": "1",
"sensor_multiplier": "1",
"sensor_current": "39",
"sensor_limit": "59",
"sensor_limit_warn": null,
"sensor_limit_low": "29",
"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
},
{
"sensor_deleted": "0",
"sensor_class": "temperature",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.9.9.719.1.41.2.1.10.2",
"sensor_index": "cpu.2",
"sensor_type": "cimc",
"sensor_descr": "CPU 2 Temperature",
"sensor_divisor": "1",
"sensor_multiplier": "1",
"sensor_current": "40",
"sensor_limit": "60",
"sensor_limit_warn": null,
"sensor_limit_low": "30",
"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
},
{
"sensor_deleted": "0",
"sensor_class": "temperature",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.9.9.719.1.9.44.1.8.1",
"sensor_index": "front.1",
"sensor_type": "cimc",
"sensor_descr": "Rack Unit Front Temperature",
"sensor_divisor": "1",
"sensor_multiplier": "1",
"sensor_current": "19",
"sensor_limit": "39",
"sensor_limit_warn": null,
"sensor_limit_low": "9",
"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
},
{
"sensor_deleted": "0",
"sensor_class": "temperature",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.9.9.719.1.9.44.1.13.1",
"sensor_index": "ioh1.1",
"sensor_type": "cimc",
"sensor_descr": "IO Hub 1 Temperature",
"sensor_divisor": "1",
"sensor_multiplier": "1",
"sensor_current": "33",
"sensor_limit": "53",
"sensor_limit_warn": null,
"sensor_limit_low": "23",
"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
},
{
"sensor_deleted": "0",
"sensor_class": "temperature",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.9.9.719.1.9.44.1.17.1",
"sensor_index": "ioh2.1",
"sensor_type": "cimc",
"sensor_descr": "IO Hub 2 Temperature",
"sensor_divisor": "1",
"sensor_multiplier": "1",
"sensor_current": "0",
"sensor_limit": "20",
"sensor_limit_warn": null,
"sensor_limit_low": "-10",
"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
},
{
"sensor_deleted": "0",
"sensor_class": "temperature",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.9.9.719.1.30.12.1.6.1",
"sensor_index": "mem.1",
"sensor_type": "cimc",
"sensor_descr": "Memory 1 Temperature",
"sensor_divisor": "1",
"sensor_multiplier": "1",
"sensor_current": "28",
"sensor_limit": "48",
"sensor_limit_warn": null,
"sensor_limit_low": "18",
"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
},
{
"sensor_deleted": "0",
"sensor_class": "temperature",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.9.9.719.1.30.12.1.6.2",
"sensor_index": "mem.2",
"sensor_type": "cimc",
"sensor_descr": "Memory 2 Temperature",
"sensor_divisor": "1",
"sensor_multiplier": "1",
"sensor_current": "27",
"sensor_limit": "47",
"sensor_limit_warn": null,
"sensor_limit_low": "17",
"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
},
{
"sensor_deleted": "0",
"sensor_class": "temperature",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.9.9.719.1.30.12.1.6.3",
"sensor_index": "mem.3",
"sensor_type": "cimc",
"sensor_descr": "Memory 3 Temperature",
"sensor_divisor": "1",
"sensor_multiplier": "1",
"sensor_current": "28",
"sensor_limit": "48",
"sensor_limit_warn": null,
"sensor_limit_low": "18",
"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
},
{
"sensor_deleted": "0",
"sensor_class": "temperature",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.9.9.719.1.30.12.1.6.4",
"sensor_index": "mem.4",
"sensor_type": "cimc",
"sensor_descr": "Memory 4 Temperature",
"sensor_divisor": "1",
"sensor_multiplier": "1",
"sensor_current": "28",
"sensor_limit": "48",
"sensor_limit_warn": null,
"sensor_limit_low": "18",
"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
},
{
"sensor_deleted": "0",
"sensor_class": "temperature",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.9.9.719.1.9.44.1.21.1",
"sensor_index": "rear.1",
"sensor_type": "cimc",
"sensor_descr": "Rack Unit Rear Temperature",
"sensor_divisor": "1",
"sensor_multiplier": "1",
"sensor_current": "33",
"sensor_limit": "53",
"sensor_limit_warn": null,
"sensor_limit_low": "23",
"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
},
{
"sensor_deleted": "0",
"sensor_class": "voltage",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.9.9.719.1.9.14.1.12.1",
"sensor_index": "mb-input-voltage",
"sensor_type": "cimc",
"sensor_descr": "MB Input Voltage",
"sensor_divisor": "1",
"sensor_multiplier": "1",
"sensor_current": "12",
"sensor_limit": "13.8",
"sensor_limit_warn": null,
"sensor_limit_low": "10.2",
"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
}
],
"state_indexes": []
},
"poller": "matches discovery"
}
}