IntroductionAdmin Console displays robots from two sources. ?The robot quantity next to each hub corresponds with a lookup from the CM_NIMBUS_ROBOT table where 'origin' = <hubname> ?The actual robots that are displayed in the tree in Admin Console comes from a 'getrobots' callback to the hub when the hub is selected in Admin Console. ?
If there's a discrepancy in the discovery tables compared to the actual robots reporting to the hub, then the number will be incorrect.
In this example, a robot (taylor) had been removed from the system, but the discovery_server has not yet purged it from the discovery tables. ?A snip from CM_NIMBUS_ROBOT:
ProcedureIdentify the incorrect system and remove it from CM_COMPUTER_SYSTEM (this will remove the system from all other discovery tables, including CM_NIMBUS_ROBOT. ?In this example, this SQL statement fixes the issue:
DELETE from CM_COMPUTER_SYSTEM where name = 'taylor'
CM_NIMBUS_ROBOT now looks like:
After Admin Console?has been refreshed, the robot quantity will be correct: