Icinga / Icinga/icinga-powershell-framework

Better Error Description For initial Install Script IcingaForWindows.ps1

Open
#731 0 comments 0 reactions 1 assignee View on GitHub

@LordHepipud is already working on this.

Since May 10, 2024.

Enhancement
Dominant language
PowerShell
Stars
87
Forks
34
PR merge metrics
No merged PRs in 30d

Description

Problem

When using the Install Script and the Repository isn't reachable either DNS or other reasons Script just finishes with the following error Message

===================

PS C:\Users\dummy\Desktop> .\IcingaForWindows.ps1
The underlying connection was closed: An unexpected error occurred on a send.

===================

Solution

It might finish with an error Message hinting at the reachability for the repository .. or at hinting that the following Parameter should be set correctly

PS C:\Users\dummy\Desktop> .\IcingaForWindows.ps1
The underlying connection was closed: An unexpected error occurred on a send.
-IcingaRepository Location wasn't reachable or not correctly configured

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.