mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 10:28:13 +00:00
Add Panorama log collection write rate (#13864)
* Add Panorama log collection write rate * Add index * Add synthetic test data --------- Co-authored-by: Tony Murray <murraytony@gmail.com>
This commit is contained in:
parent
4622742629
commit
e8ec4722f7
@ -96,6 +96,12 @@ modules:
|
||||
index: 'panVsysActiveOtherIpCps.{{ $index }}'
|
||||
descr: Other IP Connections Per Second
|
||||
group: '{{ $panVsysName }}'
|
||||
-
|
||||
oid: panLcLogRate
|
||||
num_oid: '.1.3.6.1.4.1.25461.2.3.30.1.1.{{ $index }}'
|
||||
index: 'panLcLogRate.{{ $index }}'
|
||||
descr: Log Collection Write Rate (logs/sec)
|
||||
group: Log Collection
|
||||
load:
|
||||
data:
|
||||
-
|
||||
|
@ -5149,6 +5149,31 @@
|
||||
"sensors": {
|
||||
"discovery": {
|
||||
"sensors": [
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "count",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.25461.2.3.30.1.1.0",
|
||||
"sensor_index": "panLcLogRate.0",
|
||||
"sensor_type": "panos",
|
||||
"sensor_descr": "Log Collection Write Rate (logs/sec)",
|
||||
"group": "Log Collection",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 4235,
|
||||
"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": "count",
|
||||
@ -5434,7 +5459,318 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"poller": "matches discovery"
|
||||
"poller": {
|
||||
"sensors": [
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "count",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.25461.2.3.30.1.1.0",
|
||||
"sensor_index": "panLcLogRate.0",
|
||||
"sensor_type": "panos",
|
||||
"sensor_descr": "Log Collection Write Rate (logs/sec)",
|
||||
"group": "Log Collection",
|
||||
"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": 4235,
|
||||
"user_func": null,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "count",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.25461.2.1.2.3.3.0",
|
||||
"sensor_index": "panSessionActive.0",
|
||||
"sensor_type": "panos",
|
||||
"sensor_descr": "Active Sessions",
|
||||
"group": "Sessions",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 38,
|
||||
"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": "count",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.25461.2.1.2.3.7.0",
|
||||
"sensor_index": "panSessionActiveSslProxy.0",
|
||||
"sensor_type": "panos",
|
||||
"sensor_descr": "Active Sessions in SSL Proxy",
|
||||
"group": "Sessions",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 14,
|
||||
"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": "count",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.25461.2.1.2.3.4.0",
|
||||
"sensor_index": "panSessionActiveTcp.0",
|
||||
"sensor_type": "panos",
|
||||
"sensor_descr": "Active TCP Sessions",
|
||||
"group": "Sessions",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 24,
|
||||
"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": "count",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.25461.2.1.2.3.5.0",
|
||||
"sensor_index": "panSessionActiveUdp.0",
|
||||
"sensor_type": "panos",
|
||||
"sensor_descr": "Active UDP Sessions",
|
||||
"group": "Sessions",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 14,
|
||||
"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": "load",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.25461.2.1.2.3.8.0",
|
||||
"sensor_index": "panSessionSslProxyUtilization.0",
|
||||
"sensor_type": "panos",
|
||||
"sensor_descr": "Session Utilization in SSL Proxy",
|
||||
"group": "Sessions",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"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": "load",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.25461.2.1.2.3.1.0",
|
||||
"sensor_index": "panSessionUtilization.0",
|
||||
"sensor_type": "panos",
|
||||
"sensor_descr": "Session Utilization",
|
||||
"group": "Sessions",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"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": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.25461.2.1.2.1.13.0",
|
||||
"sensor_index": "panSysHAMode.0",
|
||||
"sensor_type": "panSysHAMode",
|
||||
"sensor_descr": "High Availability Mode",
|
||||
"group": null,
|
||||
"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,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": "panSysHAMode"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.25461.2.1.2.1.12.0",
|
||||
"sensor_index": "panSysHAPeerState.0",
|
||||
"sensor_type": "panSysHAPeerState",
|
||||
"sensor_descr": "High Availability Peer Status",
|
||||
"group": null,
|
||||
"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,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": "panSysHAPeerState"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.25461.2.1.2.1.11.0",
|
||||
"sensor_index": "panSysHAState.0",
|
||||
"sensor_type": "panSysHAState",
|
||||
"sensor_descr": "High Availability Local Status",
|
||||
"group": null,
|
||||
"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,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": "panSysHAState"
|
||||
}
|
||||
],
|
||||
"state_indexes": [
|
||||
{
|
||||
"state_name": "panSysHAMode",
|
||||
"state_descr": "active-passive",
|
||||
"state_draw_graph": 1,
|
||||
"state_value": 1,
|
||||
"state_generic_value": 0
|
||||
},
|
||||
{
|
||||
"state_name": "panSysHAMode",
|
||||
"state_descr": "active-active",
|
||||
"state_draw_graph": 1,
|
||||
"state_value": 2,
|
||||
"state_generic_value": 0
|
||||
},
|
||||
{
|
||||
"state_name": "panSysHAPeerState",
|
||||
"state_descr": "active",
|
||||
"state_draw_graph": 1,
|
||||
"state_value": 1,
|
||||
"state_generic_value": 0
|
||||
},
|
||||
{
|
||||
"state_name": "panSysHAPeerState",
|
||||
"state_descr": "passive",
|
||||
"state_draw_graph": 1,
|
||||
"state_value": 2,
|
||||
"state_generic_value": 3
|
||||
},
|
||||
{
|
||||
"state_name": "panSysHAPeerState",
|
||||
"state_descr": "suspended",
|
||||
"state_draw_graph": 1,
|
||||
"state_value": 3,
|
||||
"state_generic_value": 2
|
||||
},
|
||||
{
|
||||
"state_name": "panSysHAState",
|
||||
"state_descr": "active",
|
||||
"state_draw_graph": 1,
|
||||
"state_value": 1,
|
||||
"state_generic_value": 0
|
||||
},
|
||||
{
|
||||
"state_name": "panSysHAState",
|
||||
"state_descr": "passive",
|
||||
"state_draw_graph": 1,
|
||||
"state_value": 2,
|
||||
"state_generic_value": 3
|
||||
},
|
||||
{
|
||||
"state_name": "panSysHAState",
|
||||
"state_descr": "suspended",
|
||||
"state_draw_graph": 1,
|
||||
"state_value": 3,
|
||||
"state_generic_value": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"storage": {
|
||||
"discovery": {
|
||||
|
@ -781,7 +781,7 @@
|
||||
1.3.6.1.2.1.31.1.1.1.18.11|4|
|
||||
1.3.6.1.2.1.31.1.1.1.18.12|4|
|
||||
1.3.6.1.2.1.31.1.1.1.18.101011101|4|Preprod - USER
|
||||
1.3.6.1.2.1.31.1.1.1.18.101011104|4|Preprod - SRV
|
||||
1.3.6.1.2.1.31.1.1.1.18.101011104|4|Preprod - SRV
|
||||
1.3.6.1.2.1.31.1.1.1.18.101011105|4|Preprod - DMZ PUB
|
||||
1.3.6.1.2.1.31.1.1.1.18.101011300|4|Preprod - DMZ PUB
|
||||
1.3.6.1.2.1.31.1.1.1.18.101011301|4|Preprod - DMZ BUR
|
||||
@ -792,7 +792,7 @@
|
||||
1.3.6.1.2.1.31.1.1.1.18.300000001|4|GP portail test
|
||||
1.3.6.1.2.1.31.1.1.1.18.300000002|4|GP gateway test
|
||||
1.3.6.1.2.1.31.1.1.1.18.400000000|4|
|
||||
1.3.6.1.2.1.31.1.1.1.18.400000001|4|Gateway GP
|
||||
1.3.6.1.2.1.31.1.1.1.18.400000001|4|Gateway GP
|
||||
1.3.6.1.2.1.31.1.2.1.3.0.5|2|1
|
||||
1.3.6.1.2.1.31.1.2.1.3.0.6|2|1
|
||||
1.3.6.1.2.1.31.1.2.1.3.0.7|2|1
|
||||
@ -886,3 +886,5 @@
|
||||
1.3.6.1.4.1.25461.2.1.2.3.7.0|2|14
|
||||
1.3.6.1.4.1.25461.2.1.2.3.8.0|2|0
|
||||
1.3.6.1.4.1.25461.2.1.2.5.1.3.0|2|0
|
||||
1.3.6.1.4.1.25461.2.1.2.6.1.1.0|2|4235
|
||||
1.3.6.1.4.1.25461.2.3.30.1.2.0|2|1
|
||||
|
Loading…
Reference in New Issue
Block a user