Plugins returning output type [INFO] without using ShowFileList
@LordHepipud ci sta già lavorando.
Dal 19/9/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Hello,
this issue refers to the added feature in #455. Serveral plugins return the output type [INFO] even though ShowFileList is not active.
For example Invoke-IcingaCheckDirectory:
PS C:\Windows\system32> Invoke-IcingaCheckDirectory -Path 'D:\Test123' -FileNames @('Test123.txt') -CreationOlderThan 1m -Verbosity 3
[INFO] Directory Check: "D:\Test123": 6 Ok (All must be [OK])
_ [INFO] Average File Size: 108B
_ [INFO] File Count: 1
_ [INFO] Folder Count: 0
_ [INFO] Largest File Size: 108B
_ [INFO] Smallest File Size: 0B
_ [INFO] Total Size: 108B
The Directory Check states "6 OK (All must be [OK])" even though every output is flagged with the [INFO] output type and not with [OK].
The output tags change to [OK] if every ouput contents is explicitly checked in the check command :
PS C:\Windows\system32> Invoke-IcingaCheckDirectory -Path 'D:\Test123' -FileNames @('Test123.txt') -CreationOlderThan 1m -Verbosity 3 -Critical 1: -CriticalLargestFile 500B -CriticalAverageFile 500B -CriticalTotalSize 500B
[OK] Directory Check: "D:\Test123": 6 Ok (All must be [OK])
_ [OK] Average File Size: 198B
_ [OK] File Count: 1
_ [INFO] Folder Count: 0
_ [OK] Largest File Size: 198B
_ [INFO] Smallest File Size: 0B
_ [OK] Total Size: 198B
This also affexts other plugins like Invoke-IcingaCheckPartitionSpace without the usage of ShowFileList.
Installed components on this system:
Component Version Available
agent 2.16.3 2.16.3
framework 1.15.0 1.15.0
plugins 1.15.0 1.15.0
service 1.3.0 1.3.0
Windows server 2022
Best regards,
Max
- 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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Icinga/icinga-powershell-plugins
-
Invoke-IcingaCheckFirewall reports NotConfigured on Windows Server 2025 with GPO-managed firewallAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
[Feature request] Invoke-IcingaCheckUpdates: Add "Exclude" option(s) to ignore specific updatesForse già presa @fthomys l’ha presa 22 giorni fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
Icinga/icinga-powershell-plugins#489 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
Icinga/icinga-powershell-plugins#478 · 2 commenti ·