Last active
June 12, 2020 14:59
-
-
Save gsmitheidw/413b2eb4a3cca9baba5834e5537b9a86 to your computer and use it in GitHub Desktop.
Set ESXi remote syslog server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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