harvest icon indicating copy to clipboard operation
harvest copied to clipboard

Is there a way to get NFS/CIFS TCP port availability status with Harvest?

Open jmg011 opened this issue 4 years ago • 7 comments

Is there a way to get NFS/CIFS TCP port availability status with Harvest?

Intention is to verify that the ports are open.

jmg011 avatar Nov 30 '21 04:11 jmg011

Does Zapi net-port-get-iter help? Harvest doesn't have default template for this but you can refer https://github.com/NetApp/harvest/issues/691#issuecomment-979096671 for reference.

rahulguptajss avatar Nov 30 '21 08:11 rahulguptajss

@rahulguptajss Looking for NFS/CIFS TCP port status which will not be retrieved as part of net-port-get-iter.

Need to check if the NFS/CIFS TCP port is opened and listening.

jmg011 avatar Nov 30 '21 17:11 jmg011

@jmg011 is the net-port-get-iter.net-port-info.link-status in #472 what you are looking for?

ruanruijuan avatar Jan 25 '22 15:01 ruanruijuan

@ruanruijuan - No, I'm actually looking for port listening or not status.

jmg011 avatar Feb 04 '22 01:02 jmg011

@jmg011 Does cli network port show helps? It has an equivalent Rest API https://CLUSTER_IP/api/network/ethernet/ports?fields=*. This Rest API has a field state (9.6 onwards) and metrics.status (9.8 onwards)

rahulguptajss avatar Sep 26 '22 10:09 rahulguptajss

@jmg011 Let us know if above suggestion helps?

rahulguptajss avatar Oct 07 '22 09:10 rahulguptajss

@rahulguptajss Thank you. I will test it and let you know.

jmg011 avatar Oct 19 '22 22:10 jmg011

@jmg011 did this work for you?

cgrinds avatar Feb 23 '23 15:02 cgrinds