Skip to content

Invoke-Webrequest 404 page not found #59

Description

@therealseda

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions