Icinga / Icinga/icinga-powershell-plugins

Feature Request - Invoke-IcingaCheckService: Restart-Service Event_Command option

Open
#456 0 comments 1 reaction 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

We tried using the event_command option in Icinga for the Invoke-IcingaCheckService command.

This requires:

  • a powershell script to be present on the Windows machine
  • permissions for the running Icinga-powershell to restart local services

Both is the domain of IfW, so I am asking if there is any meaningful way for this feature to be implemented?

In Icinga Community there is a solution by creating a custom plugin dedicated to the event_command:
https://community.icinga.com/t/icinga-for-windows-how-to-restart-service-in-eventcommand/15273/2

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 by reviewing the Invoke-IcingaCheckService event_command use case and the linked Icinga Community solution. Clarify how a PowerShell script and permissions for restarting local Windows services should be handled before defining what an implementation would need to provide.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.