[hobbit] vmware esx vdf

Dominique Frise Dominique.Frise at unil.ch
Tue Jun 17 12:26:29 CEST 2008


The output format is split in two lines if you use /usr/sbin/vdf.
Try "/usr/sbin/vdf -P"


Dominique

Gatis A. wrote:
> Hi,
> 
> Does anyone can help me to find out why hobbit server is not reacting on 
> disk thresholds:
> 
> clients side hobbitclient-linux.sh "df" is substituted with esx "vdf" to 
> show vmfs volumes:
> 
> $ sudo /usr/sbin/vdf | grep -vE "none|\/vmfs\/devices" | sed -e 
> '/^[^     ][^     ]*$/{
> N
> s/[     ]*\n[   ]*/ /
> }'
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/sda2              5036316   1400552   3379932  30% /
> /dev/sda1               101089     26731     69139  28% /boot
> /dev/sda6              2008108     92920   1813180   5% /var/log
> /vmfs/volumes/45d5a1ab-a762f091-bf2e-00145ebdbc9a 104595456  94534656  
> 10060800  90% /vmfs/volumes/esx-lun1
> /vmfs/volumes/45e3e8c9-816dfb02-6c98-00145ebdbc9a 104595456  84154368  
> 20441088  80% /vmfs/volumes/esx-lun2
> 
> disk status page should be yellow, but it's not, it's still green 
> (threshold is set to 85%)
> 
> this is the original "df" from hobbitclient-linux.sh
> df -Pl -x none -x tmpfs -x shmfs -x unknown -x iso9660 | sed -e '/^[^   
> ][^     ]*$/{
>  > N
>  > s/[     ]*\n[   ]*/ /
>  > }'
> Filesystem         1024-blocks      Used Available Capacity Mounted on
> /dev/sda2              5036316   1400552   3379932      30% /
> /dev/sda1               101089     26731     69139      28% /boot
> /dev/sda6              2008108     92916   1813184       5% /var/log
> 
> both outputs looks similar



More information about the Xymon mailing list