Starting in CA Spectrum 220.127.116.11 and above, the CA Spectrum Network Configuration Manager (NCM) application can be configured to automatically repair device policy violations.
DX NetOps Spectrum 20.2 or later
To enable CA Spectrum to automatically repair policy violations, you need to run the CA Spectrum AlarmNotifier application. The following section is in the
# Below NCMAUTOREPAIR must set to TRUE to call auto remediation for NCM
# SPECTRUM_USER must be user which spectrum is installed
To enable the functionality, you need to set the
NCMAUTOREPAIR=TRUE and verify that the
SPECTRUM_USER is a valid user in the SpectroSERVER database. Then run the AlarmNotifier process. When you run the AlarmNotifier application, CA Spectrum will automatically create a repair task for NCM policy violations.
It is preferable to have the
SPECTRUM_USER set to be the same as the CA Spectrum install owner.
The auto remediation will only work for alarms that are raised on the policy model. If the alarm is on the device model, the auto remediation will not work.
Spectrum 9.4.x uses the
ncmautorepair.sh script. Spectrum 10.x uses the
ncmautorepair.jar file. If you are upgrading from Spectrum 9.4.x to 10.x and have created a custom SetScript using the out of the box 9.4 SetScript, you will need to rewrite your customer SetScript using the new 10.x SetScript as Spectrum 10.x does not use the
Information about utilizing the CA Spectrum Network Configuration Manager to generate alarm violations for the auto remediation to work can be found here: