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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...