mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added VRP stack member and ports discovery (#9891)
* VRP stack ports * Add test data
This commit is contained in:
@@ -34591,6 +34591,150 @@
|
||||
"user_func": "uw_to_dbm",
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2011.5.25.183.1.20.1.3.1",
|
||||
"sensor_index": "1",
|
||||
"sensor_type": "hwMemberStackRole",
|
||||
"sensor_descr": "Unit 1 S5720-56C-PWR-EI-AC Status",
|
||||
"group": "Stack",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 1,
|
||||
"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": "hwMemberStackRole"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2011.5.25.183.1.20.1.3.2",
|
||||
"sensor_index": "2",
|
||||
"sensor_type": "hwMemberStackRole",
|
||||
"sensor_descr": "Unit 2 S5720-56C-PWR-EI-AC Status",
|
||||
"group": "Stack",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 2,
|
||||
"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": "hwMemberStackRole"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2011.5.25.183.1.21.1.5.1.0",
|
||||
"sensor_index": "1.0",
|
||||
"sensor_type": "hwStackPortStatus",
|
||||
"sensor_descr": "Stack Port 1.0 Status",
|
||||
"group": "Stack",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 1,
|
||||
"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": "hwStackPortStatus"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2011.5.25.183.1.21.1.5.1.1",
|
||||
"sensor_index": "1.1",
|
||||
"sensor_type": "hwStackPortStatus",
|
||||
"sensor_descr": "Stack Port 1.1 Status",
|
||||
"group": "Stack",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 1,
|
||||
"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": "hwStackPortStatus"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2011.5.25.183.1.21.1.5.2.0",
|
||||
"sensor_index": "2.0",
|
||||
"sensor_type": "hwStackPortStatus",
|
||||
"sensor_descr": "Stack Port 2.0 Status",
|
||||
"group": "Stack",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 1,
|
||||
"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": "hwStackPortStatus"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2011.5.25.183.1.21.1.5.2.1",
|
||||
"sensor_index": "2.1",
|
||||
"sensor_type": "hwStackPortStatus",
|
||||
"sensor_descr": "Stack Port 2.1 Status",
|
||||
"group": "Stack",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 1,
|
||||
"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": "hwStackPortStatus"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "temperature",
|
||||
@@ -34808,7 +34952,43 @@
|
||||
"state_name": null
|
||||
}
|
||||
],
|
||||
"state_indexes": []
|
||||
"state_indexes": [
|
||||
{
|
||||
"state_name": "hwMemberStackRole",
|
||||
"state_descr": "Master",
|
||||
"state_draw_graph": 1,
|
||||
"state_value": 1,
|
||||
"state_generic_value": 0
|
||||
},
|
||||
{
|
||||
"state_name": "hwMemberStackRole",
|
||||
"state_descr": "Standby",
|
||||
"state_draw_graph": 1,
|
||||
"state_value": 2,
|
||||
"state_generic_value": 0
|
||||
},
|
||||
{
|
||||
"state_name": "hwMemberStackRole",
|
||||
"state_descr": "Slave",
|
||||
"state_draw_graph": 1,
|
||||
"state_value": 3,
|
||||
"state_generic_value": 0
|
||||
},
|
||||
{
|
||||
"state_name": "hwStackPortStatus",
|
||||
"state_descr": "Up",
|
||||
"state_draw_graph": 1,
|
||||
"state_value": 1,
|
||||
"state_generic_value": 0
|
||||
},
|
||||
{
|
||||
"state_name": "hwStackPortStatus",
|
||||
"state_descr": "Down",
|
||||
"state_draw_graph": 1,
|
||||
"state_value": 2,
|
||||
"state_generic_value": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
"poller": "matches discovery"
|
||||
},
|
||||
|
@@ -20301,6 +20301,30 @@
|
||||
1.3.6.1.4.1.2011.5.25.42.2.1.3.1.4.244.207.226.255.185.196.391.1.48|2|111
|
||||
1.3.6.1.4.1.2011.5.25.42.2.1.3.1.4.248.177.86.195.39.132.407.1.48|2|111
|
||||
1.3.6.1.4.1.2011.5.25.42.2.1.3.1.4.248.177.86.228.110.120.407.1.48|2|111
|
||||
1.3.6.1.4.1.2011.5.25.183.1.20.1.2.1|2|100
|
||||
1.3.6.1.4.1.2011.5.25.183.1.20.1.2.2|2|100
|
||||
1.3.6.1.4.1.2011.5.25.183.1.20.1.3.1|2|1
|
||||
1.3.6.1.4.1.2011.5.25.183.1.20.1.3.2|2|2
|
||||
1.3.6.1.4.1.2011.5.25.183.1.20.1.4.1|4|488e-ef71-6820
|
||||
1.3.6.1.4.1.2011.5.25.183.1.20.1.4.2|4|488e-ef71-6070
|
||||
1.3.6.1.4.1.2011.5.25.183.1.20.1.5.1|4|S5720-56C-PWR-EI-AC
|
||||
1.3.6.1.4.1.2011.5.25.183.1.20.1.5.2|4|S5720-56C-PWR-EI-AC
|
||||
1.3.6.1.4.1.2011.5.25.183.1.20.1.6.1|2|1
|
||||
1.3.6.1.4.1.2011.5.25.183.1.20.1.6.2|2|2
|
||||
1.3.6.1.4.1.2011.5.25.183.1.20.1.7.1|4|1.3.6.1.4.1.2011.2.23.291
|
||||
1.3.6.1.4.1.2011.5.25.183.1.20.1.7.2|4|1.3.6.1.4.1.2011.2.23.291
|
||||
1.3.6.1.4.1.2011.5.25.183.1.21.1.3.1.0|4|STACK 1
|
||||
1.3.6.1.4.1.2011.5.25.183.1.21.1.3.1.1|4|STACK 2
|
||||
1.3.6.1.4.1.2011.5.25.183.1.21.1.3.2.0|4|STACK 1
|
||||
1.3.6.1.4.1.2011.5.25.183.1.21.1.3.2.1|4|STACK 2
|
||||
1.3.6.1.4.1.2011.5.25.183.1.21.1.4.1.0|4|2
|
||||
1.3.6.1.4.1.2011.5.25.183.1.21.1.4.1.1|4|2
|
||||
1.3.6.1.4.1.2011.5.25.183.1.21.1.4.2.0|4|1
|
||||
1.3.6.1.4.1.2011.5.25.183.1.21.1.4.2.1|4|1
|
||||
1.3.6.1.4.1.2011.5.25.183.1.21.1.5.1.0|2|1
|
||||
1.3.6.1.4.1.2011.5.25.183.1.21.1.5.1.1|2|1
|
||||
1.3.6.1.4.1.2011.5.25.183.1.21.1.5.2.0|2|1
|
||||
1.3.6.1.4.1.2011.5.25.183.1.21.1.5.2.1|2|1
|
||||
1.3.6.1.4.1.2011.5.25.195.3.1.2.6|4|GigabitEthernet2/0/1
|
||||
1.3.6.1.4.1.2011.5.25.195.3.1.2.7|4|GigabitEthernet2/0/2
|
||||
1.3.6.1.4.1.2011.5.25.195.3.1.2.8|4|GigabitEthernet2/0/3
|
||||
|
Reference in New Issue
Block a user