Health Collector does not work
search cancel

Health Collector does not work

book

Article ID: 315884

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

When the Collector-Manager Emc-Watch4net-Health service is restarted the service does not start again and the below error appears in the collecting logs under /opt/APG/Collecting/Collector-Manager/emc-watch4net-health/logs:

INFO	 -- [2021-03-04 14:08:14 UTC] -- CollectorManagerImpl::getComponentInstance(): Instantiating class com.watch4net.apg.ubertext.collector.StreamCollector for collector APG_HEALTH_EVENTS...
INFO	 -- [2021-03-04 14:08:14 UTC] -- CollectorManagerImpl::getComponentInstance(): Configuring collector APG_HEALTH_EVENTS (StreamCollector v1.6 rM) with /opt/APG/Collecting/Stream-Collector/emc-watch4net-health/conf/w4napi-collector.xml...
SEVERE	 -- [2021-03-04 14:08:19 UTC] -- Bootstrap::main(): Can't start Collector Manager!
com.watch4net.apg.v2.common.config.InvalidConfigurationException: Error while creating LockManager
at com.watch4net.apg.ubertext.collector.StreamCollector.configure(StreamCollector.java:104)
.
.
Caused by: com.watch4net.apg.ubertext.parsing.StreamHandlerException: Lock perdevicelock-@{host} is referencing collected context keys!

Environment

Watch4Net/M&R 7.0u8

Resolution

As of March 2021, this is a known issue with W4N version 7.0u8.

Follow the below steps to resolve this issue:

  • Comment out the following line in the below two files:
    <lock name="perdevicelock-@{host}" count="10"/>
    • /opt/APG/Collecting/Stream-Collector/emc-watch4net-health/conf/parsing-listTasksInfo.xml
    • /opt/APG/Collecting/Stream-Collector/emc-watch4net-health/conf/parsing-topology.xml
  • Restart the Collector-Manager Emc-Watch4net-Health service.

  • Check the Collecting logs under /opt/APG/Collecting/Collector-Manager/emc-watch4net-health/logs.

  • Check the status of the Collector-Manager Emc-Watch4net-Health service.