Using the script to resolve "DIFFERENT MODEL TYPE" alarms in Spectrum
search cancel

Using the script to resolve "DIFFERENT MODEL TYPE" alarms in Spectrum


Article ID: 143556


Updated On:


CA Spectrum DX NetOps


Using the script to resolve "DIFFERENT MODEL TYPE" alarms in Spectrum


Release : Any



When upgrading Spectrum from one version to another, you may notice ""DIFFERENT MODEL TYPE" alarms in Spectrum after the upgrade.

The reason this occurs is in the previous version of Spectrum, a device that was not certified in that version was modeled using a model type (most likely GnSNMPDev) to manage the device but in the new version, it is a certified device using a model type other than the one that was used in the older version.

Part of the post upgrade process is to run the script located in the $SPECROOT/Install-Tools/PostInstall directory.

By default, when running the script, it will only convert specific models that meet specific criteria. 

However, you can use the script to manually tell it to look for a specific model to convert by doing the following.

To find out the current model type used:

1. Find and select the model

2. Click on the Attributes tab in the Component Detail panel

3. Filter for and select the Modeltype_Name attribute id 0x10000 and note the value

To find out what model type to change it to, you will first need to know the value of the sysObjectID

1. Find and select the current model in Spectrum

2. Click on the Information tab in the Component Detail panel

3. Find and expand the CA Spectrum Modeling Information subview

4. Note the value of the System Object ID parameter

Now that you know the value of the sysObjectID, you can check the Device Certification page for the model type Spectrum thinks should be used.

1. Log into

2. Enter the sysObjectID in the "System Object Identifier" field and click on the "Search Database" button

3. Click on the entry returned and note the Model Type

The last piece of information you will need is the landscape handle of the SpectroSERVER system. 

1. Log into the SpectroSERVER system as the user that owns the Spectrum installation

2. If on Windows, start a bash shell by running "bash -login"

3. cd to the $SPECROOT/SS directory and enter the following command:


4. Note the hex value returned

Now you have all the information you need to run the script using the -m option as discussed in the "Change the Model Type for a Single Device Type Using a Script" section of the documentation.

Note: You can also delete the current model and recreate it from scratch.