I like to know the script which sends email when the server disk space crosses its threshold or critical limit set by me in Windows 2003. Please help.
thanks in advance, Srinivas.
I have limited experience with Windows, but we monitor all our Windows and Linux servers via SNMP.
On all Windows servers we installed the free SNMP Informant software. SNMP Informant monitors the various server metrics, and makes them available via the SNMP protocol. On the Linux servers we installed Net-SNMP, which does the same.
Then, on a single server we installed Zenoss Core, a free monitoring system that polls each server, saves and graphs the data and sends alerts if it crosses thresholds.
It's a bit much if you're monitoring a single server, but highly recommended if you want to monitor several servers.
A real simple approach is to set up some alerts in perfmon - you could have the alert fire a script that e-mails you - it could fire something like sendmail to actually do the e-mail passing in arguments from the perfmon alert.