How can I get the number of robots displayed next to a hub in Admin Console to reflect the correct number of robots?

book

Article ID: 34733

calendar_today

Updated On:

Products

DX Infrastructure Management NIMSOFT PROBES

Issue/Introduction

Introduction

Admin 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.

<Please see attached file for image>

Too many robots

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:

<Please see attached file for image>

Taylor has been removed





Procedure

Identify 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:

<Please see attached file for image>

Taylor is now removed.

After Admin Console?has been refreshed, the robot quantity will be correct:

<Please see attached file for image>

Fixed Admin Console

Environment

Release:
Component: CAUIM

Attachments

1558699710248000034733_sktwi1f5rjvs16orw.jpeg get_app
1558699708542000034733_sktwi1f5rjvs16orv.jpeg get_app
1558699706833000034733_sktwi1f5rjvs16oru.jpeg get_app
1558699704960000034733_sktwi1f5rjvs16ort.jpeg get_app