Probe templates package current state (error) is not eligible for activation

book

Article ID: 195313

calendar_today

Updated On:

Products

NIMSOFT PROBES DX Infrastructure Management

Issue/Introduction

Getting the following error when trying to use the activate_probe_templates_package callback per:

https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/it-operations-management/ca-unified-infrastructure-management-probes/GA/how-to-articles/configuring-alarm-thresholds-in-mcs.html#concept.dita_9b21d0dfd91e128ca527fa3807599a5af75be47c_MigrateProfileMigratingandConvertingExistingProfiles

status: failed
message: Probe templates package current state (error) is not eligible for activation

Environment

Release : 9.2.0

Component : UIM - MON_CONFIG_SERVICE_TEMPLATES

Resolution

Make sure that the probe pack that relates to the template package is in the archive. For instance, if you are planning on updating to cdm-6.50-MC template package, make sure that the cdm-6.50-MC probe package is also in the archive. Once in the archive you will need to update the status for the probe template to 'loaded' from 'error'. 

Following the example. In this case my 6.50 template package is in an error state. Identify that by running the following query against the UIM database:

SELECT * FROM ssrv2probetemplatespackage where probe_name like 'cdm'

Once found, I can formulate a query to change the status:

UPDATE ssrv2probetemplatespackage set status ='loaded' where probe_name like 'cdm' and probe_template_pkg_version ='6.50'

Now run the activate_probe_templates_package callback again, and run the select query to verify that the package goes into a migrating state and then to a migrated state. This may take some time.

The process here is not exclusive to the cdm probe. It can be used for other template/probe package combinations as well.