ONTAP Discussions

Get SFP Receive and transmit power with Powershell returns nothing

JSerra
1,131 Views

Being a "bad-but-not-dead" SFP the cause for multiple complains of latency and bad performance, due to the impact of a bad or flapping FC connection on the multipath management, I'm trying to get a weekly report on the power of all SFPs of my Customer's Cluster with Powershell.

 

This should work because the variables are there:

 

Get-NcFcpAdapter | Select-Object node,Adapter,portname,SfpSerialNumber,SfpRxPower,SfpTxPower,Portaddress,State,SwitchPort,speed|Format-Table 

Node Adapter PortName SfpSerialNumber SfpRxPower SfpTxPower PortAddress State SwitchPort Speed

 

Yet, I get a blank value
 Picture1.png

On the cli I can see the values:

JSerra_0-1692798513976.png

Am I missing something on the powershell configuration or is it something broken on Get-NcFcpAdapter? By the way, Speed doesn't work too.

 

Any thoughts?

 

 

 

 

 

0 REPLIES 0
Public