Is there a way to get NFS/CIFS TCP port availability status with Harvest?
Is there a way to get NFS/CIFS TCP port availability status with Harvest?
Intention is to verify that the ports are open.
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 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 is the net-port-get-iter.net-port-info.link-status in #472 what you are looking for?
@ruanruijuan - No, I'm actually looking for port listening or not status.
@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)
@jmg011 Let us know if above suggestion helps?
@rahulguptajss Thank you. I will test it and let you know.
@jmg011 did this work for you?