Hello,
i'm trying to do a check equivalent to this :sum ["vfs.fs.size[/,free]", "fs.fs.size[/var,free]"]
I'm currently working with a VmWare platform havinf a little less than 200 computers and we're running out of SAN space.
The idea is to get the total free space by vmdk (a vmdk containing one or more partition) so that we can then yell on the managers for oversizing their virtual machine and try to retrieve the unused disk space.
VM 1:
VMDK1 :
/ : total 10gb, free 2gb
/var : total 20 gb, free 18gb
VMDK 2:
/opt : total 20gb, free 1gb.
The idea in this case is to have two checks for this virtual machine :
One with free space on vmdk 1 being the sum of free space of the / and the /var partition (here being 20gb free).
The second one being free space on vmdk 2, which is also the sum of partition but here no issue since there's only one.
I hope you get the idea, thanks a lot in advance for any input concerning this.
Best regards,
Emilien
i'm trying to do a check equivalent to this :sum ["vfs.fs.size[/,free]", "fs.fs.size[/var,free]"]
I'm currently working with a VmWare platform havinf a little less than 200 computers and we're running out of SAN space.
The idea is to get the total free space by vmdk (a vmdk containing one or more partition) so that we can then yell on the managers for oversizing their virtual machine and try to retrieve the unused disk space.
VM 1:
VMDK1 :
/ : total 10gb, free 2gb
/var : total 20 gb, free 18gb
VMDK 2:
/opt : total 20gb, free 1gb.
The idea in this case is to have two checks for this virtual machine :
One with free space on vmdk 1 being the sum of free space of the / and the /var partition (here being 20gb free).
The second one being free space on vmdk 2, which is also the sum of partition but here no issue since there's only one.
I hope you get the idea, thanks a lot in advance for any input concerning this.
Best regards,
Emilien
Comment