HM as quota monitor

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
Kris
Posts: 375
Joined: Wed May 12, 2010 3:22 am

HM as quota monitor

Post by Kris »

Hi all,

HM does a great job at monitoring folder size.

I am thinking about using HM as a 'quota monitor' for user home folders in some way.
All my user folders reside on a single logical disk.
It would be great to be able to automagically enumerate all user folders and create folder-size tests for the found folders (if they don't already exist, that is).
Some external scripting might be involved, I reckon.

Any thoughts on that, anyone?

Best regards,
Kris
Kris
Posts: 375
Joined: Wed May 12, 2010 3:22 am

Post by Kris »

Update:

So I whipped up some VB to enumerate all user folders and create a text file containing all necessary data to be imported straight into HM.

Next step:
Find a way to schedule automagic test import in HM... :roll:
KS-Soft
Posts: 12846
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

What about WMI test?
select DiskSpaceUsed from Win32_DiskQuota
Alert if any DiskSpaceUsed > 1000000

Regards
Alex
KS-Soft
Posts: 12846
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Find a way to schedule automagic test import in HM..
There is ImportFromFile HMScript command
https://www.ks-soft.net/hostmon.eng/mfr ... #actScript

HMScript action can be started by Scheduler (Options dialog) or assigned to some test (e.g. File/Folder Availability or File Integrity test that will check for file updates)

Regards
Alex
Post Reply