Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1


Remember Me

Directory Tree


0 votes
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
This is a PowerShell script for monitoring DHCP scopes on a Windows Server. The script defines several parameters, including thresholds for warning and critical alerts, as well as minimum and maximum values for the total number of IPs in a scope. The script retrieves a list of active DHCP scopes and checks their usage. If a scope's usage is above the defined warning or critical thresholds, or if the number of available IPs falls below a certain level, the script will generate a message indicating the issue and increment a count for the appropriate status (warning, critical, or OK). The script will also display a summary of the status counts at the end.