alarm_enrichment probe will not start

Document ID : KB000045210
Last Modified Date : 14/05/2018
Show Technical Document Details
Introduction:

The alarm_enrichment probe fails to start or stops processing messages from the alarm_enrichment queue. 

  1. Deactivate both alarm_enrichment and nas 
  2. Even though alarm_enrichment shows Red set it to Deactivate. 
  3. Now delete the files in the db directory-> $\Nimsoft\probes\service\nas\alarm_enrichment\db 
  4. Activate alarm_enrichment and nas

The files in db get rebuilt resolving the problem 

Background:

The alarm_enrichment log has: 

Aug 01 14:58:47:209 [main, alarm_enrichment] ****************[ Starting ]**************** 

Aug 01 14:58:47:211 [main, alarm_enrichment] 4.79 

Aug 01 14:58:47:861 [main, alarm_enrichment] java.lang.RuntimeException: Could not instantiate class 

at org.mapdb.SerializerPojo.deserializeUnknownHeader(SerializerPojo.java:483) 

at org.mapdb.SerializerBase.deserialize3(SerializerBase.java:1216) 

at org.mapdb.SerializerBase.deserialize(SerializerBase.java:1132) 

or 
 [main, alarm_enrichment] java.lang.AssertionError: data were not fully read, check your serializer
at org.mapdb.Store.deserialize(Store.java:299) 
 

Instructions:
1- deactivate nas
2- deactivate alarm_enrichment
3- remove the files from:
C:\Program Files (x86)\Nimsoft\probes\service\nas\alarm_enrichment\db
or 
opt/nimsoft/probes/service/nas/alarm_enrichment/db folder
4- activate alarm_enrichment
5- activate nas

The files will automatically be rebuilt.