Information Technology Reference
In-Depth Information
Configuring ESXi Hosts to Redirect to a Syslog Collector
There are several ways to coni gure your ESXi hosts to redirect their logs to a Syslog Collector.
The easiest way to coni gure a host is directly from the vSphere Web Client:
1. Log into the vSphere Web Client, and from the home screen, select Hosts And Clusters.
2. Select the host you want to coni gure for the Syslog Collector.
3. In the main object pane, select the Manage tab, followed by the Settings subtab.
4. Under Settings, select Advanced System Settings.
5. In the Filter box in the top-right corner of the Advanced System Settings page, type
syslog.global . Figure 4.45 shows the global syslog settings.
Figure 4.45
Setting host syslog
settings in the
vSphere Web Client
6. Five options are available. The important setting to redirect logs to a Syslog Collector
is syslog.global.logHost. You can stipulate the protocol (UDP, TCP, or SSL) and the
port number, but a resolvable hostname or IP address will sufi ce. To change this setting,
highlight the row and click the edit icon (a pencil) above.
Another popular way to set the syslog coni guration setting is via the host's command line.
Two commands are required: one to set the coni guration and another to enable (reload).
Figure 4.46 shows a typical setup.
Search WWH ::




Custom Search