Splunk ITSI

Insights for Infrastructure Windows Agent Install

jimhcccc
New Member

I am trying to install the Windows agent on a Windows Server 2016. It is failing on the line below with error message - Exception calling "Downloadfile" wiht "2" argument(s): "Unable to connect tot he remote server"

Foreach($file in $files) { $web.DownloadFile("https://172.22.6.5/static/app/splunk_app_infrastructure/windows_scripts/$file",$path+"\$file")}

0 Karma

jimhcccc
New Member

Well, after several more attempts at running the script one line at a time and then running the complete script, it seems to have installed.

0 Karma

jimhcccc
New Member

The Windows client install must not have worked because the SII server has not received any data. Is there an option to manually install the client software? I need something that I can see on the client as to what is happening. Very frustrating and confusing.

0 Karma

dagarwal_splunk
Splunk Employee
Splunk Employee

Try these:
1. Check if you can ping server with Insights of Infrastructure installed from client.
2. Check if port 9997 on SII server is open.
3. Try "bin/splunk list forward-server" on the client to check any active/inactive forwards. [ If you don't have any admin account created, use user-seed.conf to create one. http://docs.splunk.com/Documentation/Splunk/7.2.0/Security/Secureyouradminaccount]
4. If still have issues, can you provide your inputs.conf on your client. ("$SPLUNK_HOME\etc\apps\SplunkUniversalForwarder\local\inputs.conf")

jimhcccc
New Member

OK, after several tries, that line ran successfully. Now it is erroring on another line with message - .\install_uf.ps1 : the term '.\install_uf.ps1' is not recognized as the name of a cmdlet, function, script file, or operable program.

[System.Net.ServicePointManager]::ServerCertificateValidationCallback = $null; if ($?) { .\install_uf.ps1 }

0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...