diff --git a/html/images/os/allworx.svg b/html/images/os/allworx.svg new file mode 100644 index 0000000000..0f19521088 --- /dev/null +++ b/html/images/os/allworx.svg @@ -0,0 +1,3 @@ + + + diff --git a/includes/definitions/allworx_voip.yaml b/includes/definitions/allworx_voip.yaml new file mode 100644 index 0000000000..620e830e32 --- /dev/null +++ b/includes/definitions/allworx_voip.yaml @@ -0,0 +1,10 @@ +os: allworx_voip +text: 'Allworx VoIP' +type: appliance +icon: allworx +over: + - { graph: device_bits, text: 'Device Traffic' } + - { graph: device_mempool, text: 'Memory Usage' } +discovery: + - sysObjectID: + - .1.3.6.1.4.1.38516.2. diff --git a/includes/polling/os/allworx_voip.inc.php b/includes/polling/os/allworx_voip.inc.php new file mode 100644 index 0000000000..2093f3cad8 --- /dev/null +++ b/includes/polling/os/allworx_voip.inc.php @@ -0,0 +1,23 @@ +. + */ + +$data = snmp_get_multi_oid($device, '.1.3.6.1.2.1.1.1.0 .1.3.6.1.2.1.27.1.1.4.1 .1.3.6.1.2.1.1.5.0'); + +$hardware = $data['.1.3.6.1.2.1.1.1.0']; +$version = $data['.1.3.6.1.2.1.27.1.1.4.1']; +$serial = $data['.1.3.6.1.2.1.1.5.0']; diff --git a/tests/data/allworx_voip.json b/tests/data/allworx_voip.json new file mode 100644 index 0000000000..de4b33b1d9 --- /dev/null +++ b/tests/data/allworx_voip.json @@ -0,0 +1,770 @@ +{ + "os": { + "discovery": { + "devices": [ + { + "sysName": "", + "sysObjectID": ".1.3.6.1.4.1.38516.2.5.1.0", + "sysDescr": "Allworx Connect 731", + "sysContact": null, + "version": null, + "hardware": null, + "features": null, + "location": null, + "os": "allworx_voip", + "type": "appliance", + "serial": null, + "icon": "allworx.svg" + } + ] + }, + "poller": { + "devices": [ + { + "sysName": "", + "sysObjectID": ".1.3.6.1.4.1.38516.2.5.1.0", + "sysDescr": "Allworx Connect 731", + "sysContact": "", + "version": "8.3.5.4", + "hardware": "Allworx Connect 731", + "features": null, + "location": "", + "os": "allworx_voip", + "type": "appliance", + "serial": "", + "icon": "allworx.svg" + } + ] + } + }, + "ports": { + "discovery": { + "ports": [ + { + "port_descr_type": null, + "port_descr_descr": null, + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": null, + "ifDescr": "LAN port (eth0)", + "ifName": null, + "portName": null, + "ifIndex": 1, + "ifSpeed": null, + "ifConnectorPresent": null, + "ifPromiscuousMode": null, + "ifHighSpeed": null, + "ifOperStatus": null, + "ifOperStatus_prev": null, + "ifAdminStatus": null, + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": null, + "ifType": null, + "ifAlias": null, + "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, + "ifOutMulticastPkts_rate": null + }, + { + "port_descr_type": null, + "port_descr_descr": null, + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": null, + "ifDescr": "WAN port (eth1)", + "ifName": null, + "portName": null, + "ifIndex": 2, + "ifSpeed": null, + "ifConnectorPresent": null, + "ifPromiscuousMode": null, + "ifHighSpeed": null, + "ifOperStatus": null, + "ifOperStatus_prev": null, + "ifAdminStatus": null, + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": null, + "ifType": null, + "ifAlias": null, + "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, + "ifOutMulticastPkts_rate": null + }, + { + "port_descr_type": null, + "port_descr_descr": null, + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": null, + "ifDescr": "eth2", + "ifName": null, + "portName": null, + "ifIndex": 3, + "ifSpeed": null, + "ifConnectorPresent": null, + "ifPromiscuousMode": null, + "ifHighSpeed": null, + "ifOperStatus": null, + "ifOperStatus_prev": null, + "ifAdminStatus": null, + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": null, + "ifType": null, + "ifAlias": null, + "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, + "ifOutMulticastPkts_rate": null + } + ] + }, + "poller": { + "ports": [ + { + "port_descr_type": "lan port ", + "port_descr_descr": "eth0", + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": "eth0", + "ifDescr": "LAN port (eth0)", + "ifName": "LAN port (eth0)", + "portName": null, + "ifIndex": 1, + "ifSpeed": 1000000000, + "ifConnectorPresent": null, + "ifPromiscuousMode": null, + "ifHighSpeed": null, + "ifOperStatus": "up", + "ifOperStatus_prev": null, + "ifAdminStatus": "up", + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": 1500, + "ifType": "ethernetCsmacd", + "ifAlias": "LAN port (eth0)", + "ifPhysAddress": "000add05416e", + "ifHardType": null, + "ifLastChange": 2972287583, + "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": 143620991, + "ifInUcastPkts_prev": 0, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": 174178889, + "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": 1982395842, + "ifInOctets_prev": 0, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": 2947076188, + "ifOutOctets_prev": 0, + "ifOutOctets_delta": null, + "ifOutOctets_rate": null, + "poll_prev": null, + "ifInNUcastPkts": 7513922, + "ifInNUcastPkts_prev": 0, + "ifInNUcastPkts_delta": null, + "ifInNUcastPkts_rate": null, + "ifOutNUcastPkts": 2798481, + "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, + "ifOutMulticastPkts_rate": null + }, + { + "port_descr_type": "wan port ", + "port_descr_descr": "eth1", + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": "eth1", + "ifDescr": "WAN port (eth1)", + "ifName": "WAN port (eth1)", + "portName": null, + "ifIndex": 2, + "ifSpeed": 100000000, + "ifConnectorPresent": null, + "ifPromiscuousMode": null, + "ifHighSpeed": null, + "ifOperStatus": "up", + "ifOperStatus_prev": null, + "ifAdminStatus": "up", + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": 1500, + "ifType": "ethernetCsmacd", + "ifAlias": "WAN port (eth1)", + "ifPhysAddress": "000add05616e", + "ifHardType": null, + "ifLastChange": 2972287583, + "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": 184808256, + "ifInUcastPkts_prev": 0, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": 184568663, + "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": 1579464808, + "ifInOctets_prev": 0, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": 845943705, + "ifOutOctets_prev": 0, + "ifOutOctets_delta": null, + "ifOutOctets_rate": null, + "poll_prev": null, + "ifInNUcastPkts": 11, + "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, + "ifOutMulticastPkts_rate": null + }, + { + "port_descr_type": null, + "port_descr_descr": null, + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": null, + "ifDescr": "eth2", + "ifName": "eth2", + "portName": null, + "ifIndex": 3, + "ifSpeed": 0, + "ifConnectorPresent": null, + "ifPromiscuousMode": null, + "ifHighSpeed": null, + "ifOperStatus": "lowerLayerDown", + "ifOperStatus_prev": null, + "ifAdminStatus": "down", + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": 1500, + "ifType": "ethernetCsmacd", + "ifAlias": "eth2", + "ifPhysAddress": "000add05816e", + "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": 0, + "ifInUcastPkts_prev": 0, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": 0, + "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": 0, + "ifInOctets_prev": 0, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": 0, + "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, + "ifOutMulticastPkts_rate": null + } + ] + } + }, + "mempools": { + "discovery": { + "mempools": [ + { + "mempool_index": "1", + "entPhysicalIndex": null, + "hrDeviceIndex": null, + "mempool_type": "hrstorage", + "mempool_precision": 1, + "mempool_descr": "Physical Memory", + "mempool_perc": 0, + "mempool_used": 0, + "mempool_free": 0, + "mempool_total": 0, + "mempool_largestfree": null, + "mempool_lowestfree": null, + "mempool_deleted": 0, + "mempool_perc_warn": 75 + } + ] + }, + "poller": { + "mempools": [ + { + "mempool_index": "1", + "entPhysicalIndex": null, + "hrDeviceIndex": null, + "mempool_type": "hrstorage", + "mempool_precision": 1, + "mempool_descr": "Physical Memory", + "mempool_perc": 48, + "mempool_used": 184533416, + "mempool_free": 201726912, + "mempool_total": 386260328, + "mempool_largestfree": null, + "mempool_lowestfree": null, + "mempool_deleted": 0, + "mempool_perc_warn": 75 + } + ] + } + }, + "storage": { + "discovery": { + "storage": [ + { + "storage_mib": "hrstorage", + "storage_index": "2", + "storage_type": "hrStorageFixedDisk", + "storage_descr": "Hard Disk Drive", + "storage_size": 7818117120, + "storage_units": 32768, + "storage_used": 930447360, + "storage_free": 0, + "storage_perc": 0, + "storage_perc_warn": 60, + "storage_deleted": 0 + } + ] + }, + "poller": { + "storage": [ + { + "storage_mib": "hrstorage", + "storage_index": "2", + "storage_type": "hrStorageFixedDisk", + "storage_descr": "Hard Disk Drive", + "storage_size": 7818117120, + "storage_units": 32768, + "storage_used": 930447360, + "storage_free": 6887669760, + "storage_perc": 12, + "storage_perc_warn": 60, + "storage_deleted": 0 + } + ] + } + }, + "bgp-peers": { + "discovery": { + "devices": [ + { + "bgpLocalAs": null + } + ], + "bgpPeers": [], + "bgpPeers_cbgp": [] + }, + "poller": "matches discovery" + } +} diff --git a/tests/snmpsim/allworx_voip.snmprec b/tests/snmpsim/allworx_voip.snmprec new file mode 100644 index 0000000000..350d705bb6 --- /dev/null +++ b/tests/snmpsim/allworx_voip.snmprec @@ -0,0 +1,184 @@ +1.3.6.1.2.1.1.1.0|4|Allworx Connect 731 +1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.38516.2.5.1.0 +1.3.6.1.2.1.1.3.0|67|198230560 +1.3.6.1.2.1.1.4.0|4| +1.3.6.1.2.1.1.5.0|4| +1.3.6.1.2.1.1.6.0|4| +1.3.6.1.2.1.2.2.1.1.1|2|1 +1.3.6.1.2.1.2.2.1.1.2|2|2 +1.3.6.1.2.1.2.2.1.1.3|2|3 +1.3.6.1.2.1.2.2.1.2.1|4|LAN port (eth0) +1.3.6.1.2.1.2.2.1.2.2|4|WAN port (eth1) +1.3.6.1.2.1.2.2.1.2.3|4|eth2 +1.3.6.1.2.1.2.2.1.3.1|2|6 +1.3.6.1.2.1.2.2.1.3.2|2|6 +1.3.6.1.2.1.2.2.1.3.3|2|6 +1.3.6.1.2.1.2.2.1.4.1|2|1500 +1.3.6.1.2.1.2.2.1.4.2|2|1500 +1.3.6.1.2.1.2.2.1.4.3|2|1500 +1.3.6.1.2.1.2.2.1.5.1|66|1000000000 +1.3.6.1.2.1.2.2.1.5.2|66|100000000 +1.3.6.1.2.1.2.2.1.5.3|66|0 +1.3.6.1.2.1.2.2.1.6.1|4x|000ADD05416E +1.3.6.1.2.1.2.2.1.6.2|4x|000ADD05616E +1.3.6.1.2.1.2.2.1.6.3|4x|000ADD05816E +1.3.6.1.2.1.2.2.1.7.1|2|1 +1.3.6.1.2.1.2.2.1.7.2|2|1 +1.3.6.1.2.1.2.2.1.7.3|2|2 +1.3.6.1.2.1.2.2.1.8.1|2|1 +1.3.6.1.2.1.2.2.1.8.2|2|1 +1.3.6.1.2.1.2.2.1.8.3|2|7 +1.3.6.1.2.1.2.2.1.9.1|67|2972287583 +1.3.6.1.2.1.2.2.1.9.2|67|2972287583 +1.3.6.1.2.1.2.2.1.9.3|67|0 +1.3.6.1.2.1.2.2.1.10.1|65|1982395842 +1.3.6.1.2.1.2.2.1.10.2|65|1579464808 +1.3.6.1.2.1.2.2.1.10.3|65|0 +1.3.6.1.2.1.2.2.1.11.1|65|143620991 +1.3.6.1.2.1.2.2.1.11.2|65|184808256 +1.3.6.1.2.1.2.2.1.11.3|65|0 +1.3.6.1.2.1.2.2.1.12.1|65|7513922 +1.3.6.1.2.1.2.2.1.12.2|65|11 +1.3.6.1.2.1.2.2.1.12.3|65|0 +1.3.6.1.2.1.2.2.1.13.1|65|0 +1.3.6.1.2.1.2.2.1.13.2|65|0 +1.3.6.1.2.1.2.2.1.13.3|65|0 +1.3.6.1.2.1.2.2.1.14.1|65|0 +1.3.6.1.2.1.2.2.1.14.2|65|0 +1.3.6.1.2.1.2.2.1.14.3|65|0 +1.3.6.1.2.1.2.2.1.15.1|65|0 +1.3.6.1.2.1.2.2.1.15.2|65|0 +1.3.6.1.2.1.2.2.1.15.3|65|0 +1.3.6.1.2.1.2.2.1.16.1|65|2947076188 +1.3.6.1.2.1.2.2.1.16.2|65|845943705 +1.3.6.1.2.1.2.2.1.16.3|65|0 +1.3.6.1.2.1.2.2.1.17.1|65|174178889 +1.3.6.1.2.1.2.2.1.17.2|65|184568663 +1.3.6.1.2.1.2.2.1.17.3|65|0 +1.3.6.1.2.1.2.2.1.18.1|65|2798481 +1.3.6.1.2.1.2.2.1.18.2|65|0 +1.3.6.1.2.1.2.2.1.18.3|65|0 +1.3.6.1.2.1.2.2.1.19.1|65|0 +1.3.6.1.2.1.2.2.1.19.2|65|0 +1.3.6.1.2.1.2.2.1.19.3|65|0 +1.3.6.1.2.1.2.2.1.20.1|65|0 +1.3.6.1.2.1.2.2.1.20.2|65|0 +1.3.6.1.2.1.2.2.1.20.3|65|0 +1.3.6.1.2.1.2.2.1.21.1|66|0 +1.3.6.1.2.1.2.2.1.21.2|66|0 +1.3.6.1.2.1.2.2.1.21.3|66|0 +1.3.6.1.2.1.2.2.1.22.1|6|0.0 +1.3.6.1.2.1.2.2.1.22.2|6|0.0 +1.3.6.1.2.1.2.2.1.22.3|6|0.0 +1.3.6.1.2.1.4.3.0|65|332700905 +1.3.6.1.2.1.4.4.0|65|0 +1.3.6.1.2.1.4.5.0|65|0 +1.3.6.1.2.1.4.6.0|65|255858943 +1.3.6.1.2.1.4.7.0|65|0 +1.3.6.1.2.1.4.8.0|65|0 +1.3.6.1.2.1.4.9.0|65|77865290 +1.3.6.1.2.1.4.10.0|65|106214393 +1.3.6.1.2.1.4.11.0|65|0 +1.3.6.1.2.1.4.12.0|65|0 +1.3.6.1.2.1.4.14.0|65|0 +1.3.6.1.2.1.4.15.0|65|0 +1.3.6.1.2.1.4.16.0|65|0 +1.3.6.1.2.1.4.17.0|65|0 +1.3.6.1.2.1.4.18.0|65|0 +1.3.6.1.2.1.4.19.0|65|0 +1.3.6.1.2.1.5.1.0|65|636214 +1.3.6.1.2.1.5.2.0|65|0 +1.3.6.1.2.1.5.3.0|65|89549 +1.3.6.1.2.1.5.4.0|65|0 +1.3.6.1.2.1.5.5.0|65|0 +1.3.6.1.2.1.5.6.0|65|0 +1.3.6.1.2.1.5.7.0|65|508136 +1.3.6.1.2.1.5.8.0|65|38529 +1.3.6.1.2.1.5.9.0|65|0 +1.3.6.1.2.1.5.10.0|65|0 +1.3.6.1.2.1.5.11.0|65|0 +1.3.6.1.2.1.5.12.0|65|0 +1.3.6.1.2.1.5.13.0|65|0 +1.3.6.1.2.1.5.14.0|65|548558 +1.3.6.1.2.1.5.15.0|65|0 +1.3.6.1.2.1.5.16.0|65|1893 +1.3.6.1.2.1.5.17.0|65|0 +1.3.6.1.2.1.5.18.0|65|0 +1.3.6.1.2.1.5.19.0|65|0 +1.3.6.1.2.1.5.20.0|65|508136 +1.3.6.1.2.1.5.21.0|65|0 +1.3.6.1.2.1.5.22.0|65|38529 +1.3.6.1.2.1.5.23.0|65|0 +1.3.6.1.2.1.5.24.0|65|0 +1.3.6.1.2.1.5.25.0|65|0 +1.3.6.1.2.1.5.26.0|65|0 +1.3.6.1.2.1.6.5.0|65|173117 +1.3.6.1.2.1.6.6.0|65|108777 +1.3.6.1.2.1.6.7.0|65|4631 +1.3.6.1.2.1.6.8.0|65|773 +1.3.6.1.2.1.6.9.0|66|3 +1.3.6.1.2.1.6.10.0|65|2825974 +1.3.6.1.2.1.6.11.0|65|4946406 +1.3.6.1.2.1.6.12.0|65|1309 +1.3.6.1.2.1.6.14.0|65|11 +1.3.6.1.2.1.6.15.0|65|807 +1.3.6.1.2.1.7.1.0|65|74403102 +1.3.6.1.2.1.7.2.0|65|1255603 +1.3.6.1.2.1.7.3.0|65|2 +1.3.6.1.2.1.7.4.0|65|100377368 +1.3.6.1.2.1.11.1.0|65|444046 +1.3.6.1.2.1.11.2.0|65|444045 +1.3.6.1.2.1.11.3.0|65|0 +1.3.6.1.2.1.11.4.0|65|0 +1.3.6.1.2.1.11.5.0|65|0 +1.3.6.1.2.1.11.6.0|65|0 +1.3.6.1.2.1.11.8.0|65|0 +1.3.6.1.2.1.11.9.0|65|0 +1.3.6.1.2.1.11.10.0|65|0 +1.3.6.1.2.1.11.11.0|65|0 +1.3.6.1.2.1.11.12.0|65|0 +1.3.6.1.2.1.11.13.0|65|3115629 +1.3.6.1.2.1.11.14.0|65|0 +1.3.6.1.2.1.11.15.0|65|0 +1.3.6.1.2.1.11.16.0|65|0 +1.3.6.1.2.1.11.17.0|65|0 +1.3.6.1.2.1.11.18.0|65|0 +1.3.6.1.2.1.11.19.0|65|0 +1.3.6.1.2.1.11.20.0|65|0 +1.3.6.1.2.1.11.21.0|65|0 +1.3.6.1.2.1.11.22.0|65|0 +1.3.6.1.2.1.11.24.0|65|0 +1.3.6.1.2.1.11.25.0|65|0 +1.3.6.1.2.1.11.26.0|65|0 +1.3.6.1.2.1.11.27.0|65|0 +1.3.6.1.2.1.11.28.0|65|0 +1.3.6.1.2.1.11.29.0|65|0 +1.3.6.1.2.1.11.30.0|2|2 +1.3.6.1.2.1.25.1.1|67|198230515 +1.3.6.1.2.1.25.2.3.1.1.1|2|1 +1.3.6.1.2.1.25.2.3.1.1.2|2|2 +1.3.6.1.2.1.25.2.3.1.2.1|6|1.3.6.1.2.1.25.2.1.2 +1.3.6.1.2.1.25.2.3.1.2.2|6|1.3.6.1.2.1.25.2.1.4 +1.3.6.1.2.1.25.2.3.1.3.1|4|Physical Memory +1.3.6.1.2.1.25.2.3.1.3.2|4|Hard Disk Drive +1.3.6.1.2.1.25.2.3.1.4.1|2|1 +1.3.6.1.2.1.25.2.3.1.4.2|2|32768 +1.3.6.1.2.1.25.2.3.1.5.1|2|386260328 +1.3.6.1.2.1.25.2.3.1.5.2|2|238590 +1.3.6.1.2.1.25.2.3.1.6.1|2|184533416 +1.3.6.1.2.1.25.2.3.1.6.2|2|28395 +1.3.6.1.2.1.25.2.3.1.7.1|65|0 +1.3.6.1.2.1.25.2.3.1.7.2|65|0 +1.3.6.1.2.1.25.3.2.1.1.1|2|1 +1.3.6.1.2.1.25.3.2.1.1.2|2|2 +1.3.6.1.2.1.25.3.2.1.2.1|6|1.3.6.1.2.1.25.3.1.20 +1.3.6.1.2.1.25.3.2.1.2.2|6|1.3.6.1.2.1.25.3.1.6 +1.3.6.1.2.1.25.3.2.1.3.1|4|Physical Memory +1.3.6.1.2.1.25.3.2.1.3.2|4|Hard Disk Drive +1.3.6.1.2.1.25.3.2.1.4.1|6|1.3.6.1.4.1.38516.2.5.1.0 +1.3.6.1.2.1.25.3.2.1.4.2|6|1.3.6.1.4.1.38516.2.5.1.0 +1.3.6.1.2.1.25.3.2.1.5.1|2|2 +1.3.6.1.2.1.25.3.2.1.5.2|2|2 +1.3.6.1.2.1.25.3.2.1.6.1|65|0 +1.3.6.1.2.1.25.3.2.1.6.2|65|0 +1.3.6.1.2.1.27.1.1.4.1|4|8.3.5.4