The vCenter Perfcharts service must be configured to fail to a known safe state if system initialization fails.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-259080 | SRG-APP-000225-AS-000166 | VCPF-80-000062 | SV-259080r961122_rule | 2024-07-11 | 2 |
Description
Determining a safe state for failure and weighing that against a potential denial of service for users depends on what type of application the web server is hosting. It is preferable that the service abort startup on any initialization failure rather than continuing in a degraded, and potentially insecure, state.
ℹ️ Check
At the command line, run the following command:
# grep EXIT_ON_INIT_FAILURE /usr/lib/vmware-perfcharts/tc-instance/conf/catalina.properties
Example result:
org.apache.catalina.startup.EXIT_ON_INIT_FAILURE=true
If there are no results, or if the "org.apache.catalina.startup.EXIT_ON_INIT_FAILURE" is not set to "true", this is a finding.
✔️ Fix
Navigate to and open:
/usr/lib/vmware-perfcharts/tc-instance/conf/catalina.properties
Add or change the following line:
org.apache.catalina.startup.EXIT_ON_INIT_FAILURE=true
Restart the service with the following command:
# vmon-cli --restart perfcharts