Data Collectors started but not being seen by CAPC -
[root@hostname ~]# systemctl status dcmd
● dcmd.service - Data Collector
Loaded: loaded (/etc/systemd/system/dcmd.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2022-08-22 13:53:00 EDT; 1h 18min ago
CGroup: /system.slice/dcmd.service
└─1341 /local1/IMDataCollector/ICMPD/IcmpDaemon --start
Aug 22 13:53:00 hostnamev systemd[1]: Starting Data Collector...
Aug 22 13:53:00 hostname dcmd[1189]: Starting Data Collector...
Aug 22 13:53:00 hostname dcmd[1189]: Starting activemq.
Aug 22 13:53:00 hostname dcmd[1189]: Starting the ICMPD
Aug 22 13:53:00 hostname IcmpDaemon[1341]: ICMP Daemon: service started
Aug 22 13:53:00 hostname dcmd[1189]: Starting IM Data Collector
Aug 22 13:53:00 hostname dcmd[1189]: start: Redirecting Karaf output to /local1/IMDataCollector/apache-karaf...f.out
Aug 22 13:53:00 hostname systemd[1]: Started Data Collector.
Hint: Some lines were ellipsized, use -l to show in full.
[root@us1salx00856 ~]# systemctl status activemq
● activemq.service - Apache ActiveMQ
Loaded: loaded (/etc/systemd/system/activemq.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2022-08-22 15:01:21 EDT; 10min ago
Process: 17600 ExecStop=/local1/IMDataCollector/scripts/activemq stop sysd (code=exited, status=0/SUCCESS)
Process: 17733 ExecStart=/local1/IMDataCollector/scripts/activemq start sysd (code=exited, status=0/SUCCESS)
Main PID: 17803 (java)
CGroup: /system.slice/activemq.service
└─17803 /local1/IMDataCollector/jre/bin/java -Xms500M -Xmx1000M -Xmn250M -server -XX:SurvivorRatio=6 -XX:+UseConcMarkSw...
Aug 22 15:01:21 hostname[1]: Starting Apache ActiveMQ...
Aug 22 15:01:21 hostname activemq[17733]: Starting ActiveMQ
Aug 22 15:01:21 hostname activemq[17733]: INFO: Loading '/local1/IMDataCollector/broker/apache-activemq-5.15.../env'
Aug 22 15:01:21 hostname activemq[17733]: INFO: Using java '/local1/IMDataCollector/jre/bin/java'
Aug 22 15:01:21 hostname activemq[17733]: INFO: Starting - inspect logfiles specified in logging.properties ...tails
Aug 22 15:01:21 hostname activemq[17733]: INFO: pidfile created : '/local1/IMDataCollector/broker/apache-act...803')
Aug 22 15:01:21 hostname systemd[1]: Started Apache ActiveMQ.
Hint: Some lines were ellipsized, use -l to show in full.
[root@hostname ~]# netstat -a | grep 616 | grep EST
tcp 0 0 hostname:35892 us1salx08901.corp:61616 ESTABLISHED
tcp 0 0 hostname:44438 us1salx08901.corp:61618 ESTABLISHED
tcp 0 0 hostname:36934 us1salx08901.corp:61622 ESTABLISHED
tcp 0 0 hostname:33362 us1salx08901.corp:61620 ESTABLISHED
Release : 22.2
Component : NetOps Data Collector
DCMD is listed as running, but isn't. This is due to the fact that IcmpDaemon is running.
systemctl status dcmd
● dcmd.service - Data Collector
Loaded: loaded (/etc/systemd/system/dcmd.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2022-08-22 13:53:00 EDT; 1h 18min ago
CGroup: /system.slice/dcmd.service
└─1341 /local1/IMDataCollector/ICMPD/IcmpDaemon --start
As can be seen above, there is no secondary java process listed for dcmd, like below
9208 /opt/IMDataCollector/jre/bin/java -Xms1024M -Xmx5229M -server -Xms1024M -Xmx5229M -XX:+UnlockDiagnosticVMOption..
systemctl stop dcmd
systemctl start dcmd
The Data Collector is now showing as connected in the UI