New Dhcp Scopes check.
@LordHepipud がすでに取り組んでいます。
2022年1月22日 から。
評価
この issue はまだ評価されていません。
説明
Would it be possible to add an official dhcp check to verify the occupation of dhcp leases on specific windows dhcp servers. It would be great if we could have something simple like this:
$scope = Get-DhcpServerV4Scope
$statistics = $scope | % {Get-DhcpServerv4ScopeStatistics -ScopeId $.ScopeID}
[Array]$allert = @()
$allert = $statistics |? {$.PercentageInUse -ge 98}
if ($allert.count -ge 1) {
$message = $allert | out-String
Write-EventLog -LogName Application -EntryType Error -EventId 4444 -Source monitoringDhcp -Message $message
}
else {
Write-EventLog -LogName Application -EventId 5555 -Source monitoringDhcp -Message "No scopes are full..."
}
An event log is not necessary obviously but something that simply checks each scope is required.
Thanks.
- 主要言語
- PowerShell
- スター
- 55
- フォーク
- 31
- 平均マージ
- 4日 5時間
- マージ済み PR(30日)
- 6
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Icinga/icinga-powershell-plugins のほかの issue
-
Invoke-IcingaCheckFirewall reports NotConfigured on Windows Server 2025 with GPO-managed firewallオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
[Feature request] Invoke-IcingaCheckUpdates: Add "Exclude" option(s) to ignore specific updates対応中かも @fthomys が 28 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
Icinga/icinga-powershell-plugins#489 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
Icinga/icinga-powershell-plugins#478 · コメント 2 件 ·