Hello all...
I recently had an issue with a few of my ESX hosts, where particular HBA ports on the host were not seeing all of the paths to our SAN that I expect them to.
What I would like to do is have a script that could gather results similar to the esxcfg-mpath -l command for each host in a particular cluster, and then export that to csv so I can have a weekly check to ensure there aren't any SAN issues related to this particular problem...
I really have no idea where to start, or if a similar output is available using commands in the vi toolkit. I had done a little reading about using plink to do similar things, but id prefer to not go down that road if i dont have to.
Anyone have any ideas?