DataStax Help Center

SNMP: Event plugin registration hangs on startup

Symptom

When starting opscenterd with an SNMP event plugin enabled, the opscenterd process hangs when starting to register the plugin.  Users will notice opscenterd.log stops after this point and nothing else works.

 

Workaround

Add the following JVM flag to opscenterd via the OPSC_JVM_OPTS environment variable: -Djava.security.egd=file:/dev/./urandom and restart opscenterd.

 

Details

This happens in some environments (typically slower machines) when the SNMP library is generating randomness for security purposes.  This randomness requires a certain amount of entropy on the machine, which on slower machines can take a prohibitively long time.  Using urandom instead of random leverages a non-blocking algorithm which performs well on all support environments.

Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk