Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Invoke-IcingaCheckCPU Timeouts after Update

Aperta
#474 7 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@LordHepipud ci sta già lavorando.

Dal 25/3/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

bug Investigation

Hello,
since the last Update to the newest Icinga Agent, Icinga Powershell Framework and Powershell PLugins we are experiencing problems with the Invoke-IcingaCheckCPU check.
On some of our servers the service will run into a timeout without any specific reason why.
The plugin output in Icinga is just

<Timeout exceeded.>

Command Executed is the following

'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe' '-C' 'try { Use-Icinga -Minimal; } catch { Write-Output '\''The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'\''; Write-Output '\''Error:'\'' $($_.Exception.Message)Components:`r`n$( Get-Module -ListAvailable '\''icinga-powershell-*'\'' )`r`n'\''Module-Path:'\''`r`n$($Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command '\''Invoke-IcingaCheckCPU'\'' ' '-DisableProcessList' '-Warning' '80%' '-Critical' '90%' '-Core' '_Total' '-Verbosity' '2' '-ThresholdInterval' '15m'

No other Service has problems so far, only the CPU one and it worked fine beforehand.
For the 15 Minute Time Index we have this implemented on our hosts:

Register-IcingaServiceCheck -CheckCommand 'Invoke-IcingaCheckCpu' -Interval 300 -TimeIndexes 5m, 15m

In the Event Logs we found these entries on the hosts with the problem:

Image

The Problem itself will manifest mostly at random after some time, directly after installing the Icinga Agent or after a reboot of the server and then will disappear either after some minutes, hours or days.
If you run the command in a local Powershell Session on the host it will just close the terminal after some time.
Forcing Icinga to check again in the WebUI sometimes returns a valid result but the service will then again go Unknown and back into a timeout.
Hosts are mostly Windows Server 2019 or 2022 all on the same patch version.
We can't really find a common thing under those hosts fora root cause of the problem because some hosts have no problems so far and others have the timeout only sometimes or all the time.

Installed Version for Icinga Agent are as following:
Icinga Agent - 2.15.1
Powershell Framwork - 1.14.1
Powershell Plugins - 1.14.0
Icinga Service - 1.3.0

Lingua principale
PowerShell
Stelle
55
Fork
31
Merge medio
4g 5h
PR unite (30g)
6

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Icinga/icinga-powershell-plugins

Tutte le issue di Icinga/icinga-powershell-plugins

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.