librenms/tests/data/cetpower.json
PipoCanaja 8e3fe223ef
Sensors - Allow changing RRD type in YAML and PHP sensor discovery (#14208)
* new row variant

* syntax

* syntax

* DB

* syntax

* schema

* test

* allAdvaTests

* Tests

* Tests

* Tests

* missingMigration

* missingMigration

* Tests

* Tests

* Tests

* Tests

* tests

* tests

* tests

* tests

* tests

* test

* fix_Aos7

* fix snmprec arista

* fix snmprec arista

* fix snmprec arista

* tests

* merge_fix

* aos7 backslash

* aos7

* more

* more

* defaultValue

* arista

* typehint

* tests

* tests

* voss

* aos7

* aos7

* aos7

* testWithoutarista-mos_metamux48-c-0-16.json

* tests

* ciscosb

* new tests with 2004 and only sensors module

* adding wireless module again

* adding wireless module again (cont)

* airos

* aos7

* arista

* arista

* bdcom

* fortigate

* fortigate

* fortigate

* ftos

* ftos

* tests on 1804

* tests once more

* tests once more, cont

* tests once more, cont

* tests once more, cont

* tests once more, cont

* tests once more, cont

* more

* bdcom

* comware

* edgeosolt

* enexus

* arista-mos

* removeAristaAgain

* ies500_manual_edit

* ies500_manual_edit

* mni

* volius

* zywal

* manually imported arista-mos

* manually imported arista-mos

* arista-mos test is triggering something ...

* restoreArista

* tests

* tests

* aristamos

* ies52xxM_4206.json

* revert linux_supermicro.json

* revert linux_supermicro.json

* benuos

* fortiadc

* rnx-updu
2022-10-25 08:31:02 -05:00

406 lines
17 KiB
JSON

{
"os": {
"discovery": {
"devices": [
{
"sysName": "t2s-eth",
"sysObjectID": ".1.3.6.1.4.1.12551.4.0",
"sysDescr": "T2S-ETH supervisor for TSI SNMP V1.0",
"sysContact": "help@cet-power.com",
"version": null,
"hardware": null,
"features": null,
"location": "Local",
"os": "cetpower",
"type": "power",
"serial": null,
"icon": "cet.png"
}
]
},
"poller": "matches discovery"
},
"sensors": {
"discovery": {
"sensors": [
{
"sensor_deleted": 0,
"sensor_class": "load",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.12551.4.1.2.2.1.2.1",
"sensor_index": "tsiPhaseAvailablePowerRatio.1",
"sensor_type": "cetpower",
"sensor_descr": "Available Power Ratio 1",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 28,
"sensor_limit": 80,
"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,
"rrd_type": "GAUGE",
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "power",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.12551.4.1.2.2.1.12.1",
"sensor_index": "tsiPhaseCurrentPowerInW.1",
"sensor_type": "cetpower",
"sensor_descr": "Current Power In 1",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 3411,
"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,
"rrd_type": "GAUGE",
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "power",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.12551.4.1.2.2.1.14.1",
"sensor_index": "tsiPhaseInstalledPowerInW.1",
"sensor_type": "cetpower",
"sensor_descr": "Installed Power In 1",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 12000,
"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,
"rrd_type": "GAUGE",
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "temperature",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.12551.4.1.1.1.1.28.4",
"sensor_index": "tsiModuleTemperature.4",
"sensor_type": "cetpower",
"sensor_descr": "Module Temperature 4",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 29,
"sensor_limit": 49,
"sensor_limit_warn": null,
"sensor_limit_low": 19,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "temperature",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.12551.4.1.1.1.1.28.5",
"sensor_index": "tsiModuleTemperature.5",
"sensor_type": "cetpower",
"sensor_descr": "Module Temperature 5",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 31,
"sensor_limit": 51,
"sensor_limit_warn": null,
"sensor_limit_low": 21,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "temperature",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.12551.4.1.1.1.1.28.6",
"sensor_index": "tsiModuleTemperature.6",
"sensor_type": "cetpower",
"sensor_descr": "Module Temperature 6",
"group": null,
"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,
"rrd_type": "GAUGE",
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "voltage",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.12551.4.1.1.1.1.20.4",
"sensor_index": "tsiModuleVinAC.4",
"sensor_type": "cetpower",
"sensor_descr": "Module Voltage in AC 4",
"group": null,
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_current": 238.4,
"sensor_limit": 274.16,
"sensor_limit_warn": null,
"sensor_limit_low": 202.64,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "voltage",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.12551.4.1.1.1.1.20.5",
"sensor_index": "tsiModuleVinAC.5",
"sensor_type": "cetpower",
"sensor_descr": "Module Voltage in AC 5",
"group": null,
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_current": 238.1,
"sensor_limit": 273.815,
"sensor_limit_warn": null,
"sensor_limit_low": 202.385,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "voltage",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.12551.4.1.1.1.1.20.6",
"sensor_index": "tsiModuleVinAC.6",
"sensor_type": "cetpower",
"sensor_descr": "Module Voltage in AC 6",
"group": null,
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_current": 238.3,
"sensor_limit": 274.045,
"sensor_limit_warn": null,
"sensor_limit_low": 202.555,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "voltage",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.12551.4.1.1.1.1.25.4",
"sensor_index": "tsiModuleVinDC.4",
"sensor_type": "cetpower",
"sensor_descr": "Module Voltage in DC 4",
"group": null,
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_current": 51.2,
"sensor_limit": 58.88,
"sensor_limit_warn": null,
"sensor_limit_low": 43.52,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "voltage",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.12551.4.1.1.1.1.25.5",
"sensor_index": "tsiModuleVinDC.5",
"sensor_type": "cetpower",
"sensor_descr": "Module Voltage in DC 5",
"group": null,
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_current": 51.4,
"sensor_limit": 59.11,
"sensor_limit_warn": null,
"sensor_limit_low": 43.69,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "voltage",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.12551.4.1.1.1.1.25.6",
"sensor_index": "tsiModuleVinDC.6",
"sensor_type": "cetpower",
"sensor_descr": "Module Voltage in DC 6",
"group": null,
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_current": 51.3,
"sensor_limit": 58.995,
"sensor_limit_warn": null,
"sensor_limit_low": 43.605,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "voltage",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.12551.4.1.1.1.1.16.4",
"sensor_index": "tsiModuleVout.4",
"sensor_type": "cetpower",
"sensor_descr": "Module Voltage Out 4",
"group": null,
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_current": 230.7,
"sensor_limit": 265.305,
"sensor_limit_warn": null,
"sensor_limit_low": 196.095,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "voltage",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.12551.4.1.1.1.1.16.5",
"sensor_index": "tsiModuleVout.5",
"sensor_type": "cetpower",
"sensor_descr": "Module Voltage Out 5",
"group": null,
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_current": 230.7,
"sensor_limit": 265.305,
"sensor_limit_warn": null,
"sensor_limit_low": 196.095,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "voltage",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.12551.4.1.1.1.1.16.6",
"sensor_index": "tsiModuleVout.6",
"sensor_type": "cetpower",
"sensor_descr": "Module Voltage Out 6",
"group": null,
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_current": 230.8,
"sensor_limit": 265.42,
"sensor_limit_warn": null,
"sensor_limit_low": 196.18,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": null
}
]
},
"poller": "matches discovery"
}
}