By using a JSON solution config file, you can manage some parameters of VCF Diagnostics, such as deactivating rules or setting defaults for some tasks, depending on your environment. You can create such a file by navigating to Operations > Configurations > Management Packs Configuration > Add:
File Name: diagnostics_mp_config_overwrites.json
Free format: yes
Content example:
{
"disabledRuleIds": ["RULE_ID”]
}
You take the RULE_ID parameter from the list of Diagnostics rules in the Findings Catalog on the Diagnostic Findings tab on VCF Operations. You can add multiple parameters, separated by a comma.
See the full list of possible parameters fields with example values:
{
"disabledRuleIds": ["AUTOMATION_datarecordsleak_KB_93133"],
"maxObjectsCount": 1000000,
"parallelRuleExecutionCount": 10,
"findingsLimitForRule": 500,
"queryTimeoutInMins": 3,
"activeScanDurationInHrs": 24,
"historicalScanMaxDurationInDays": 7,
"activeScanRetentionInHrs": 36,
"historicalScanRetentionInHrs": 96,
"workloadProvisioningRetentionInHrs": 168,
"snapshotProvisioningRetentionInHrs": 168
}
The set parameters take effect in Diagnostics findings calculations in up to 4 hours.
The two most common cases when you would need a JSON solution config file to overwrite the Diagnostics configuration are the following:
In the rare case that a Diagnostic finding doesn’t produce adequate or wrong output, you can deactivate the Diagnostic rule.
Example:
Contents example:
{
"disabledRuleIds": ["NSXT_TrimmedException_KB_92309", “AUTOMATION_datarecordsleak_KB_93133”]
}