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

Celestica switch live ports. #77

Closed jgonso07 closed 2 years ago

jgonso07 commented 2 years ago

Hi Barry, I have an issue with a Celestica switch with Sonic OS. I can created via SNMP into the IXP, but I was unable to view the live ports and other features. I manually created the vendor_celestica.php, but still can't view the ports. Could you help me please. imagen

nickhilliard commented 2 years ago

can you put vendor_celestica.php up on https://gist.github.com/?

jgonso07 commented 2 years ago

Hi Nick, I already put the file. Let me know if you need anything else. Best regards

El vie, 19 ago 2022 a la(s) 11:08, Nick Hilliard @.***) escribió:

can you put vendor_celestica.php up on https://gist.github.com/?

— Reply to this email directly, view it on GitHub https://github.com/opensolutions/OSS_SNMP/issues/77#issuecomment-1220847911, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2S7PKLYBIZV7U5I7N45Y3TVZ6WQXANCNFSM5663OUWQ . You are receiving this because you authored the thread.Message ID: @.***>

nickhilliard commented 2 years ago

reference: https://gist.github.com/Jgon46/6a260e7178332837b68e25d42dfcfc20

Does IXP Manager recognise this as a Seastone-DX010 unit? If it does, what is the output of:

snmpwalk -v 2c -c <community> <switchname> ifIndex
snmpwalk -v 2c -c <community> <switchname> ifName
snmpwalk -v 2c -c <community> <switchname> ifDescr
snmpwalk -v 2c -c <community> <switchname> ifAlias
jgonso07 commented 2 years ago

Nope, always show Unknown from the IXP and the snmpwalk as well, but if I use the OID number related to IfIndex it works. [image: image.png]

El lun, 22 ago 2022 a la(s) 10:08, Nick Hilliard @.***) escribió:

reference: https://gist.github.com/Jgon46/6a260e7178332837b68e25d42dfcfc20

Does IXP Manager recognise this as a Seastone-DX010 unit? If it does, what is the output of:

snmpwalk -v 2c -c ifIndex snmpwalk -v 2c -c ifName snmpwalk -v 2c -c ifDescr snmpwalk -v 2c -c ifAlias

— Reply to this email directly, view it on GitHub https://github.com/opensolutions/OSS_SNMP/issues/77#issuecomment-1222492145, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2S7PKJB3W2KNPHRZYHZAGLV2OJVLANCNFSM5663OUWQ . You are receiving this because you authored the thread.Message ID: @.***>

jgonso07 commented 2 years ago

Hi Nick, Do you have any suggestions or tests about this case? Best regards.

El lun, 22 ago 2022 a la(s) 10:19, Jose Gonzalez @.***) escribió:

Nope, always show Unknown from the IXP and the snmpwalk as well, but if I use the OID number related to IfIndex it works. [image: image.png]

El lun, 22 ago 2022 a la(s) 10:08, Nick Hilliard @.***) escribió:

reference: https://gist.github.com/Jgon46/6a260e7178332837b68e25d42dfcfc20

Does IXP Manager recognise this as a Seastone-DX010 unit? If it does, what is the output of:

snmpwalk -v 2c -c ifIndex snmpwalk -v 2c -c ifName snmpwalk -v 2c -c ifDescr snmpwalk -v 2c -c ifAlias

— Reply to this email directly, view it on GitHub https://github.com/opensolutions/OSS_SNMP/issues/77#issuecomment-1222492145, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2S7PKJB3W2KNPHRZYHZAGLV2OJVLANCNFSM5663OUWQ . You are receiving this because you authored the thread.Message ID: @.***>

nickhilliard commented 2 years ago

this switch is running SONiC, so it should be picked up by vendor_sonic.php. Can you delete vendor_celestica.php?

What happens when you execute these commands from the OSS_SNMP directory:

% ./examples/platform.php <switchip> <community>
% ./examples/interfaces.php <switchip> <community>
jgonso07 commented 2 years ago

Hi Nick, I deleted the celestica vendor and moved to sonic. After that, I ran the commands you sent me and got the following: [image: image.png] The info about the switch and the port list, but still don't see them from the IXP.

El mié, 24 ago 2022 a la(s) 05:15, Nick Hilliard @.***) escribió:

this switch is running SONiC, so it should be picked up by vendor_sonic.php. Can you delete vendor_celestica.php?

What happens when you execute these commands from the OSS_SNMP directory:

% ./examples/platform.php % ./examples/interfaces.php

— Reply to this email directly, view it on GitHub https://github.com/opensolutions/OSS_SNMP/issues/77#issuecomment-1225516896, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2S7PKOZ3AZFM57G2P2Y7ZLV2XY4PANCNFSM5663OUWQ . You are receiving this because you authored the thread.Message ID: @.***>

nickhilliard commented 2 years ago

i can't see the image. can you upload to gist?

Jgon46 commented 2 years ago

results: image

nickhilliard commented 2 years ago

this means that OSS_SNMP is working fine, so I'm closing this issue on GH.

If there's nothing appearing in IXP Manager, then this might be an IXP Manager problem. Can you email ixpmanager@inex.ie with the output of:

./artisan switch:snmp-poll --log -vvv <switchname>
jgonso07 commented 2 years ago

Thanks Nick, I will do it.

El mié, 24 ago 2022 a la(s) 11:04, Nick Hilliard @.***) escribió:

this means that OSS_SNMP is working fine, so I'm closing this issue on GH.

If there's nothing appearing in IXP Manager, then this might be an IXP Manager problem. Can you email @.*** with the output of:

./artisan switch:snmp-poll --log -vvv

— Reply to this email directly, view it on GitHub https://github.com/opensolutions/OSS_SNMP/issues/77#issuecomment-1225928141, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2S7PKIPRIQ34HBD4OO4VADV2ZBZJANCNFSM5663OUWQ . You are receiving this because you authored the thread.Message ID: @.***>