Specifications
VMware, Inc. 103
Chapter 5 System Configuration
Configuring Syslog on ESX Server Hosts
AllESXServerhostsrunasyslogservice(syslogd),whichlogsmessagesfromthe
VMkernelandothersystemcomponentstoafile.OnanESXServer3host,youcan
configuresyslogbehaviorbyeditingthe/etc/syslog.conffile.OnanESXServer3i
host,youcanusetheVIClient
ortheRemoteCLIcommandvicfg-advcfgto
configurethefollowingoptions:
Logfilepath–Specifiesadatastorepathtoafileinwhichsyslogdlogsall
messages.
Remotehost–Specifiesaremotehosttowhichsyslogmessagesareforwarded.
Youcanalsospecifytheportonwhichtheremotehostreceivesmessages.
To configure syslogd on an ESX Server 3i host
1 SelectthehostintheVIClientinventory.
2ClicktheConfigurationtabtodisplayit.
3ClickAdvanced Settings.
4 SelectSysloginthetreecontrol.
5Inthe
Syslog.Local.DatastorePathtextbox,enterthedatastorepathforthefileto
whichsyslogwilllogmessages.
Thedatastorepathshouldbeoftheform[<datastorename>]</path/to/file>,where
thepathisrelativetotherootofthevolumebackingthedatastore.Forexample,
thedatastorepath[storage1] var/log/messageswouldmapto
thepath
/vmfs/volumes/storage1/var/log/messages.
Ifnopathisspecified,thedefaultpathis/var/log/messages.
6IntheSyslog.Remote.Hostnametextbox,enterthenameoftheremotehostto
whichsyslogdatawillbeforwarded.
Ifnovalueisspecified,noforwardingtakesplace.
Inordertoreceivetheforwardedsyslogmessages,your
remotehostmusthavea
syslogserviceinstalledandcorrectlyconfigured.Consultthedocumentationfor
thesyslogserviceinstalledonyourremotehostforinformationonconfiguration.