Jan 5, 2012 12:03 PM
MONITOR FILES IN A FOLDER ON WINDOWS SERVER
-
Like (0)
Is it possible to monitor some files in a directory on Windows server 2003/2208?
- Number of each filetype (zip, etc..)
- Number of files
- Size of each files
Please give a recommendation to me.
Thank you in advance
You could probably write a powershell program to do what you want when your error conditions are met, insert a event into the local windows event log and use zenoss to alert when that event appears.
( or perl , I would use perl but windows fellas would probably use powershell )
If you don't want a local script on the server(s) in question and/or rely on event log monitoring you could leverage WMI. Looks like there is an older ZenPack that used to do this. It may or may not work in 3.x, but the WMI query it leverages probably still applies.
With a little digging you can probably extract the WMI query and roll your own template
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||