VMware Cloud Community
svhost
Enthusiast
Enthusiast

Gust file system shell script

Hi,

Is there any shell script to monitor guest file system C: drive and if it riches to for example 80% send us an alert by mail?

Thanks

0 Kudos
3 Replies
Borja_Mari
Virtuoso
Virtuoso

Hello,

it can be done using powercli:

http://www.virtu-al.net/2010/01/27/powercli-virtual-machine-disk-usage/#commentlist-container

It can be configured to be run periodically in windows scheduled tasks of some server.

Best regards,

Pablo

------------------------------------------------------------------------------------------------- PLEASE CONSIDER AWARDING any HELPFUL or CORRECT reply. Thanks!! Por favor CONSIDERA PREMIAR cualquier respuesta ÚTIL o CORRECTA . ¡¡Muchas gracias!! VCP3, VCP4, VCP5-DCV (VCP550), vExpert 2010, 2014 BLOG: http://communities.vmware.com/blogs/VirtuallyAnITNoob
0 Kudos
kunaludapi
Expert
Expert

Check out this one, I created this blog after reading your question.

vGeek: Collect disk space detail and send it in email Powercli

--------------------------------------------------------------- Kunal Udapi Sr. System Architect (Virtualization, Networking And Storage) http://vcloud-lab.com http://kunaludapi.blogspot.com VMWare vExpert 2014, 2015, 2016 If you found this or other information useful, please consider awarding points for "Correct" or "Helpful".
0 Kudos
macvirtual
Enthusiast
Enthusiast

Hi svhost,

There are many why to make it. The advice above like kunaludapi mentions requires your VM is running vmware-tool. Please make sure it.

Best,

MAC

0 Kudos