Check: ESX1110
VMware ESX 3 Server:
ESX1110
(in version v1 r2)
Title
Virtual machine log files do not have a size limit. (Cat II impact)
Discussion
Virtual machines can write troubleshooting information into a virtual machine log file (vmware.log) stored on the VMFS volume. Virtual machine users and processes may be configured to abuse the logging function, either intentionally or inadvertently so that large amounts of data flood the log file. Over time, the log file can consume so much of the ESX Server’s file system space that it fills the hard disk, causing an effective denial of service on the ESX Server.
Check Content
1. Login to VirtualCenter with the VI Client and select the virtual machine from the Inventory panel. The configuration page for the virtual machine appears with the Summary tab displayed. 2. Click Edit Settings. 3. Click Options > General and make a record of the path displayed in the virtual machine configuration file field. 4. At the ESX Server service console, change directories to access the virtual machine configuration file recorded in step 3. 5. Virtual machine configuration files are located in the /vmfs/volumes/(datastore) directory, where (datastore) is the name of the storage device on which the virtual machine files reside. In example above, [vol1]vm-finance/vm-finance.vmx is located in /vmfs/volumes/vol1/vm-finance/. 6. To verify the log size limit, perform the following: # grep log.rotate.Size (virtual machine name).vmx log.rotateSize=(number in bytes) If no limit is set, this is a finding. The default is 500KB.
Fix Text
Configure a limit for virtual machine log size.
Additional Identifiers
Rule ID: SV-16849r1_rule
Vulnerability ID: V-15907
Group Title: Virtual machine log files do not have size limit
Expert Comments
CCIs
Number | Definition |
---|---|
No CCIs are assigned to this check |
Controls
Number | Title |
---|---|
No controls are assigned to this check |