Splunk IT Service Intelligence

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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

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