ESXi tip: how to configure hosts to offload their logs to a collector server from the command line

Diagnostics information can be sent to a remote host instead, or in addition to the local store. This information is useful for troubleshooting host failures. Here is how to configure from the command prompt in 7 easy steps:

To configure hosts for Netdump with the command line, perform the following steps:

1.Open a console session to the host or connect remotely via SSH.
2.Review the current settings:
esxcli system coredump network get

3.Specify the outbound interface, IP address, and UDP port of the remote collector:
esxcli system coredump network set –interface-name –server-ipv4 –server-port PortNumber

4.Enable the configuration:
esxcli system coredump network set –enable true

5.Check the functionality of the collector server:
esxcli system coredump network check

6.Output in case of success should be as follows:
Verified the configured netdump server is running

7.Save the configuration permanently:


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.