Pointing ESX to Syslog server

It has been possible for a while to send system logs to a syslog server over the network.  In your Linux server edit syslog server to enable listening on port 514 for both UDP and TCP connections.  Restart rsyslog and make the following changes to your ESX Cluster using PowerCLI:

Connect-VIServer 192.168.0.10 
Get-VMHost | Set-VMHostSysLogServer -SysLogServer 'udp://192.168.0.130:514' 
Get-VMHost | Get-VMHostFirewallException -Name syslog | Set-VMHostFirewallException -Enabled:$True 
$esxcli = Get-ESXCLI -VMHost 192.168.0.17 
$esxcli.system.syslog.reload()
Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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.

Advertisements
%d bloggers like this: