opensolutions / OSS_SNMP

A PHP SNMP library for people who hate SNMP, MIBs and OIDs!
https://github.com/opensolutions/OSS_SNMP/wiki
Other
107 stars 58 forks source link

Unable to add Allied Telesis AT-28GTX with IXP Manager v4 #54

Closed zeeshanaziz001 closed 6 years ago

zeeshanaziz001 commented 6 years ago

Hello! I am trying to integrate Allied Telesis AT-28GTX switch with IXP Manager v4 through SNMP v2c but unable to become successful in it. I have followed your guide on how to add platform support by going through these links.

https://github.com/opensolutions/OSS_SNMP/wiki/Device-Discovery https://github.com/opensolutions/OSS_SNMP/blob/master/examples/platform.php

I have copied the example script from the above link and paste it on this path /srv/ixpmanager/vendor/opensolutions/oss-snmp/src/OSS_SNMP/Platforms/ and named it as vendor_allied_telesis.php. The machine on which i am running IXP Manager v4 is Ubuntu Server 16.04.3 LTS codename xenial. I have configured SNMP agent on the switch using the official documentation of Allied Telesis. When I try to add the the switch from the IXP Manager GUI I get this error:

Uh oh! Unexpected Error! We're very sorry but something we didn't expect has just happened.

Following are the outputs of the commands that i have run on Machine where ixp manager is installed: sudo snmpget -c xbits -On -v 2c 192.168.100.170 .1.3.6.1.2.1.1.1.0 Output: .1.3.6.1.2.1.1.1.0 = STRING: "Allied Telesis router/switch, AW+ v5.4.7-2.5"

sudo snmpget -c xbits -On -v 2c 192.168.100.170 .1.3.6.1.2.1.1.2.0 Output: .1.3.6.1.2.1.1.2.0 = OID: .1.3.6.1.4.1.207.1.14.118

Management Interface IP = 192.168.100.170 Community String = xbits

I am unable to find the the log location of IXP Manager as well so suggest me how to add support for the Allied Telesis switch. The screenshot of error is attached below for reference. image