Alarm_enrichment probe down - red state - java.lang.AssertionError
search cancel

Alarm_enrichment probe down - red state - java.lang.AssertionError

book

Article ID: 45210

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

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

Environment

Release: UIM 20.x

Component: NAS

Cause

mars 09 14:45:10:899 [main, alarm_enrichment] java.lang.AssertionError: data were not fully read, check your serializer 
    at org.mapdb.Store.deserialize(Store.java:299)
    at org.mapdb.StoreDirect.get2(StoreDirect.java:486)
    at org.mapdb.StoreDirect.get(StoreDirect.java:439)
    at org.mapdb.Caches$HashTable.get(Caches.java:246)
    at org.mapdb.EngineWrapper.get(EngineWrapper.java:58)
    at org.mapdb.HTreeMap$HashIterator.findNextLinkedNodeRecur(HTreeMap.java:1089)
    at org.mapdb.HTreeMap$HashIterator.findNextLinkedNode(HTreeMap.java:1054)
    at org.mapdb.HTreeMap$HashIterator.advance(HTreeMap.java:1041)
    at org.mapdb.HTreeMap$HashIterator.moveToNext(HTreeMap.java:1000)
    at org.mapdb.HTreeMap$EntryIterator.next(HTreeMap.java:1147)
    at org.mapdb.HTreeMap$EntryIterator.next(HTreeMap.java:1140)
    at com.nimsoft.probe.service.nas.timeoverthreshold.TOTAlarmCandidateTable.importDataFromAlarmCandidatesPersistentMap(TOTAlarmCandidateTable.java:80)
    at com.nimsoft.probe.service.nas.timeoverthreshold.TOTAlarmCandidateTable.<init>(TOTAlarmCandidateTable.java:73)
    at com.nimsoft.probe.service.nas.timeoverthreshold.TOTAlarmCandidateTable.getInstance(TOTAlarmCandidateTable.java:57)
    at com.nimsoft.probe.service.nas.timeoverthreshold.TimeOverThresholdService.<init>(TimeOverThresholdService.java:78)
    at com.nimsoft.probe.service.nas.Nas.postLoginInitialization(Nas.java:488)
    at com.nimsoft.probe.service.nas.Nas.login(Nas.java:418)
    at com.nimsoft.nimbus.NimProbeBase.nimAttachProbe(NimProbeBase.java:303)
    at com.nimsoft.nimbus.NimProbe.initSubscribe(NimProbe.java:572)
    at com.nimsoft.nimbus.NimProbe.doForever(NimProbe.java:416)
    at com.nimsoft.probe.service.nas.Nas.run(Nas.java:611)
    at com.nimsoft.probe.service.nas.Nas.main(Nas.java:394)

Mar  9 14:45:12:665 [3064] Controller: Max. restarts reached for probe 'alarm_enrichment' (command = <startup java>)

Resolution

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.