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
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...