mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Imcopower - Fixed state in imcopower-big (#11774)
* Fixed state * Minor fix * Again minor fix * Fixed Travis * Fixed index
This commit is contained in:
@@ -74,9 +74,9 @@ modules:
|
||||
state:
|
||||
data:
|
||||
-
|
||||
oid: imPM1BatLeg1Fuse
|
||||
num_oid: '.1.3.6.1.4.1.2185.1.3.11.2.1.7.16.{{ $index }}'
|
||||
index: 'imPM1BatLeg1Fuse.{{ $index }}'
|
||||
oid: imPM1Power1Running1
|
||||
num_oid: '.1.3.6.1.4.1.2185.1.3.11.2.1.3.32.{{ $index }}'
|
||||
index: 'imPM1Power1Running1.{{ $index }}'
|
||||
descr: 'Power State'
|
||||
states:
|
||||
- { descr: Battery, graph: 0, value: 1, generic: 2 }
|
||||
|
@@ -30,7 +30,7 @@
|
||||
"features": null,
|
||||
"os": "imcopower-big",
|
||||
"type": "power",
|
||||
"serial": "271124617",
|
||||
"serial": "201254517",
|
||||
"icon": "imco.png",
|
||||
"location": "<private>"
|
||||
}
|
||||
@@ -75,7 +75,31 @@
|
||||
"group": null,
|
||||
"sensor_divisor": 10,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 5,
|
||||
"sensor_current": 2.5,
|
||||
"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": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "current",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2185.1.3.11.2.1.4.24.0",
|
||||
"sensor_index": "imPm1Power2OutputCurrent.0",
|
||||
"sensor_type": "imcopower-big",
|
||||
"sensor_descr": "Power 2 Current",
|
||||
"group": null,
|
||||
"sensor_divisor": 10,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"sensor_limit": null,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": null,
|
||||
@@ -99,7 +123,31 @@
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 33,
|
||||
"sensor_current": 19,
|
||||
"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,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "load",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2185.1.3.11.2.1.4.29.0",
|
||||
"sensor_index": "imPm1Power2OutputLoad.0",
|
||||
"sensor_type": "imcopower-big",
|
||||
"sensor_descr": "Power 2 Load (VA)",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"sensor_limit": 80,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": null,
|
||||
@@ -123,7 +171,31 @@
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 275,
|
||||
"sensor_current": 68,
|
||||
"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": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "power",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2185.1.3.11.2.1.4.27.0",
|
||||
"sensor_index": "imPm1Power2OutputPowerW.0",
|
||||
"sensor_type": "imcopower-big",
|
||||
"sensor_descr": "Output Power 2",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"sensor_limit": null,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": null,
|
||||
@@ -147,7 +219,7 @@
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 1440,
|
||||
"sensor_current": 1512,
|
||||
"sensor_limit": null,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": null,
|
||||
@@ -160,6 +232,30 @@
|
||||
"user_func": null,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2185.1.3.11.2.1.3.32.0",
|
||||
"sensor_index": "imPM1Power1Running1.0",
|
||||
"sensor_type": "imPM1Power1Running1",
|
||||
"sensor_descr": "Power State",
|
||||
"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": "imPM1Power1Running1"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "voltage",
|
||||
@@ -171,10 +267,10 @@
|
||||
"group": "Battery",
|
||||
"sensor_divisor": 10,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 55,
|
||||
"sensor_limit": 63.25,
|
||||
"sensor_current": 27.4,
|
||||
"sensor_limit": 31.51,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": 46.75,
|
||||
"sensor_limit_low": 23.29,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
@@ -195,10 +291,34 @@
|
||||
"group": "Power",
|
||||
"sensor_divisor": 10,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 55,
|
||||
"sensor_limit": 63.25,
|
||||
"sensor_current": 27.4,
|
||||
"sensor_limit": 31.51,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": 46.75,
|
||||
"sensor_limit_low": 23.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": "voltage",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2185.1.3.11.2.1.4.23.0",
|
||||
"sensor_index": "imPm1Power2OutputVoltage.0",
|
||||
"sensor_type": "imcopower-big",
|
||||
"sensor_descr": "Power 2 Voltage",
|
||||
"group": "Power",
|
||||
"sensor_divisor": 10,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": -48.1,
|
||||
"sensor_limit": -40.885,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": -55.315,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
@@ -209,7 +329,22 @@
|
||||
"state_name": null
|
||||
}
|
||||
],
|
||||
"state_indexes": []
|
||||
"state_indexes": [
|
||||
{
|
||||
"state_name": "imPM1Power1Running1",
|
||||
"state_descr": "Online",
|
||||
"state_draw_graph": 0,
|
||||
"state_value": 0,
|
||||
"state_generic_value": 0
|
||||
},
|
||||
{
|
||||
"state_name": "imPM1Power1Running1",
|
||||
"state_descr": "Battery",
|
||||
"state_draw_graph": 0,
|
||||
"state_value": 1,
|
||||
"state_generic_value": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
"poller": "matches discovery"
|
||||
}
|
||||
|
@@ -1,18 +1,22 @@
|
||||
1.3.6.1.2.1.1.1.0|4|IMCO SNMP Agent 10.10
|
||||
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.818.32.4.43
|
||||
1.3.6.1.2.1.1.3.0|67|3214852004
|
||||
1.3.6.1.2.1.1.3.0|67|3842412700
|
||||
1.3.6.1.2.1.1.4.0|4|<private>
|
||||
1.3.6.1.2.1.1.5.0|4|<private>
|
||||
1.3.6.1.2.1.1.6.0|4|<private>
|
||||
1.3.6.1.4.1.818.1.20.9.0|4|0100000000
|
||||
1.3.6.1.4.1.2185.1.3.11.1.1.0|4|IMCOpower
|
||||
1.3.6.1.4.1.2185.1.3.11.1.2.0|4|XXX2.8
|
||||
1.3.6.1.4.1.2185.1.3.11.1.3.0|4|2.8
|
||||
1.3.6.1.4.1.2185.1.3.11.2.1.1.3.0|4|271124617
|
||||
1.3.6.1.4.1.2185.1.3.11.2.1.3.23.0|2|550
|
||||
1.3.6.1.4.1.2185.1.3.11.2.1.3.24.0|2|50
|
||||
1.3.6.1.4.1.2185.1.3.11.2.1.3.27.0|2|275
|
||||
1.3.6.1.4.1.2185.1.3.11.2.1.3.29.0|2|33
|
||||
1.3.6.1.4.1.2185.1.3.11.2.1.6.2.0|2|550
|
||||
1.3.6.1.4.1.2185.1.3.11.2.1.1.3.0|4|201254517
|
||||
1.3.6.1.4.1.2185.1.3.11.2.1.3.23.0|2|274
|
||||
1.3.6.1.4.1.2185.1.3.11.2.1.3.24.0|2|25
|
||||
1.3.6.1.4.1.2185.1.3.11.2.1.3.27.0|2|68
|
||||
1.3.6.1.4.1.2185.1.3.11.2.1.3.29.0|2|19
|
||||
1.3.6.1.4.1.2185.1.3.11.2.1.3.32.0|2|0
|
||||
1.3.6.1.4.1.2185.1.3.11.2.1.4.23.0|2|-481
|
||||
1.3.6.1.4.1.2185.1.3.11.2.1.4.24.0|2|0
|
||||
1.3.6.1.4.1.2185.1.3.11.2.1.4.27.0|2|0
|
||||
1.3.6.1.4.1.2185.1.3.11.2.1.4.29.0|2|0
|
||||
1.3.6.1.4.1.2185.1.3.11.2.1.6.2.0|2|274
|
||||
1.3.6.1.4.1.2185.1.3.11.2.1.7.12.0|2|100
|
||||
1.3.6.1.4.1.2185.1.3.11.2.1.7.14.0|2|1440
|
||||
1.3.6.1.4.1.2185.1.3.11.2.1.7.14.0|2|1512
|
||||
|
Reference in New Issue
Block a user