Home Directory Plugins Operating Systems Windows Powershell Disk Check & Automated Cleanup script

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

Powershell Disk Check & Automated Cleanup script

Rating
0 votes
Favoured:
1
Current Version
0.1
Last Release Date
2013-08-06
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios XI
  • Nagios Fusion
Hits
42138
Files:
FileDescription
diskcheck.ps1diskcheck.ps1
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!
You'll need a proxy host to run your Powershell commands (or they can be run directly from the server(s)). More info here: http://www.nsclient.org/nscp/discussion/topic/637

This script will detect and monitor any fixed disks, the three variables you need to pass to it are hostname, warn & crit thresholds (in free %s). It won't alert unless those thresholds are met AND the total free space is less than 10GB for warning, 5GB for critical.

When a warning condition occurs, it will automatically remove anything older than 7 days it finds in:
All user profiles temp and temporary internet files
C:windowstemp
C:temp
C:inetpublogslogfiles (IIS)
c:$recycle.bin