I need to check the disk space in a number of remote systems (Windows 2000) and have to sent a mail if the space is below a particular level. How can this be automated? What script can be used?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
One option would be a system monitoring tool, such as Nagios.
Basically, what this will do is continually interrogate your systems, and alert you to anything you set it to (disk-space, CPU usage, page-faults, etc.). As a bonus you get a lovely web-based interface which lets you see your system status at a glance.
Note that you will need to enable remote WMI querying on each target system, or install an “agent” on each system.