Add support for Juniper ACX710

The Juniper ACX710 is auto discovered as a 'generic ’ device and as such does not display Temperature graphs & OS etc., and of course displays the server icon.

-bash-4.2$ ./discovery.php -h 4dby.asr1
LibreNMS Discovery
4dby.asr1 3 generic

Load disco module core

OS: Generic Device (generic)

Runtime for discovery module ‘core’: 0.4110 seconds with 307912 bytes
SNMP: [8/0.40s] MySQL: [0/0.00s] RRD: [0/0.00s]

Unload disco module core

Load disco module os

Location:
Hardware:
OS Version:
OS Features:
Serial:

Runtime for discovery module ‘os’: 0.0790 seconds with 191552 bytes
SNMP: [4/0.07s] MySQL: [0/0.00s] RRD: [0/0.00s]

Unload disco module os

Load disco module ports

X…

Runtime for discovery module ‘ports’: 1.5660 seconds with 8296 bytes
SNMP: [5/1.52s] MySQL: [102/0.29s] RRD: [0/0.00s]

Unload disco module ports

Load disco module ports-stack

Runtime for discovery module ‘ports-stack’: 0.4100 seconds with 720 bytes
SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]

Unload disco module ports-stack

Load disco module entity-physical

Caching OIDs: entPhysicalEntry entAliasMappingIdentifier…

Runtime for discovery module ‘entity-physical’: 0.9200 seconds with 14312 bytes
SNMP: [1/0.82s] MySQL: [27/0.15s] RRD: [0/0.00s]

Unload disco module entity-physical

Module [ entity-state ] disabled globally.

Load disco module isis

UU

Runtime for discovery module ‘isis’: 0.3050 seconds with 254064 bytes
SNMP: [1/0.16s] MySQL: [4/0.03s] RRD: [0/0.00s]

Unload disco module isis

Load disco module processors

Host Resources: …

Runtime for discovery module ‘processors’: 0.1270 seconds with 60592 bytes
SNMP: [2/0.12s] MySQL: [10/0.07s] RRD: [0/0.00s]

Unload disco module processors

Load disco module mempools

Runtime for discovery module ‘mempools’: 0.8760 seconds with 152424 bytes
SNMP: [2/0.07s] MySQL: [1/0.01s] RRD: [0/0.00s]

Unload disco module mempools

Module [ cisco-vrf-lite ] disabled globally.

Module [ cisco-mac-accounting ] disabled globally.

Module [ cisco-pw ] disabled globally.

Load disco module vrf

Runtime for discovery module ‘vrf’: 0.0060 seconds with 3576 bytes
SNMP: [0/0.00s] MySQL: [2/0.05s] RRD: [0/0.00s]

Unload disco module vrf

Module [ cisco-cef ] disabled globally.

Module [ slas ] disabled globally.

Module [ cisco-cbqos ] disabled globally.

Module [ cisco-otv ] disabled globally.

Module [ cisco-qfp ] disabled globally.

Load disco module ipv4-addresses

s.s.s.s.s.s.s.s.s.s.

Runtime for discovery module ‘ipv4-addresses’: 0.4310 seconds with 28720 bytes
SNMP: [11/0.38s] MySQL: [72/0.40s] RRD: [0/0.00s]

Unload disco module ipv4-addresses

Load disco module ipv6-addresses

Runtime for discovery module ‘ipv6-addresses’: 0.2150 seconds with 63824 bytes
SNMP: [7/0.20s] MySQL: [13/0.09s] RRD: [0/0.00s]

Unload disco module ipv6-addresses

Module [ route ] disabled globally.

Load disco module sensors

ENTITY-SENSOR: Caching OIDs: entPhysicalDescr entPhysicalName entPhySensorType entPhySensorScale entPhySensorPrecision entPhySensorValue entPhySensorOperStatus
Airflow:
Current:
Charge:
Dbm:
Fanspeed:
Frequency:
Humidity:
Load:
Loss:
Power:
Power_consumed:
Power_factor:
Runtime:
Signal:
State:
Count:
Temperature:
Tv_signal:
Bitrate:
Voltage:
Snr:
Pressure:
Cooling:
Delay:
Quality_factor:
Chromatic_dispersion:
Ber:
Eer:
Waterflow:
Percent:

Runtime for discovery module ‘sensors’: 0.7730 seconds with 76760 bytes
SNMP: [7/0.74s] MySQL: [34/0.22s] RRD: [0/0.00s]

Unload disco module sensors

Load disco module storage

aix_filesystem : hrStorage : .U…

Runtime for discovery module ‘storage’: 0.2390 seconds with 16280 bytes
SNMP: [5/0.22s] MySQL: [12/0.08s] RRD: [0/0.00s]

