UCF STIG Viewer Logo

The vCenter Perfcharts service must initiate session logging upon startup.


Overview

Finding ID Version Rule ID IA Controls Severity
V-259073 VCPF-80-000013 SV-259073r960888_rule Medium
Description
Logging must be started as soon as possible when a service starts and as late as possible when a service is stopped. Many forms of suspicious actions can be detected by analyzing logs for unexpected service starts and stops. Also, by starting to log immediately after a service starts, it becomes more difficult for suspicious activity to go unlogged.
STIG Date
VMware vSphere 8.0 vCenter Appliance Perfcharts Security Technical Implementation Guide 2024-07-11

Details

Check Text ( C-62813r934875_chk )
At the command prompt, run the following command:

# grep StreamRedirectFile /etc/vmware/vmware-vmon/svcCfgfiles/perfcharts.json

Expected output:

"StreamRedirectFile" : "%VMWARE_LOG_DIR%/vmware/perfcharts/vmware-perfcharts-runtime.log",

If no log file is specified for the "StreamRedirectFile" setting, this is a finding.
Fix Text (F-62722r934876_fix)
Navigate to and open:

/etc/vmware/vmware-vmon/svcCfgfiles/perfcharts.json

Below the last line of the "PreStartCommandArg" block, add the following line:

"StreamRedirectFile" : "%VMWARE_LOG_DIR%/vmware/perfcharts/vmware-perfcharts-runtime.log",

Restart the service with the following command:

# vmon-cli --restart perfcharts