Icinga / Icinga/icinga-powershell-plugins

Invoke-IcingaCheckFirewall - Server 2008 R2 not working

Open
#268 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PowerShell
Stars
55
Forks
30
PR merge metrics
No merged PRs in 30d

Description

Hey,
we are running a Server 2008 R2 with PS5.1 installed. Actually the Cmdlet "Get-NetFirewallProfile" ist not available.
So if set the profile to "public" or anything else the check results in Unkwon-State.
Icinga Exception: The term 'Get-NetFirewallProfile' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Best regards

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.

Research direction

Start at the Invoke-IcingaCheckFirewall entry point and inspect how it handles the unavailable Get-NetFirewallProfile cmdlet. Reproduce the check on Windows Server 2008 R2 with PowerShell 5.1, then verify that selecting a firewall profile no longer produces an Unknown state.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
observability-sre
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.