Link to home
Create AccountLog in
Avatar of Jay Thomas
Jay ThomasFlag for United Kingdom of Great Britain and Northern Ireland

asked on

vbscript to monitor disk space

Hello, hope someone can help with this. We've had to re-install our MOM 2005 server. I've done this and setup a monitor job. The job reads a vbscript, the script looked at the logical drives and if less than 5% we would get an alert. I know nothing about scripting, does anyone have a script which will do this for me, as I say, all i need to script to do is check the logical disk looking for less than 5% space.

Thank you
ASKER CERTIFIED SOLUTION
Avatar of Shanmuga Sundaram D
Shanmuga Sundaram D
Flag of India image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of Jay Thomas

ASKER

Thank you. The first link look slike the sort of thing, but as oi don't know the language would i need to edit it at all? i noted the path(s) reference which lok blank??

Thank you

Do you need a script that will work with MOM or just something that will log the disk space warning?

a script should be easy enough but if all you need is to monitor disk space and get an alert why not just use perfomance monitor?
Hi, we have MOM which will interrogate the event logs, I just need a script that will check the space, and log an event if the disk space is lower than 5%.
Thank you