Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Plugins returning output type [INFO] without using ShowFileList

オープン
#487 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

@LordHepipud がすでに取り組んでいます。

2026年9月19日 から。

評価

この issue はまだ評価されていません。

説明

enhancement

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

主要言語
PowerShell
スター
55
フォーク
31
平均マージ
4日 5時間
マージ済み PR(30日)
6

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Icinga/icinga-powershell-plugins のほかの issue

Icinga/icinga-powershell-plugins の issue をすべて見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。