load_from_discovery_server callback for device discovery in the snmpcollector probe failing
search cancel

load_from_discovery_server callback for device discovery in the snmpcollector probe failing

book

Article ID: 432148

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

Trying to do a 'load_from_discovery_server' callback for device discovery in the snmpcollector probe.

Running the query from Probe Utility in Admin Console returns a fail as well as result "loadFromDiscoveryService() failed with errors.Check your probe LOG for details".

Upon checking the log, below are the errors found.

"Could not find discovery_server probe at {0}. Ensure the address is correct, and that the discovery_server probe is running.,args[string=No discovery server address defined.]

The discovery_server address is verified correct and other hubs have no issues running the same query.

Similar issue is around 10 hubs 

Environment

23.4 CU6 at Primary and Proxy hubs 

snmpcollector 4.15HF2

Remote third tier hubs at 9.37

 

Resolution

Can see below errros in logs

 snmpcollector] Running callback to query the discovery server
Feb 20 15:46:54:973 [attach_socket, snmpcollector] verifying if discovery_server is reachable at address /xxx/xxx_hub/xxx/discovery_server
Feb 20 15:46:55:261 [attach_socket, snmpcollector] An exception occurred while processing a message from Socket[addr=/xxx.xxx.xxx.xxx,port=xxx,localport=xxx].
Feb 20 15:46:55:262 [attach_socket, snmpcollector] (1) error, An error occurred while attempting to encrypt a value.  Illegal key size: An error occurred while attempting to encrypt a value.  Illegal key size
 at com.nimsoft.nimbus.Cryptographer.wrap(Cryptographer.java:590)
 at com.nimsoft.nimbus.Cryptographer.encrypt(Cryptographer.java:545)
 at com.nimsoft.nimbus.Cryptographer.encrypt(C
 

Issue hubs had java 1.8 but old versions

Upgrade java_jre to latest 1.8 version from the Nimsoft archive fixes the issue 

https://support.nimsoft.com/unsecure/archive.aspx?id=214