habs3
Enthusiast
Enthusiast

Read netdump files in VCSa

Hi,

I was wondering if there was a way to read the netdump files using PowerCLi after a host is configured to send syslogs to vcenter?

I automated the configuration of the hosts to do the send to the virtual center ip and then test. i now want to validate that the vcenter is receiving the information from the newly configured hosts. i see you can read VMHoss logs but have not found anything other than logging in with ssh to read them.

Any help would be great.

 

thanks 

0 Kudos
3 Replies
LucD
Leadership
Leadership

Besides using SSH, you could also use Get-Log.
But that assumes that the log you want to retrieve is listed in those returned by Get-LogType.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
habs3
Enthusiast
Enthusiast

Thank you for the response. When i try get-logtype it does not return the netdup logs. it only returns the vpxd type logs.

 

I was wondering. Is there a way to do this with esxcli?

0 Kudos
LucD
Leadership
Leadership

Afaik you can use esxcli to configure the dump collector on an ESXi node, but I don't think you can download those files with an esxcli command.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos