All Apps and Add-ons

collectd dosent send performance data to Splunk App for Infrastructure

qhmassc
Explorer

I have Splunk App for Infrastructure installed and configured, it works for Windows agent, but I cannot make it for Linux servers.
I run the install script, I can start both collectd and splunk agent services, but I cannot find any collectd.log file, and also cannot see Linux servers under Entities with Splunk App for Infrastructure. I can see other log files if I use searching and reporting app.

Please help.

0 Karma

sloshburch
Splunk Employee
Splunk Employee

Sounds like the whole collectd setup might not be fully set up. In my little experience with collectd, the log itself will have a few more messages for the other plugins it's collecting info on. I think there's even a DEBUG flag you can toggle on the collectd.conf...although I have a feeling your collectd.conf isn't being used and that's the problem.

If you installed with the command provided from the Splunk UI, give it another go and keep your eyes peeled for errors. In fact, you probably want to capture that text to share with support.

if you installed manually, then revisit the instructions and even peek at What are the Best Practices for collectd.conf for Infrastructure Monitoring? if it helps.

0 Karma

p_gurav
Champion

Check logs at this location : /etc/collectd.log

Also this may help:
https://docs.splunk.com/Documentation/InfraApp/1.2.2/Admin/Troubleshooting#3._Possible_causes

0 Karma

qhmassc
Explorer

OK, I found this log file here /etc/collectd/collectd.log, but has only one line if I start the service:
[2019-01-03 09:23:44] [info] Initialization complete, entering read-loop.

0 Karma

qhmassc
Explorer

there is no collected.log anywhere. cannot find collected.log under /etc/collectd.log or /opt/collectd/var/log

0 Karma

qhmassc
Explorer

OK, I found this log file here /etc/collectd/collectd.log, but has only one line if I start the service:
[2019-01-03 09:23:44] [info] Initialization complete, entering read-loop.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...