Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invoke-Webrequest 404 page not found #59

Open
therealseda opened this issue Nov 6, 2018 · 0 comments
Open

Invoke-Webrequest 404 page not found #59

therealseda opened this issue Nov 6, 2018 · 0 comments

Comments

@therealseda
Copy link

Expected Behavior

When running "Set-EUCMonitoring -InstallVisualizationSetup -Verbose" I see there is an error download the XenServer-details.json file.
I noticed in Install-VisualizationSetup.ps1 that the invoke-webrequest was using location: https://raw.githubusercontent.com/dbretty/EUCMonitoring/v2_beta

I tried changing all invoke-webrequest URI to this location to see if it resolves:
https://raw.githubusercontent.com/dbretty/EUCMonitoring/master

Didnt change but I found that hash:
$dashboards = @("EUCMonitoring.json",
"Session-Details.json",
"AD-Details.json",
"App-V-Details.json",
"CC-Details.json",
"Director-Details.json",
"FAS-Details.json",
"Netscaler-Details.json",
"NetscalerGateway-Details.json",
"PVS-Details.json",
"SQL-Details.json",
"Storefront-Details.json",
"UPS-Details.json",
"WEM-Details.json",
"XDController-Details.json",
"XDLicensing-Details.json",
"XenServer-Details.json"
)
Has additional capitalization of XenServer-Details.json but the path to https://raw.githubusercontent.com/dbretty/EUCMonitoring/master/DashboardConfig/Dashboards/Xenserver-Details.json does not have the "server" in Xenserver capitalized. So once I changed this to match and was able to download.

I dont know enough about Invoke-Webrequest if there is a way to ignore case but making that small change in the Install-VisualizationSetup.ps1 fixed it for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant