New Dhcp Scopes check.
@LordHepipud đang làm issue này rồi.
Từ ngày 22/1/2022.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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.
- Ngôn ngữ chính
- PowerShell
- Star
- 55
- Fork
- 31
- Merge trung bình
- 4 ngày 5 giờ
- Pull request đã merge (30 ngày)
- 6
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Icinga/icinga-powershell-plugins
-
Invoke-IcingaCheckFirewall reports NotConfigured on Windows Server 2025 with GPO-managed firewallĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
[Feature request] Invoke-IcingaCheckUpdates: Add "Exclude" option(s) to ignore specific updatesCó thể đã có người làm @fthomys đã nhận 26 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Icinga/icinga-powershell-plugins#489 · 1 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Icinga/icinga-powershell-plugins#478 · 2 bình luận ·