Skip to content

Instantly share code, notes, and snippets.

@gsmitheidw
Last active June 12, 2020 14:59
Show Gist options
  • Save gsmitheidw/413b2eb4a3cca9baba5834e5537b9a86 to your computer and use it in GitHub Desktop.
Save gsmitheidw/413b2eb4a3cca9baba5834e5537b9a86 to your computer and use it in GitHub Desktop.
Set ESXi remote syslog server
esxcli system syslog config set --loghost "tcp://<ipaddress-syslog-server>:514"
esxcli system syslog reload
esxcli network firewall ruleset set --ruleset-id=syslog --enabled=true
esxcli network firewall refresh
nc -z <ipaddress-syslog-server> 514
esxcli system syslog config get
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment