In this UIM scenario, the 'Prevent rediscovery' option is enabled when deleting devices in OC as part of the decommissioning process for robots that use Dynamic IPs
Some robots are missing the Power State metrics in Metrics View.
Also noticed that hub probe is missing Monitoring Host section:
Validated that Power State metrics is being collected by reviewing the RN_* tables and OC SLM Active Objects
The discovery server log captures entry below when processing the niscache file for qos_power_state metric
Skipping excluded DeviceId: DF3ADF2CEC72A75E8536C6AFE6A12E33C
Any UIM version
This issue is seen when the CM_BLACKLIST_* (used by 'Prevent rediscovery') tables include a robot with the same IP.
1. Use steps in KB 212409 to remove the robot(s) from the CM_BLACKLIST_* tables
https://knowledge.broadcom.com/external/article/212409/uim-discovered-device-does-not-show-up.html
2. Run clean niscache on hub that the suspect robot reports to (Use controller probe utility)
See KB 46393: https://knowledge.broadcom.com/external/article/46393/how-to-clear-the-niscache.html
3. Restart hub, then when it comes back up, go into hub GUI, and 'Robots' tab - locate the robot(s) and right-click/remove each one. (no need to restart hub again)
4. Delete the robot(s) from OC inventory making sure NOT to check 'Prevent rediscovery'
5. Run the niscache clean and _reset_device_id_and_restart callbacks on the suspect robot(s)
See KB 46393: https://knowledge.broadcom.com/external/article/46393/how-to-clear-the-niscache.html
6. Run below query to reset the ci_met_id for robot(s) in the s_qos_table. This will ensure that s_qos_data table has the latest ci_metric_id.
Example:
update s_qos_data SET ci_metric_id = NULL where target in ('robotname') and probe = 'hub';
See KB 34008: https://knowledge.broadcom.com/external/article/34008/ump-no-metrics-available-displayed-for.html
7. Run the query below to confirm that that ci_metric_id is NULL
select * from s_qos_data where target in ('robotname') and probe = 'hub';
8. Deactivate/Activate the data_engine probe
9. Deactivate/Activate the discovery_server probe after the Robots reappear in IM hub probes 'Robots' tab
10. Waited a few poll cycles and confirm if device displays the Power State metric for the Robot