Unload disco module storage

Load disco module hr-device

Runtime for discovery module ‘hr-device’: 0.1030 seconds with 3904 bytes
SNMP: [2/0.10s] MySQL: [1/0.01s] RRD: [0/0.00s]

Unload disco module hr-device

Load disco module discovery-protocols

CISCO-CDP-MIB:
LLDP-MIB: …

Runtime for discovery module ‘discovery-protocols’: 6.6820 seconds with 434992 bytes
SNMP: [1/6.04s] MySQL: [32/0.26s] RRD: [0/0.00s]

Unload disco module discovery-protocols

Load disco module arp-table

em0.0:

bme0.0:

jsrv.1:

ae10.104:

xe-0/0/1.0:

xe-0/0/3.0:

xe-0/0/4.0:

xe-0/0/5.0:

xe-0/0/6.0:

xe-0/0/7.0:

xe-0/0/8.0:

xe-0/0/9.0:

xe-0/0/10.0:

xe-0/0/12.0:

xe-0/0/13.0:

xe-0/0/14.0:

xe-0/0/15.0:

xe-0/0/16.0:

xe-0/0/17.0:

xe-0/0/18.0:

xe-0/0/19.0:

xe-0/0/20.0:

xe-0/0/21.0:

xe-0/0/22.0:

xe-0/0/23.0:

ae100.920:
.
irb.920:
.
ae0.0:

Runtime for discovery module ‘arp-table’: 0.2480 seconds with 320016 bytes
SNMP: [2/0.23s] MySQL: [32/0.17s] RRD: [0/0.00s]

Unload disco module arp-table

Module [ discovery-arp ] disabled globally.

Module [ junose-atm-vp ] disabled globally.

Load disco module bgp-peers

AS212133 …

Runtime for discovery module ‘bgp-peers’: 0.1980 seconds with 4488 bytes
SNMP: [2/0.08s] MySQL: [9/0.06s] RRD: [0/0.00s]

Unload disco module bgp-peers

Load disco module vlans

IEEE8021-Q-BRIDGE-MIB VLANs: ver version1
VLAN 1
VLAN 920
VLAN 1010
VLAN 1014

Runtime for discovery module ‘vlans’: 0.4090 seconds with 39280 bytes
SNMP: [7/0.40s] MySQL: [5/0.02s] RRD: [0/0.00s]

Unload disco module vlans

Module [ vmware-vminfo ] disabled globally.

Module [ libvirt-vminfo ] disabled globally.

Module [ printer-supplies ] disabled globally.

Load disco module ucd-diskio

Runtime for discovery module ‘ucd-diskio’: 0.0600 seconds with 928 bytes
SNMP: [1/0.06s] MySQL: [1/0.00s] RRD: [0/0.00s]

Unload disco module ucd-diskio

Module [ applications ] disabled globally.

Load disco module services

Runtime for discovery module ‘services’: 0.0000 seconds with 720 bytes
SNMP: [0/0.00s] MySQL: [0/0.00s] RRD: [0/0.00s]

Unload disco module services

Load disco module stp

Instances:
Ports:

Runtime for discovery module ‘stp’: 0.0540 seconds with 52712 bytes
SNMP: [1/0.05s] MySQL: [2/0.01s] RRD: [0/0.00s]

Unload disco module stp

Load disco module ntp

Runtime for discovery module ‘ntp’: 9.3930 seconds with 280 bytes
SNMP: [0/0.00s] MySQL: [0/0.00s] RRD: [0/0.00s]

Unload disco module ntp

Module [ loadbalancers ] disabled globally.

Module [ mef ] disabled globally.

Module [ wireless ] disabled globally.

Load disco module fdb-table

Q-BRIDGE-MIB:

Runtime for discovery module ‘fdb-table’: 0.1730 seconds with 40344 bytes
SNMP: [0/0.00s] MySQL: [5/0.02s] RRD: [0/0.00s]

Unload disco module fdb-table

Load disco module mpls

Runtime for discovery module ‘mpls’: 0.0000 seconds with 23456 bytes
SNMP: [0/0.00s] MySQL: [0/0.00s] RRD: [0/0.00s]

Unload disco module mpls

Discovered in 15.396 seconds

SNMP [70/11.72s]: Snmpget[33/1.17s] Snmpwalk[36/10.50s] Snmpgetnext[1/0.05s]
SQL [376/2.01s]: Select[222/1.49s] Delete[7/0.02s] Update[144/0.47s] Insert[3/0.02s]
RRD [0/0.00s]:
-bash-4.2$

Juniper snmpwalk.

