Bu izleyici, belirtilen IPV4 kapsamı için boş adreslerin sayısı tanımlanan eşiğin altına düştüğünde uyarı verir
Microsoft Windows Server DHCP 2016 ve 1709+ IPV4 Tek Kapsam İzleme, belirtilen kapsamda boş adres sayısını içeren bir özellik paketi döndürür.
Bu parametreler, gerektiğinde geçersiz kılınabilir:
Örnek Sayısı: İzleyicinin yeni durumunu hesaplamak için kaç kez bekleneceği.
Uyarı Eşiği: Sağlıklı Durum olarak kabul edilen en düşük adres sayısı.
Hata Eşiği: Uyarı Durumu olarak kabul edilen en düşük adres sayısı.
Aralık (Saniye): Her bir yürütme için Saniye Sayısı
Eşitleme Zamanı: Yürütmeyi başlatmak istediğiniz andan itibaren "ss:dd" formatında gösterilen süre.
Zaman Aşımı (Saniye): Yürütme işlemi "zaman aşımı nedeniyle" iptal edilene kadar beklenen saniye miktarı.
İlk Satır: Disk belleği için kullanılan İlk Satır. Varsayılan değer 0'dır ve tüm kayıtları döndürür.
Son Satır: Disk belleği için kullanılan Son Satır. Varsayılan değer 0'dır ve tüm kayıtları döndürür.
Desteklenen en fazla disk belleği miktarı 2.000 kapsamdır
Kullanılabilir kapsam adreslerini denetleyin.
DHCP sunucusu 2016 ve 1709+, istemciIerine sağlayacak kullanılabilir IP adresine sahip değilse istemciler atanan yeni IP adresi alamayabilir. Bu sorun oluştuğunda aşağıdaki olası çözümleri uygulamayı göz önünde bulundurun:
Geçerli kapsamın adres aralığını genişletmek için kapsam genişletmeyi kullanın.
Kiralama süresini azaltın ve temizleme aralığını düşürün. Bu işlem, süresi dolan IP adreslerinin daha kısa süre içinde geri kazanılmasına yardımcı olur.
DHCP kapsamını genişletin
Zaten bir DHCP kapsamınız varsa ve Başlangıç Adresi ve Bitiş Adresi belirli alt ağınız için tüm adresleri kapsamıyorsa kapsam özelliklerinde Başlangıç Adresi veya Bitiş Adresini genişleterek kapsamdaki adres sayısını artırabilirsiniz.
İstemciler tarafından kullanılabilen adres sayısını artırmak için:
DHCP sunucusunda, Başlat'a tıklayın, imleci Yönetim Araçları'na getirin ve DHCP'ye tıklayın.
Konsol ağacında genişletmek istediğiniz kapsama sağ tıklayın ve Özellikler'e tıklayın.
Kapsamı genişletmek için Başlangıç IP Adresini ve Bitiş IP Adresini değiştirin.
Kiralama süresini azaltın
Bu yordamları gerçekleştirmek için Administrators grubunun üyesi olmanız veya ilgili temsil yetkisinin size verilmiş olması gerekir.
Kiralama süresini kısaltmak için:
DHCP sunucusunda, Başlat'a tıklayın, imleci Yönetim Araçları'na getirin ve DHCP'ye tıklayın.
DHCP konsol ağacında, yapılandırmak istediğiniz kapsama sağ tıklayın ve Özellikler'e tıklayın.
Genel sekmesinde, DHCP istemcileri için kiralama süresi altında, yeni kiralama süresini girin.
Temizleme aralığını düşürün
Bu yordamları gerçekleştirmek için Administrators grubunun üyesi olmanız veya ilgili temsil yetkisinin size verilmiş olması gerekir.
Temizleme aralığı süresini ayarlamak amacıyla Netsh komutunu kullanmak için:
DHCP sunucusunda Başlat'a tıklayın, Çalıştır'a tıklayın, cmd yazın ve ENTER tuşuna basın.
Şunu yazın: netsh dhcp set databasecleanupinterval "NewInterval" (burada "NewInterval", DHCP veritabanı temizlemeleri arasında geçen dakika cinsinden süredir).
Örnek
Aşağıdaki örnekte verilen komut, veritabanı temizleme aralığını 10.080 dakika (yedi günde bir) olarak ayarlar.
netsh dhcp set databasecleanupinterval 10080
Target | Microsoft.Windows.DHCPServer.10.0.IPv4Scope | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | StateCollection | ||
Enabled | False | ||
Alert Generate | True | ||
Alert Severity | MatchMonitorHealth | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.DHCPServer.10.0.IndScopeStats.MonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | System.PrivilegedMonitoringAccount |
<UnitMonitor ID="Microsoft.Windows.DHCPServer.10.0.IndScope.IPV4.FreeScopeAddresses.Quantity.Monitor" Accessibility="Public" Enabled="false" Target="Microsoft.Windows.DHCPServer.10.0.IPv4Scope" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.DHCPServer.10.0.IndScopeStats.MonitorType" ConfirmDelivery="false" RunAs="System!System.PrivilegedMonitoringAccount">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.DHCPServer.10.0.Scope.IPV4.FreeScopeAddresses.Quantity.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="ScopeAddressesAvailable" MonitorTypeStateID="Success" HealthState="Success"/>
<OperationalState ID="ScopeAddressesLow" MonitorTypeStateID="Warning" HealthState="Warning"/>
<OperationalState ID="ScopeAddressesVeryLow" MonitorTypeStateID="Error" HealthState="Error"/>
</OperationalStates>
<Configuration>
<Scope>$Target/Property[Type="DHCP!Microsoft.Windows.DHCPServer.Library.Scope"]/IPAddress$</Scope>
<CounterName>IPV4Scope-AddressesAvailable</CounterName>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<NumSamples>3</NumSamples>
<WarningThreshold>50</WarningThreshold>
<ErrorThreshold>10</ErrorThreshold>
<IntervalSeconds>900</IntervalSeconds>
<SyncTime/>
<TimeoutSeconds>300</TimeoutSeconds>
<InitialRow>0</InitialRow>
<FinalRow>0</FinalRow>
</Configuration>
</UnitMonitor>