Why tons of devices were destroyed by the System account and then rediscovered
search cancel

Why tons of devices were destroyed by the System account and then rediscovered

book

Article ID: 403313

calendar_today

Updated On:

Products

Network Observability Spectrum

Issue/Introduction

As per the JasperReports Detailed Change Management: All
Around 1000 assets were destroyed and around 1300 assets were discovered
Why the System account destroyed them.

Environment

DX NetOps Spectrum: Any version

Cause

The Autodiscovery job destroyed the models due to modeltype mismatch alarm.

CA Spectrum AutoDiscovery will destroy and recreate models that have a modeltype mismatch alarm
https://knowledge.broadcom.com/external/article?articleNumber=44806

Resolution

You can run the following MySQL query for each device name to confirm the Autodiscovery job destroyed and rediscovered it due to modeltype mismatch:

cd $SPECROOT/mysq/bin

./mysql --defaults-file=../my-spectrum.cnf -uroot -p<password> reporting

mysql> select dm.model_name,mc.mclass_name,dm.create_time,dm.destroy_time,mt.mtype_name,v.vendor_name,dm.device_type from devicemodel dm, modelclass mc, vendor v, modeltype mt where dm.model_class=mc.model_class and dm.vendor=v.vendor and dm.mtype_h=mt.mtype_h and dm.model_name like '<device_name>';

+-------------+-------------+---------------------+---------------------+--------------------+-------------+-----------------+
| model_name  | mclass_name | create_time         | destroy_time        | mtype_name         | vendor_name | device_type     |
+-------------+-------------+---------------------+---------------------+--------------------+-------------+-----------------+
|<device_name>| Firewall    | 2020-11-21 14:19:56 | 2025-06-14 08:14:38 | GnSNMPDev          | CheckPoint  | CheckPointRT    |
+-------------+-------------+---------------------+---------------------+--------------------+-------------+-----------------+
|<device_name>| Firewall    | 2025-06-14 08:14:38 | NULL                | CheckpointFirewall | CheckPoint  | CheckPoint 5200 |
+-------------+-------------+---------------------+---------------------+--------------------+-------------+-----------------+