Archive

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
Take the 2021 Splunk Career Survey

Help us learn about how Splunk has
impacted your career by taking the 2021 Splunk Career Survey.

Earn $50 in Amazon cash!