LabTech Support Forums

Disk Cleanup Monitor

This forum is for the discussion of all things related to the Computer Management Screen.

Moderator: jware.connectwise

Disk Cleanup Monitor

Postby micah.excpc » Wed Jul 03, 2013 12:02 pm

How do I adjust the Disk Cleanup monitor to run disk cleanup auto after X amount and spit out a ticket after X amount? Sorry, I'm new to the forums just need a little direction. Do I need to adjust the monitor or build a custom script or adjust a script?

Thank you in advance
micah.excpc
Newbie
Newbie
 
Posts: 4
Joined: Wed Jul 03, 2013 11:59 am

Re: Disk Cleanup Monitor

Postby teamits » Mon Jul 08, 2013 12:58 pm

Our system has a Drive- Free Space monitor we copied and modified (I would suggest always doing that so upgrading doesn't overwrite your changes). I forget the defaults for this monitor but we currently have it set for:

Check Condition/Result:
(Drives.Size*.10)

Additional Condition:
Drives.Size > 4096 and Drives.FileSystem not in ('CDFS','UNKFS','DVDFS','FAT','FAT32','NetFS') and Drives.free < 2048
and missing !=1 and smartstatus NOT LIKE 'USB:%' and Drives.Model NOT LIKE '%IEEE%'
#exclude specific laptop's drive D, user stored files on recovery partition
and (Drives.DriveID<>2104)

The "#" is a comment embedded in the SQL. This monitor runs the Monitor Disk Cleanup script for drive cleanup, which you can also copy and modify as desired.
Steve
teamits
Hero Member
Hero Member
 
Posts: 1577
Joined: Wed Dec 31, 1969 8:00 pm


Return to Computer Management

Who is online

Users browsing this forum: No registered users and 2 guests