Cannot connect to my hub and my controller.cfg is missing probes
search cancel

Cannot connect to my hub and my controller.cfg is missing probes


Article ID: 35028


Updated On:


DX Unified Infrastructure Management (Nimsoft / UIM)


If you see an error such as this, it may be due to missing probe definitions in the controller.cfg in $NIMROOT/robot directory:


This issue can happen if for example the server crashed while the controller.cfg was still locked by the Nimsoft Robot watcher process, and became corrupted. On reboot, the robot watcher service then recreated the file but it is then only containing the controller probe entry. This then causes none of the other core probes to start, and showing the hub as not started up.


Component: CAUIM


If there is a backup copy of controller.cfg available, replace the current controller.cfg with the backup and restart the robot service.


If there is no backup copy of controller.cfg available, then follow these steps:

  1. Replace the corrupted controller.cfg with a copy from any other hub (You can use the attached sample_controller.cfg if you do not have a backup copy. If you are using Linux you will need to edit this file and remove the ".exe" from the "command = probename.exe" for all the probes listed).
  2. Remove all lines which start with magic_key
  3. Move (don't copy) controller.cfg to $NIMROOT\robot\changes folder
  4. Restart robot service.

There should now be a new controller.cfg in $NIMROOT\robot folder and at least controller, hub probes should be active and green in Infrastructure Manager.

 Follow the next instructions to generate new magic keys.

If there is at least ONE directly connected hub on the same network as the primary hub:

  1. Login to the secondary hub using Infrastructure Manager
  2. On the primary hub, only the controller will be up and it will automatically attach to the nearest/secondary hub as it is running as a robot only. If it doesn't show up and attach to the secondary hub, use Connect Robot tool in Infrastructure Manager to attach the primary hub robot to the secondary hub.
  3. Once, you have the primary hub robot attached to secondary hub, validate the hub probe by right clicking on the hub probe and then select Security->Validate. After the hub probe is active it will detach from secondary hub and will take the hub role. validate the other probes in the same way as you just did with the hub probe.

If there is NO directly connected hub on the same network as the primary hub?

If the hub probe is up and running then skip to step 2:

1. Launch a command prompt and navigate to the $NIMROOT\hub folder and execute this command:

hub.exe -d3 -lstdout

This will allow you to login to infrastructure manager.


2. Launch Infrastructure manager and login to the hub.
3. Right click on the hub probe, choose  security then validate.
You will see a prompt asking you if you wish to activate the probe.
Click Yes.

Once the operation completes, you will see that the hub is up and running.? You can verify that this is the case by running this command:

netstat -an |find "48002"

and you should see a LISTENING?process 48002/tcp

4- Login to hub using IM and validate all probes with red-lock icon: start with distsrv, data_engine, then the rest.


Clean up:

This step is needed to make sure that all probes which are actually installed on the system are in sync with what you see in the Infrastructure Manager UI.

  1. Login to Infrastructure Manager
  2. Validate any/all red-lock icon probes, if any on the hub
  3. Cross reference $NIMROOT\probes folder/sub-folders and to the probes showing up in Infrastructure Manager
    1. Deploy any probe which exists on file-system under \probes\* folder
    2. Delete any probe which does not exist on file-system under \probes\* folder


1558691073794000035028_sktwi1f5rjvs16gh8.jpeg get_app
1558691072005000035028_sktwi1f5rjvs16gh7.jpeg get_app
1558691070118000035028_sktwi1f5rjvs16gh6.jpeg get_app
1558691068277000035028_sktwi1f5rjvs16gh5.jpeg get_app
1558691066455000035028_sktwi1f5rjvs16gh4.jpeg get_app
1558691064684000035028_sktwi1f5rjvs16gh3.jpeg get_app
1558691062842000035028_sktwi1f5rjvs16gh2.jpeg get_app
1558691059973000035028_sktwi1f5rjvs16gh1.jpeg get_app get_app