snmpwalk -v2c -c gr33np0w3r 10.1.1.191 SNMPv2-SMI::enterprises.2636.3.1.2.0

SNMPv2-SMI::enterprises.2636.3.1.2.0 = STRING: “Juniper ACX710 Internet Backbone Router”

Librenms server for ACX710
[[email protected] ~]# snmpwalk -v2c -c gr33np0w3r 10.1.1.191 .1.3.6.1.4.1.2636.3.1.13.1.5
SNMPv2-SMI::enterprises.2636.3.1.13.1.5.1.1.0.0 = STRING: “ChassisACX710”
SNMPv2-SMI::enterprises.2636.3.1.13.1.5.2.1.0.0 = STRING: “Power Supply 0”
SNMPv2-SMI::enterprises.2636.3.1.13.1.5.4.1.1.0 = STRING: “Fan Tray 0 Fan 0”
SNMPv2-SMI::enterprises.2636.3.1.13.1.5.4.1.2.0 = STRING: “Fan Tray 0 Fan 1”
SNMPv2-SMI::enterprises.2636.3.1.13.1.5.4.1.3.0 = STRING: “Fan Tray 0 Fan 2”
SNMPv2-SMI::enterprises.2636.3.1.13.1.5.4.1.4.0 = STRING: “Fan Tray 0 Fan 3”
SNMPv2-SMI::enterprises.2636.3.1.13.1.5.4.1.5.0 = STRING: “Fan Tray 0 Fan 4”
SNMPv2-SMI::enterprises.2636.3.1.13.1.5.7.1.0.0 = STRING: “FPC: ACX710 @ 0//
SNMPv2-SMI::enterprises.2636.3.1.13.1.5.8.1.1.0 = STRING: “PIC: ACX710 24x1GE/24x10GE SFP MIC @ 0/0/"
SNMPv2-SMI::enterprises.2636.3.1.13.1.5.8.1.2.0 = STRING: "PIC: ACX710 16x10/25GE 4x40/100GE SFP MIC @ 0/1/

SNMPv2-SMI::enterprises.2636.3.1.13.1.5.9.1.0.0 = STRING: “Routing Engine 0”

LibreNMS Server for AC2200 router that is recognised.
[[email protected] ~]# snmpwalk -v2c -c gr33np0w3r 10.1.4.199 .1.3.6.1.4.1.2636.3.1.13.1.5
SNMPv2-SMI::enterprises.2636.3.1.13.1.5.1.1.0.0 = STRING: “midplane”
SNMPv2-SMI::enterprises.2636.3.1.13.1.5.2.1.0.0 = STRING: “PEM 0”
SNMPv2-SMI::enterprises.2636.3.1.13.1.5.2.2.0.0 = STRING: “PEM 1”
SNMPv2-SMI::enterprises.2636.3.1.13.1.5.6.1.0.0 = STRING: “FEB ACX2200”
SNMPv2-SMI::enterprises.2636.3.1.13.1.5.7.1.0.0 = STRING: “FPC @ 0//
SNMPv2-SMI::enterprises.2636.3.1.13.1.5.8.1.1.0 = STRING: “PIC: 4x 1GE(LAN) RJ45 @ 0/0/"
SNMPv2-SMI::enterprises.2636.3.1.13.1.5.8.1.2.0 = STRING: "PIC: 4x 1GE(LAN) SFP, RJ45 @ 0/1/

SNMPv2-SMI::enterprises.2636.3.1.13.1.5.8.1.3.0 = STRING: “PIC: 2x 1GE(LAN) SFP @ 0/2/"
SNMPv2-SMI::enterprises.2636.3.1.13.1.5.8.1.4.0 = STRING: "PIC: 2x 10GE(LAN) SFP+ @ 0/3/

SNMPv2-SMI::enterprises.2636.3.1.13.1.5.9.1.0.0 = STRING: “Routing Engine”
SNMPv2-SMI::enterprises.2636.3.1.13.1.5.12.0.0.0 = STRING: “CB”
SNMPv2-SMI::enterprises.2636.3.1.13.1.5.20.1.1.0 = STRING: “MIC: 4x 1GE(LAN) RJ45 @ 0/0/"
SNMPv2-SMI::enterprises.2636.3.1.13.1.5.20.1.2.0 = STRING: "MIC: 4x 1GE(LAN) SFP, RJ45 @ 0/1/

SNMPv2-SMI::enterprises.2636.3.1.13.1.5.20.1.3.0 = STRING: “MIC: 2x 1GE(LAN) SFP @ 0/2/"
SNMPv2-SMI::enterprises.2636.3.1.13.1.5.20.1.4.0 = STRING: "MIC: 2x 10GE(LAN) SFP+ @ 0/3/