2019-03-01 15:08:04 +01:00
|
|
|
{
|
|
|
|
|
"os": {
|
|
|
|
|
"discovery": {
|
|
|
|
|
"devices": [
|
|
|
|
|
{
|
|
|
|
|
"sysName": "<private>",
|
|
|
|
|
"sysObjectID": ".1.3.6.1.4.1.1038.20",
|
|
|
|
|
"sysDescr": "SAGEM ADR2500 eXtra",
|
|
|
|
|
"sysContact": null,
|
|
|
|
|
"version": null,
|
|
|
|
|
"hardware": null,
|
|
|
|
|
"features": null,
|
|
|
|
|
"os": "ionos",
|
|
|
|
|
"type": "network",
|
|
|
|
|
"serial": null,
|
|
|
|
|
"icon": "sagemcom.svg",
|
|
|
|
|
"location": null
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"poller": {
|
|
|
|
|
"devices": [
|
|
|
|
|
{
|
|
|
|
|
"sysName": "<private>",
|
|
|
|
|
"sysObjectID": ".1.3.6.1.4.1.1038.20",
|
|
|
|
|
"sysDescr": "SAGEM ADR2500 eXtra",
|
|
|
|
|
"sysContact": "<private>",
|
|
|
|
|
"version": null,
|
|
|
|
|
"hardware": null,
|
|
|
|
|
"features": null,
|
|
|
|
|
"os": "ionos",
|
|
|
|
|
"type": "network",
|
|
|
|
|
"serial": null,
|
|
|
|
|
"icon": "sagemcom.svg",
|
|
|
|
|
"location": "<private>"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"ports": {
|
|
|
|
|
"discovery": {
|
|
|
|
|
"ports": [
|
|
|
|
|
{
|
|
|
|
|
"port_descr_type": null,
|
|
|
|
|
"port_descr_descr": null,
|
|
|
|
|
"port_descr_circuit": null,
|
|
|
|
|
"port_descr_speed": null,
|
|
|
|
|
"port_descr_notes": null,
|
|
|
|
|
"ifDescr": "Motorola PowerQUICC FCC1",
|
|
|
|
|
"ifName": "Motorola PowerQUICC FCC1",
|
|
|
|
|
"portName": null,
|
|
|
|
|
"ifIndex": 11,
|
|
|
|
|
"ifSpeed": null,
|
2020-05-23 19:05:18 +02:00
|
|
|
"ifSpeed_prev": null,
|
2019-03-01 15:08:04 +01:00
|
|
|
"ifConnectorPresent": null,
|
|
|
|
|
"ifPromiscuousMode": null,
|
|
|
|
|
"ifHighSpeed": null,
|
2020-05-23 19:05:18 +02:00
|
|
|
"ifHighSpeed_prev": null,
|
2020-01-24 19:58:01 +08:00
|
|
|
"ifOperStatus": "up",
|
2019-03-01 15:08:04 +01:00
|
|
|
"ifOperStatus_prev": null,
|
|
|
|
|
"ifAdminStatus": null,
|
|
|
|
|
"ifAdminStatus_prev": null,
|
|
|
|
|
"ifDuplex": null,
|
|
|
|
|
"ifMtu": null,
|
|
|
|
|
"ifType": "ethernetCsmacd",
|
|
|
|
|
"ifAlias": "Motorola PowerQUICC FCC1",
|
|
|
|
|
"ifPhysAddress": null,
|
|
|
|
|
"ifHardType": null,
|
|
|
|
|
"ifLastChange": 0,
|
|
|
|
|
"ifVlan": "",
|
|
|
|
|
"ifTrunk": null,
|
|
|
|
|
"counter_in": null,
|
|
|
|
|
"counter_out": null,
|
|
|
|
|
"ignore": 0,
|
|
|
|
|
"disabled": 0,
|
|
|
|
|
"detailed": 0,
|
|
|
|
|
"deleted": 0,
|
|
|
|
|
"pagpOperationMode": null,
|
|
|
|
|
"pagpPortState": null,
|
|
|
|
|
"pagpPartnerDeviceId": null,
|
|
|
|
|
"pagpPartnerLearnMethod": null,
|
|
|
|
|
"pagpPartnerIfIndex": null,
|
|
|
|
|
"pagpPartnerGroupIfIndex": null,
|
|
|
|
|
"pagpPartnerDeviceName": null,
|
|
|
|
|
"pagpEthcOperationMode": null,
|
|
|
|
|
"pagpDeviceId": null,
|
|
|
|
|
"pagpGroupIfIndex": null,
|
|
|
|
|
"ifInUcastPkts": null,
|
|
|
|
|
"ifInUcastPkts_prev": null,
|
|
|
|
|
"ifInUcastPkts_delta": null,
|
|
|
|
|
"ifInUcastPkts_rate": null,
|
|
|
|
|
"ifOutUcastPkts": null,
|
|
|
|
|
"ifOutUcastPkts_prev": null,
|
|
|
|
|
"ifOutUcastPkts_delta": null,
|
|
|
|
|
"ifOutUcastPkts_rate": null,
|
|
|
|
|
"ifInErrors": null,
|
|
|
|
|
"ifInErrors_prev": null,
|
|
|
|
|
"ifInErrors_delta": null,
|
|
|
|
|
"ifInErrors_rate": null,
|
|
|
|
|
"ifOutErrors": null,
|
|
|
|
|
"ifOutErrors_prev": null,
|
|
|
|
|
"ifOutErrors_delta": null,
|
|
|
|
|
"ifOutErrors_rate": null,
|
|
|
|
|
"ifInOctets": null,
|
|
|
|
|
"ifInOctets_prev": null,
|
|
|
|
|
"ifInOctets_delta": null,
|
|
|
|
|
"ifInOctets_rate": null,
|
|
|
|
|
"ifOutOctets": null,
|
|
|
|
|
"ifOutOctets_prev": null,
|
|
|
|
|
"ifOutOctets_delta": null,
|
|
|
|
|
"ifOutOctets_rate": null,
|
|
|
|
|
"poll_prev": null,
|
|
|
|
|
"ifInNUcastPkts": null,
|
|
|
|
|
"ifInNUcastPkts_prev": null,
|
|
|
|
|
"ifInNUcastPkts_delta": null,
|
|
|
|
|
"ifInNUcastPkts_rate": null,
|
|
|
|
|
"ifOutNUcastPkts": null,
|
|
|
|
|
"ifOutNUcastPkts_prev": null,
|
|
|
|
|
"ifOutNUcastPkts_delta": null,
|
|
|
|
|
"ifOutNUcastPkts_rate": null,
|
|
|
|
|
"ifInDiscards": null,
|
|
|
|
|
"ifInDiscards_prev": null,
|
|
|
|
|
"ifInDiscards_delta": null,
|
|
|
|
|
"ifInDiscards_rate": null,
|
|
|
|
|
"ifOutDiscards": null,
|
|
|
|
|
"ifOutDiscards_prev": null,
|
|
|
|
|
"ifOutDiscards_delta": null,
|
|
|
|
|
"ifOutDiscards_rate": null,
|
|
|
|
|
"ifInUnknownProtos": null,
|
|
|
|
|
"ifInUnknownProtos_prev": null,
|
|
|
|
|
"ifInUnknownProtos_delta": null,
|
|
|
|
|
"ifInUnknownProtos_rate": null,
|
|
|
|
|
"ifInBroadcastPkts": null,
|
|
|
|
|
"ifInBroadcastPkts_prev": null,
|
|
|
|
|
"ifInBroadcastPkts_delta": null,
|
|
|
|
|
"ifInBroadcastPkts_rate": null,
|
|
|
|
|
"ifOutBroadcastPkts": null,
|
|
|
|
|
"ifOutBroadcastPkts_prev": null,
|
|
|
|
|
"ifOutBroadcastPkts_delta": null,
|
|
|
|
|
"ifOutBroadcastPkts_rate": null,
|
|
|
|
|
"ifInMulticastPkts": null,
|
|
|
|
|
"ifInMulticastPkts_prev": null,
|
|
|
|
|
"ifInMulticastPkts_delta": null,
|
|
|
|
|
"ifInMulticastPkts_rate": null,
|
|
|
|
|
"ifOutMulticastPkts": null,
|
|
|
|
|
"ifOutMulticastPkts_prev": null,
|
|
|
|
|
"ifOutMulticastPkts_delta": null,
|
2020-05-23 19:05:18 +02:00
|
|
|
"ifOutMulticastPkts_rate": null
|
2019-03-01 15:08:04 +01:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"port_descr_type": null,
|
|
|
|
|
"port_descr_descr": null,
|
|
|
|
|
"port_descr_circuit": null,
|
|
|
|
|
"port_descr_speed": null,
|
|
|
|
|
"port_descr_notes": null,
|
|
|
|
|
"ifDescr": "pNA+ NI Loopback Driver",
|
|
|
|
|
"ifName": "pNA+ NI Loopback Driver",
|
|
|
|
|
"portName": null,
|
|
|
|
|
"ifIndex": 37,
|
|
|
|
|
"ifSpeed": null,
|
2020-05-23 19:05:18 +02:00
|
|
|
"ifSpeed_prev": null,
|
2019-03-01 15:08:04 +01:00
|
|
|
"ifConnectorPresent": null,
|
|
|
|
|
"ifPromiscuousMode": null,
|
|
|
|
|
"ifHighSpeed": null,
|
2020-05-23 19:05:18 +02:00
|
|
|
"ifHighSpeed_prev": null,
|
2020-01-24 19:58:01 +08:00
|
|
|
"ifOperStatus": "up",
|
2019-03-01 15:08:04 +01:00
|
|
|
"ifOperStatus_prev": null,
|
|
|
|
|
"ifAdminStatus": null,
|
|
|
|
|
"ifAdminStatus_prev": null,
|
|
|
|
|
"ifDuplex": null,
|
|
|
|
|
"ifMtu": null,
|
|
|
|
|
"ifType": "softwareLoopback",
|
|
|
|
|
"ifAlias": "pNA+ NI Loopback Driver",
|
|
|
|
|
"ifPhysAddress": null,
|
|
|
|
|
"ifHardType": null,
|
|
|
|
|
"ifLastChange": 0,
|
|
|
|
|
"ifVlan": "",
|
|
|
|
|
"ifTrunk": null,
|
|
|
|
|
"counter_in": null,
|
|
|
|
|
"counter_out": null,
|
|
|
|
|
"ignore": 0,
|
|
|
|
|
"disabled": 0,
|
|
|
|
|
"detailed": 0,
|
|
|
|
|
"deleted": 0,
|
|
|
|
|
"pagpOperationMode": null,
|
|
|
|
|
"pagpPortState": null,
|
|
|
|
|
"pagpPartnerDeviceId": null,
|
|
|
|
|
"pagpPartnerLearnMethod": null,
|
|
|
|
|
"pagpPartnerIfIndex": null,
|
|
|
|
|
"pagpPartnerGroupIfIndex": null,
|
|
|
|
|
"pagpPartnerDeviceName": null,
|
|
|
|
|
"pagpEthcOperationMode": null,
|
|
|
|
|
"pagpDeviceId": null,
|
|
|
|
|
"pagpGroupIfIndex": null,
|
|
|
|
|
"ifInUcastPkts": null,
|
|
|
|
|
"ifInUcastPkts_prev": null,
|
|
|
|
|
"ifInUcastPkts_delta": null,
|
|
|
|
|
"ifInUcastPkts_rate": null,
|
|
|
|
|
"ifOutUcastPkts": null,
|
|
|
|
|
"ifOutUcastPkts_prev": null,
|
|
|
|
|
"ifOutUcastPkts_delta": null,
|
|
|
|
|
"ifOutUcastPkts_rate": null,
|
|
|
|
|
"ifInErrors": null,
|
|
|
|
|
"ifInErrors_prev": null,
|
|
|
|
|
"ifInErrors_delta": null,
|
|
|
|
|
"ifInErrors_rate": null,
|
|
|
|
|
"ifOutErrors": null,
|
|
|
|
|
"ifOutErrors_prev": null,
|
|
|
|
|
"ifOutErrors_delta": null,
|
|
|
|
|
"ifOutErrors_rate": null,
|
|
|
|
|
"ifInOctets": null,
|
|
|
|
|
"ifInOctets_prev": null,
|
|
|
|
|
"ifInOctets_delta": null,
|
|
|
|
|
"ifInOctets_rate": null,
|
|
|
|
|
"ifOutOctets": null,
|
|
|
|
|
"ifOutOctets_prev": null,
|
|
|
|
|
"ifOutOctets_delta": null,
|
|
|
|
|
"ifOutOctets_rate": null,
|
|
|
|
|
"poll_prev": null,
|
|
|
|
|
"ifInNUcastPkts": null,
|
|
|
|
|
"ifInNUcastPkts_prev": null,
|
|
|
|
|
"ifInNUcastPkts_delta": null,
|
|
|
|
|
"ifInNUcastPkts_rate": null,
|
|
|
|
|
"ifOutNUcastPkts": null,
|
|
|
|
|
"ifOutNUcastPkts_prev": null,
|
|
|
|
|
"ifOutNUcastPkts_delta": null,
|
|
|
|
|
"ifOutNUcastPkts_rate": null,
|
|
|
|
|
"ifInDiscards": null,
|
|
|
|
|
"ifInDiscards_prev": null,
|
|
|
|
|
"ifInDiscards_delta": null,
|
|
|
|
|
"ifInDiscards_rate": null,
|
|
|
|
|
"ifOutDiscards": null,
|
|
|
|
|
"ifOutDiscards_prev": null,
|
|
|
|
|
"ifOutDiscards_delta": null,
|
|
|
|
|
"ifOutDiscards_rate": null,
|
|
|
|
|
"ifInUnknownProtos": null,
|
|
|
|
|
"ifInUnknownProtos_prev": null,
|
|
|
|
|
"ifInUnknownProtos_delta": null,
|
|
|
|
|
"ifInUnknownProtos_rate": null,
|
|
|
|
|
"ifInBroadcastPkts": null,
|
|
|
|
|
"ifInBroadcastPkts_prev": null,
|
|
|
|
|
"ifInBroadcastPkts_delta": null,
|
|
|
|
|
"ifInBroadcastPkts_rate": null,
|
|
|
|
|
"ifOutBroadcastPkts": null,
|
|
|
|
|
"ifOutBroadcastPkts_prev": null,
|
|
|
|
|
"ifOutBroadcastPkts_delta": null,
|
|
|
|
|
"ifOutBroadcastPkts_rate": null,
|
|
|
|
|
"ifInMulticastPkts": null,
|
|
|
|
|
"ifInMulticastPkts_prev": null,
|
|
|
|
|
"ifInMulticastPkts_delta": null,
|
|
|
|
|
"ifInMulticastPkts_rate": null,
|
|
|
|
|
"ifOutMulticastPkts": null,
|
|
|
|
|
"ifOutMulticastPkts_prev": null,
|
|
|
|
|
"ifOutMulticastPkts_delta": null,
|
2020-05-23 19:05:18 +02:00
|
|
|
"ifOutMulticastPkts_rate": null
|
2019-03-01 15:08:04 +01:00
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"poller": {
|
|
|
|
|
"ports": [
|
|
|
|
|
{
|
|
|
|
|
"port_descr_type": null,
|
|
|
|
|
"port_descr_descr": null,
|
|
|
|
|
"port_descr_circuit": null,
|
|
|
|
|
"port_descr_speed": null,
|
|
|
|
|
"port_descr_notes": null,
|
|
|
|
|
"ifDescr": "Motorola PowerQUICC FCC1",
|
|
|
|
|
"ifName": "Motorola PowerQUICC FCC1",
|
|
|
|
|
"portName": null,
|
|
|
|
|
"ifIndex": 11,
|
|
|
|
|
"ifSpeed": 10000000,
|
2020-05-23 19:05:18 +02:00
|
|
|
"ifSpeed_prev": null,
|
2019-03-01 15:08:04 +01:00
|
|
|
"ifConnectorPresent": null,
|
|
|
|
|
"ifPromiscuousMode": null,
|
|
|
|
|
"ifHighSpeed": null,
|
2020-05-23 19:05:18 +02:00
|
|
|
"ifHighSpeed_prev": null,
|
2019-03-01 15:08:04 +01:00
|
|
|
"ifOperStatus": "up",
|
2020-01-24 19:58:01 +08:00
|
|
|
"ifOperStatus_prev": "up",
|
2019-03-01 15:08:04 +01:00
|
|
|
"ifAdminStatus": "up",
|
|
|
|
|
"ifAdminStatus_prev": null,
|
|
|
|
|
"ifDuplex": null,
|
|
|
|
|
"ifMtu": 1500,
|
|
|
|
|
"ifType": "ethernetCsmacd",
|
|
|
|
|
"ifAlias": "Motorola PowerQUICC FCC1",
|
|
|
|
|
"ifPhysAddress": "000100000000",
|
|
|
|
|
"ifHardType": null,
|
|
|
|
|
"ifLastChange": 0,
|
|
|
|
|
"ifVlan": "",
|
|
|
|
|
"ifTrunk": null,
|
|
|
|
|
"counter_in": null,
|
|
|
|
|
"counter_out": null,
|
|
|
|
|
"ignore": 0,
|
|
|
|
|
"disabled": 0,
|
|
|
|
|
"detailed": 0,
|
|
|
|
|
"deleted": 0,
|
|
|
|
|
"pagpOperationMode": null,
|
|
|
|
|
"pagpPortState": null,
|
|
|
|
|
"pagpPartnerDeviceId": null,
|
|
|
|
|
"pagpPartnerLearnMethod": null,
|
|
|
|
|
"pagpPartnerIfIndex": null,
|
|
|
|
|
"pagpPartnerGroupIfIndex": null,
|
|
|
|
|
"pagpPartnerDeviceName": null,
|
|
|
|
|
"pagpEthcOperationMode": null,
|
|
|
|
|
"pagpDeviceId": null,
|
|
|
|
|
"pagpGroupIfIndex": null,
|
|
|
|
|
"ifInUcastPkts": 38562060,
|
|
|
|
|
"ifInUcastPkts_prev": 0,
|
|
|
|
|
"ifInUcastPkts_delta": null,
|
|
|
|
|
"ifInUcastPkts_rate": null,
|
|
|
|
|
"ifOutUcastPkts": 39339077,
|
|
|
|
|
"ifOutUcastPkts_prev": 0,
|
|
|
|
|
"ifOutUcastPkts_delta": null,
|
|
|
|
|
"ifOutUcastPkts_rate": null,
|
|
|
|
|
"ifInErrors": 0,
|
|
|
|
|
"ifInErrors_prev": 0,
|
|
|
|
|
"ifInErrors_delta": null,
|
|
|
|
|
"ifInErrors_rate": null,
|
|
|
|
|
"ifOutErrors": 28,
|
|
|
|
|
"ifOutErrors_prev": 0,
|
|
|
|
|
"ifOutErrors_delta": null,
|
|
|
|
|
"ifOutErrors_rate": null,
|
|
|
|
|
"ifInOctets": 990299252,
|
|
|
|
|
"ifInOctets_prev": 0,
|
|
|
|
|
"ifInOctets_delta": null,
|
|
|
|
|
"ifInOctets_rate": null,
|
|
|
|
|
"ifOutOctets": 1379653227,
|
|
|
|
|
"ifOutOctets_prev": 0,
|
|
|
|
|
"ifOutOctets_delta": null,
|
|
|
|
|
"ifOutOctets_rate": null,
|
|
|
|
|
"poll_prev": null,
|
|
|
|
|
"ifInNUcastPkts": 3062544,
|
|
|
|
|
"ifInNUcastPkts_prev": 0,
|
|
|
|
|
"ifInNUcastPkts_delta": null,
|
|
|
|
|
"ifInNUcastPkts_rate": null,
|
|
|
|
|
"ifOutNUcastPkts": 5168,
|
|
|
|
|
"ifOutNUcastPkts_prev": 0,
|
|
|
|
|
"ifOutNUcastPkts_delta": null,
|
|
|
|
|
"ifOutNUcastPkts_rate": null,
|
|
|
|
|
"ifInDiscards": 0,
|
|
|
|
|
"ifInDiscards_prev": 0,
|
|
|
|
|
"ifInDiscards_delta": null,
|
|
|
|
|
"ifInDiscards_rate": null,
|
|
|
|
|
"ifOutDiscards": 0,
|
|
|
|
|
"ifOutDiscards_prev": 0,
|
|
|
|
|
"ifOutDiscards_delta": null,
|
|
|
|
|
"ifOutDiscards_rate": null,
|
|
|
|
|
"ifInUnknownProtos": 0,
|
|
|
|
|
"ifInUnknownProtos_prev": 0,
|
|
|
|
|
"ifInUnknownProtos_delta": null,
|
|
|
|
|
"ifInUnknownProtos_rate": null,
|
|
|
|
|
"ifInBroadcastPkts": 0,
|
|
|
|
|
"ifInBroadcastPkts_prev": 0,
|
|
|
|
|
"ifInBroadcastPkts_delta": null,
|
|
|
|
|
"ifInBroadcastPkts_rate": null,
|
|
|
|
|
"ifOutBroadcastPkts": 0,
|
|
|
|
|
"ifOutBroadcastPkts_prev": 0,
|
|
|
|
|
"ifOutBroadcastPkts_delta": null,
|
|
|
|
|
"ifOutBroadcastPkts_rate": null,
|
|
|
|
|
"ifInMulticastPkts": 0,
|
|
|
|
|
"ifInMulticastPkts_prev": 0,
|
|
|
|
|
"ifInMulticastPkts_delta": null,
|
|
|
|
|
"ifInMulticastPkts_rate": null,
|
|
|
|
|
"ifOutMulticastPkts": 0,
|
|
|
|
|
"ifOutMulticastPkts_prev": 0,
|
|
|
|
|
"ifOutMulticastPkts_delta": null,
|
2020-05-23 19:05:18 +02:00
|
|
|
"ifOutMulticastPkts_rate": null
|
2019-03-01 15:08:04 +01:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"port_descr_type": null,
|
|
|
|
|
"port_descr_descr": null,
|
|
|
|
|
"port_descr_circuit": null,
|
|
|
|
|
"port_descr_speed": null,
|
|
|
|
|
"port_descr_notes": null,
|
|
|
|
|
"ifDescr": "pNA+ NI Loopback Driver",
|
|
|
|
|
"ifName": "pNA+ NI Loopback Driver",
|
|
|
|
|
"portName": null,
|
|
|
|
|
"ifIndex": 37,
|
|
|
|
|
"ifSpeed": 10000,
|
2020-05-23 19:05:18 +02:00
|
|
|
"ifSpeed_prev": null,
|
2019-03-01 15:08:04 +01:00
|
|
|
"ifConnectorPresent": null,
|
|
|
|
|
"ifPromiscuousMode": null,
|
|
|
|
|
"ifHighSpeed": null,
|
2020-05-23 19:05:18 +02:00
|
|
|
"ifHighSpeed_prev": null,
|
2019-03-01 15:08:04 +01:00
|
|
|
"ifOperStatus": "up",
|
2020-01-24 19:58:01 +08:00
|
|
|
"ifOperStatus_prev": "up",
|
2019-03-01 15:08:04 +01:00
|
|
|
"ifAdminStatus": "up",
|
|
|
|
|
"ifAdminStatus_prev": null,
|
|
|
|
|
"ifDuplex": null,
|
|
|
|
|
"ifMtu": 1536,
|
|
|
|
|
"ifType": "softwareLoopback",
|
|
|
|
|
"ifAlias": "pNA+ NI Loopback Driver",
|
|
|
|
|
"ifPhysAddress": "000100000000",
|
|
|
|
|
"ifHardType": null,
|
|
|
|
|
"ifLastChange": 0,
|
|
|
|
|
"ifVlan": "",
|
|
|
|
|
"ifTrunk": null,
|
|
|
|
|
"counter_in": null,
|
|
|
|
|
"counter_out": null,
|
|
|
|
|
"ignore": 0,
|
|
|
|
|
"disabled": 0,
|
|
|
|
|
"detailed": 0,
|
|
|
|
|
"deleted": 0,
|
|
|
|
|
"pagpOperationMode": null,
|
|
|
|
|
"pagpPortState": null,
|
|
|
|
|
"pagpPartnerDeviceId": null,
|
|
|
|
|
"pagpPartnerLearnMethod": null,
|
|
|
|
|
"pagpPartnerIfIndex": null,
|
|
|
|
|
"pagpPartnerGroupIfIndex": null,
|
|
|
|
|
"pagpPartnerDeviceName": null,
|
|
|
|
|
"pagpEthcOperationMode": null,
|
|
|
|
|
"pagpDeviceId": null,
|
|
|
|
|
"pagpGroupIfIndex": null,
|
|
|
|
|
"ifInUcastPkts": 23881091,
|
|
|
|
|
"ifInUcastPkts_prev": 0,
|
|
|
|
|
"ifInUcastPkts_delta": null,
|
|
|
|
|
"ifInUcastPkts_rate": null,
|
|
|
|
|
"ifOutUcastPkts": 23881091,
|
|
|
|
|
"ifOutUcastPkts_prev": 0,
|
|
|
|
|
"ifOutUcastPkts_delta": null,
|
|
|
|
|
"ifOutUcastPkts_rate": null,
|
|
|
|
|
"ifInErrors": 0,
|
|
|
|
|
"ifInErrors_prev": 0,
|
|
|
|
|
"ifInErrors_delta": null,
|
|
|
|
|
"ifInErrors_rate": null,
|
|
|
|
|
"ifOutErrors": 0,
|
|
|
|
|
"ifOutErrors_prev": 0,
|
|
|
|
|
"ifOutErrors_delta": null,
|
|
|
|
|
"ifOutErrors_rate": null,
|
|
|
|
|
"ifInOctets": 883600367,
|
|
|
|
|
"ifInOctets_prev": 0,
|
|
|
|
|
"ifInOctets_delta": null,
|
|
|
|
|
"ifInOctets_rate": null,
|
|
|
|
|
"ifOutOctets": 883600367,
|
|
|
|
|
"ifOutOctets_prev": 0,
|
|
|
|
|
"ifOutOctets_delta": null,
|
|
|
|
|
"ifOutOctets_rate": null,
|
|
|
|
|
"poll_prev": null,
|
|
|
|
|
"ifInNUcastPkts": 0,
|
|
|
|
|
"ifInNUcastPkts_prev": 0,
|
|
|
|
|
"ifInNUcastPkts_delta": null,
|
|
|
|
|
"ifInNUcastPkts_rate": null,
|
|
|
|
|
"ifOutNUcastPkts": 0,
|
|
|
|
|
"ifOutNUcastPkts_prev": 0,
|
|
|
|
|
"ifOutNUcastPkts_delta": null,
|
|
|
|
|
"ifOutNUcastPkts_rate": null,
|
|
|
|
|
"ifInDiscards": 0,
|
|
|
|
|
"ifInDiscards_prev": 0,
|
|
|
|
|
"ifInDiscards_delta": null,
|
|
|
|
|
"ifInDiscards_rate": null,
|
|
|
|
|
"ifOutDiscards": 0,
|
|
|
|
|
"ifOutDiscards_prev": 0,
|
|
|
|
|
"ifOutDiscards_delta": null,
|
|
|
|
|
"ifOutDiscards_rate": null,
|
|
|
|
|
"ifInUnknownProtos": 0,
|
|
|
|
|
"ifInUnknownProtos_prev": 0,
|
|
|
|
|
"ifInUnknownProtos_delta": null,
|
|
|
|
|
"ifInUnknownProtos_rate": null,
|
|
|
|
|
"ifInBroadcastPkts": 0,
|
|
|
|
|
"ifInBroadcastPkts_prev": 0,
|
|
|
|
|
"ifInBroadcastPkts_delta": null,
|
|
|
|
|
"ifInBroadcastPkts_rate": null,
|
|
|
|
|
"ifOutBroadcastPkts": 0,
|
|
|
|
|
"ifOutBroadcastPkts_prev": 0,
|
|
|
|
|
"ifOutBroadcastPkts_delta": null,
|
|
|
|
|
"ifOutBroadcastPkts_rate": null,
|
|
|
|
|
"ifInMulticastPkts": 0,
|
|
|
|
|
"ifInMulticastPkts_prev": 0,
|
|
|
|
|
"ifInMulticastPkts_delta": null,
|
|
|
|
|
"ifInMulticastPkts_rate": null,
|
|
|
|
|
"ifOutMulticastPkts": 0,
|
|
|
|
|
"ifOutMulticastPkts_prev": 0,
|
|
|
|
|
"ifOutMulticastPkts_delta": null,
|
2020-05-23 19:05:18 +02:00
|
|
|
"ifOutMulticastPkts_rate": null
|
2019-03-01 15:08:04 +01:00
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"sensors": {
|
|
|
|
|
"discovery": {
|
|
|
|
|
"sensors": [
|
|
|
|
|
{
|
|
|
|
|
"sensor_deleted": 0,
|
|
|
|
|
"sensor_class": "state",
|
|
|
|
|
"poller_type": "snmp",
|
|
|
|
|
"sensor_oid": ".1.3.6.1.4.1.1038.107.11.0",
|
|
|
|
|
"sensor_index": "0",
|
|
|
|
|
"sensor_type": "Severity",
|
|
|
|
|
"sensor_descr": "Status of all equipment objects",
|
Remove guessed limits for some health sensors, documentation for sensor classes (#10327)
* Default to null for group yaml discovery.
* Update test data for a154bda yaml group null fix.
* Changes to guessed limit functions for sensors.
Original behaviour
===================
The file `includes/discovery/functions.inc.php` contains
`sensor_limit_low()` and `sensor_limit()` which both attempt to
guess a sane value for sensors when no explicitly defined
low_limit or high_limit can be found during discovery.
Both switch control structures used in those two functions
have empty case statements which means that if one of those matches,
it's going to fall through and run the code for each subsequent
case until a `break` is reached.
For example, when we call `function sensor_low_limit(dbm, -13.036)`
it will return the value `-12.3842` instead of `null`. That is
because there will be a match at `case 'dbm':` which falls through
all the way to `case 'cooling':`, where it performs
`$limit = -13.036 * 0.95` before hitting a `break`.
Changed behaviour
===================
Removed `power_consumed` and `count` guessed low_limit and
high_limit, I personally added those sensor classes in PR #9471
when I didn't understand that a switch control structure has
fall-through behaviour so I can guarantee that guessing limits for
those is a mistake on my behalf. It should not be there, only
power_factor can have guessed limits. Apologies for the issue,
I'm still a beginning programmer!
Furthermore, I removed guessed high_limit values for `current`
and `power` because these are supposed to draw higher values as
more devices or components are installed on for example a PDU or
a chassis.
Finally, I removed guessed low_limit and high_limit for `dbm`
sensors, there is a much too large variance in power budget on
commercially available optical transceivers for there to be a
sensible window where you can guess these values.
* Documentation on adding sensor classes.
* Update test data - sensor limit changes @ 30212d2
2019-06-21 16:03:27 +02:00
|
|
|
"group": null,
|
2019-03-01 15:08:04 +01:00
|
|
|
"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": "Severity"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"state_indexes": [
|
|
|
|
|
{
|
|
|
|
|
"state_name": "Severity",
|
|
|
|
|
"state_descr": "nonAlarmed",
|
|
|
|
|
"state_draw_graph": 0,
|
|
|
|
|
"state_value": 1,
|
|
|
|
|
"state_generic_value": 0
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"state_name": "Severity",
|
|
|
|
|
"state_descr": "minor",
|
|
|
|
|
"state_draw_graph": 0,
|
|
|
|
|
"state_value": 2,
|
|
|
|
|
"state_generic_value": 0
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"state_name": "Severity",
|
|
|
|
|
"state_descr": "major",
|
|
|
|
|
"state_draw_graph": 0,
|
|
|
|
|
"state_value": 3,
|
|
|
|
|
"state_generic_value": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"state_name": "Severity",
|
|
|
|
|
"state_descr": "critical",
|
|
|
|
|
"state_draw_graph": 0,
|
|
|
|
|
"state_value": 4,
|
|
|
|
|
"state_generic_value": 2
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"state_name": "Severity",
|
|
|
|
|
"state_descr": "warning",
|
|
|
|
|
"state_draw_graph": 0,
|
|
|
|
|
"state_value": 5,
|
|
|
|
|
"state_generic_value": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"state_name": "Severity",
|
|
|
|
|
"state_descr": "invNonAlarmed",
|
|
|
|
|
"state_draw_graph": 0,
|
|
|
|
|
"state_value": 6,
|
|
|
|
|
"state_generic_value": 0
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"state_name": "Severity",
|
|
|
|
|
"state_descr": "invMinor",
|
|
|
|
|
"state_draw_graph": 0,
|
|
|
|
|
"state_value": 7,
|
|
|
|
|
"state_generic_value": 0
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"state_name": "Severity",
|
|
|
|
|
"state_descr": "invMajor",
|
|
|
|
|
"state_draw_graph": 0,
|
|
|
|
|
"state_value": 8,
|
|
|
|
|
"state_generic_value": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"state_name": "Severity",
|
|
|
|
|
"state_descr": "invCritical",
|
|
|
|
|
"state_draw_graph": 0,
|
|
|
|
|
"state_value": 9,
|
|
|
|
|
"state_generic_value": 2
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"state_name": "Severity",
|
|
|
|
|
"state_descr": "invWarning",
|
|
|
|
|
"state_draw_graph": 0,
|
|
|
|
|
"state_value": 10,
|
|
|
|
|
"state_generic_value": 1
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"poller": "matches discovery"
|
|
|
|
|
}
|
|
|
|
|
}
|