Alertcollector not started automatically

book

Article ID: 15831

calendar_today

Updated On:

Products

CA Automation Suite for Data Centers - Configuration Automation CA Client Automation - Asset Management CA Client Automation - IT Client Manager CA Client Automation CA Client Automation - Remote Control CA Client Automation - Asset Intelligence CA Client Automation - Desktop Migration Manager CA Client Automation - Patch Manager

Issue/Introduction



Alertcollector is installed on a machine.

After the reboot of the machine, alertcollector is not started automatically

 

Command caf status cfprocessmanager returns status stopped for "Alert Collector"

<Please see attached file for image>

3.jpg

 

The solution is to start Alert Collector manually with this command :

alertcollector start

 

 

But why it is not started manually

 

 

Environment

Release: UASIT.99000-12.9-Asset Intelligence
Component:

Resolution

At startup, hmagent.exe starts automatically alertcollector.exe 

In TRC_CF_HMAGENT*.log in trace DETAIL following lines should appear :

 

150917-07:31:06.1295068L|004824|0000128c|hmagent   |hmagent         |HMAgent.cpp         |000781|DETAIL | HMAgent::StartMonitoring(). Starting Alert Collector

150917-07:31:06.1307415L|004824|0000128c|hmagent   |hmagent         |HMAgent.cpp         |000794|DETAIL | HMAgent::StartMonitoring(). Alert Collector started successfully

 

 

Remark :

Trace DETAIL for HMAGENT could be set with this command :

cftrace -c set -l DETAIL -f CF -pp hmagent -s 30000

 

 

If service "CA DSM r14 Health Monitoring Agent Service" has been set for "Manual" or Disabled startup type, process hmagent.exe and alertcollector are not automatically started.

<Please see attached file for image>

src="/servlet/servlet.FileDownload?file=0150c000004AKdsAAG" alt="2.jpg" width="418" height="401">

 

 

The solution is to set the startup type of "CA DSM r14 Health Monitoring Agent Service" service to Automatic.

But if it is not possible to do this, execute this command to indicate that process alertcollector should be started automatically when caf is started :

 

ccnfcmda -cmd setParameterValue -ps itrm/common/caf/processes/alertcollector -pn startwithcaf -v 1

 

 

After the reboot of machine, process Alertcollector.exe is automatically started and running.

<Please see attached file for image>

src="/servlet/servlet.FileDownload?file=0150c000004AKduAAG" alt="4.jpg" width="674" height="385">

 

Attachments

1558717425040000015831_sktwi1f5rjvs16uk0.jpeg get_app
1558717423054000015831_sktwi1f5rjvs16ujz.jpeg get_app
1558717421121000015831_sktwi1f5rjvs16ujy.jpeg get_app