NSClient++ Help (#1) - CheckDiskSize? to check multiple directories (#131) - Message List
Is it at all possible to use CheckDiskSize? (or any other module/command) to check the size of a number of directories?
For example, if all our user's profiles are stored D:\Profiles\, is it possible to scan each directory in there to see if any are over 500MB, 1GB, 2GB, etc and have that directory name returned?
This is in the one command, and not having a check for each and every user...
Off the top of my head I would say yes: use multiple "specifications" (file:foo=c:\bar) or some such, but I would have to investigate this further.
Most modules use that syntax ie. stackable "results"...
MickeMmickem04/16/08 09:01:35 (5 years ago)
Thanks MickeM, I'll investigate to see if the base functionality to do this is what I want, but if there are 100 profile directories in D:\Profiles, I don't want to have to specify each one manually in the command (and don't want to have to update it each time someone comes or goes).anonymous04/17/08 07:13:43 (5 years ago)
Any suggestion or examples for checking 100+ directories (which may contain more directories themselves)?anonymous04/22/08 03:23:56 (5 years ago)
I ended up building and implementing a VBScript which does this. It's a bit slow but the result works well by reporting which directories are over a specified size.anonymous05/13/08 08:40:37 (5 years ago)