Splunk Dev

Splunk insights for infrastructure scripts are not working as expected

sivapuvvada
Path Finder

Hi ,

I tried to test the splunk insights for infrastructure unfortunately my servers don't have internet connection , Due to that all the agent scripts are failing ..

How can i download all the packages for this agent from internet , can you please provide those details .

Tags (1)
0 Karma

PowerPacked
Builder

Hi @Siva

You can download collectd manually as well.

https://s3-us-west-2.amazonaws.com/ittm-agentscript/unix-agent-0.9.0-0.tgz

curl -sL -o unix-agent-0.9.0-0.tgz https://s3-us-west-2.amazonaws.com/ittm-agentscript/unix-agent-0.9.0-0.tgz && tar -xzf unix-agent-0.9.0-0.tgz && cd unix-agent && bash install_agent.sh && bash install_uf.sh && cd .. && rm -rf unix-agent

you need to configure collectd by editing collectd.conf

write HttpPlugin in collectd.conf should have information about the Host on which Insights is installed.

0 Karma

sivapuvvada
Path Finder

Hi @PowerPacked ,
I am getting the below error when try to execute install_agent.sh

Missing required arguments - SPLUNK_URL, HEC_PORT and HEC_TOKEN.

which SPLUNK URL i need to configure , do i need to configure forwarder URL or SH URL ,
Also confirm on HEC_PORT and HEC_TOKEN

0 Karma

PowerPacked
Builder

Splunk URL is the URL on which Insights is installed.

HEC Port --- default port is 8088

HEC Token --- you will find this in --- Insights installed Host --- etc/apps//splunk_app_infrastructure/local/inputs.conf

Approve the answer if this helpfull for you.

Thanks

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!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...