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
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Check_DHCP_Scope

Rating
0 votes
Favoured:
0
Current Version
1.0
Last Release Date
2022-12-14
Hits
1509
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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.