Skip to main content

Posts

Showing posts from January, 2017

Configuring ESXi 6 host to send logs to Syslog Server

In my previous post I talked about configuring VMware Syslog server for Windows which is installed and enabled by default on installation of vCenter 6 for Windows. I will now describe the basic configuration that is required on an ESXi 6 host to be able to send logs out to a syslog server using my vCenter as the example. 1) Navigate to your ESXi host within vCenter. Go to "Manage" tab and select "Settings" followed by "Advanced System Settings". Look for the settings "Syslog.global.loghost" and highlight this settings. Click the pencil icon to edit the configuration for this setting. 2) You can now add the host name or ip address of your syslog server/s. You can enter just hostname or IP address, use udp://hostname:514 or ssl://hostname:1514 to be more specific on the port and protocol to be used. If you have multiple hosts then you use the comma (,) to separate each server i.e. udp://192.168.0.1:514,udp://192.168.0.2:514 3)We n

vCenter 6 Windows Syslog Server Config

In vSphere 6 when deploying vCenter for Windows VMware syslog server is deployed with it by default. In this post I will describe how you can locate the config file and some of the changes I have performed for my setup 1) As you can see when you log in to vCenter and drill down to a particular vCenter instance and go to Manage > Settings > Syslog collector you will see the current settings. If you have selected, the default installation path of vCenter then you can see that the logs are stored at "C:\ProgramData\VMware\vCenterServer\data\vmsyslogcollector" otherwise it will be stored accordingly the drive you installed vCenter to. i.e. if you installed to the e:\ drive then your logs should default to "E:\ProgramData\.." Also under Windows Services you should see the service "VMware Syslog Collector" running. The first step would be to modify the log path to match your needs as you most likely not want it on your OS drive C:\. 2)