1.3 VCPF-80-000013

Information

The vCenter Perfcharts service must initiate session logging upon startup.

GROUP ID: V-259073RULE ID: SV-259073r960888

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.

Solution

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

See Also

https://workbench.cisecurity.org/benchmarks/23627