This commit is contained in:
conetadm
2024-11-14 21:11:06 +01:00
commit 5718e70f15
657 changed files with 9401652 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
select entPhysical.entPhysicalDescr as 'SFP Description',
entPhysical.entPhysicalVendorType as 'SFP Type',
entPhysical.entPhysicalSerialNum as 'SFP Serial',
entPhysical.entPhysicalName as 'Port Name',
ports.port_descr_descr as 'Port Description',
devices.hostname as 'Host',
ports.ifAdminStatus as 'Admin-Status',
ports.ifOperStatus as 'Oper-Status'
from entPhysical
join devices
on (entPhysical.device_id = devices.device_id)
join ports \
on (entPhysical.device_id = ports.device_id)
where ports.ifindex = entPhysical.ifindex
and entPhysical.entPhysicalDescr like '%SFP%'
and (entPhysical.entPhysicalVendorType like 'cevPort%'
or entPhysical.entPhysicalVendorType like 'cevSFP%')
;