KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

HM as quota monitor

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
Kris



Joined: 12 May 2010
Posts: 375

PostPosted: Mon Mar 21, 2022 7:47 am    Post subject: HM as quota monitor Reply with quote

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
Back to top
View user's profile Send private message
Kris



Joined: 12 May 2010
Posts: 375

PostPosted: Mon Mar 21, 2022 9:17 am    Post subject: Reply with quote

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...
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12790
Location: USA

PostPosted: Mon Mar 21, 2022 2:46 pm    Post subject: Reply with quote

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

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
KS-Soft



Joined: 03 Apr 2002
Posts: 12790
Location: USA

PostPosted: Mon Mar 21, 2022 2:51 pm    Post subject: Reply with quote

Quote:
Find a way to schedule automagic test import in HM..

There is ImportFromFile HMScript command
https://www.ks-soft.net/hostmon.eng/mframe.htm#actions.htm#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
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index