It's not to the VMWare checker, but to the *nix diskspace checker :-) 

And looking at the sources of that checker, it was already added … kind 
of weird as I don't remember ever testing it :-) 

So the best step would be that you try it and if it's not working correctly for 
you, then we can try to adapt.  BUT in order to be able to adapt it we will 
need SSH access to an ESX system. 

 

 

Dirk Bulinckx. 

From: Servers Alive Discussion List [mailto:sal...@woodstone.nu] On Behalf Of 
Vogl, Tom
Sent: Tuesday, February 24, 2009 11:01 PM
To: Servers Alive Discussion List
Subject: [SA-list] Disk Space check for VMWare ESX Servers 

 

Dirk, 


 


According to the archives, you were willing to add Disk Space checks into the 
VMWare com tool.  Were you ever able to do that?  If not, are you still 
interested?  


 


We would really like to find a way to use SA to alarm on the space used by ESX 
host servers.  It's not the free disk space that is seen by the guest operating 
systems, its the total free space of the storage volume in which the guest 
"virtual drive files" exist.  It can only be checked through VMKFStools as 
follows: /usr/sbin/vmkfstools -P /vmfs/volumes/put-volume-name-here 


 


This will return (among other things) the capacity and free space as a count of 
bytes. 


 


 


Example: 


 


Command entered:   


vmkfstools -P "/vmfs/volumes/Volume 2" 


 


 


Output Generated:
VMFS-3.21 file system spanning 1 partitions.
File system label (if any): Volume 2
Mode: public
Capacity 321854111744 (306944 file blocks * 1048576), 74065117184 (70634 
blocks) avail
UUID: 478267d7-fdc18b54-7f26-001c23c45727
Partitions spanned (on "lvm"):
        vmhba1:1:2:1 

 

 


 


I really need to see the number 74065117184, ideally convertible to K, Meg or 
Gig. 


 


Any way to do this easily via SA? 


 


-Tom 


 


 


 


 


 


 


 


 


 



To unsubscribe send a message with UNSUBSCRIBE in the subject line to 
salive@woodstone.nu
If you use auto-responders (like out-of-the-office messages), make sure that 
they are not sent to the list nor to individual members. Doing so will cause 
you to be automatically removed from the list. 

To unsubscribe send a message with UNSUBSCRIBE in the subject line to 
salive@woodstone.nu
If you use auto-responders (like out-of-the-office messages), make sure that 
they are not sent to the list nor to individual members. Doing so will cause 
you to be automatically removed from the list. 

Reply via email to