I believe I've found an error that I'd like to call to your attention.
I have two datastores in a very small vcenter setup with three physical hosts. Here's the version of box293_check_vmware.pl that I have:
Code: Select all
vi-admin@vma:~> ./box293_check_vmware.pl --version
box293_check_vmware Version: 2015-08-03
Code: Select all
vi-admin@vma:~> ./box293_check_vmware.pl --check Datastore_Usage --server vcenter.my.hidden.tld --name vm-nfs-win
OK: Datastore 'vm-nfs-win' {Free Space: 29,146.9 GB} {Used Space: 507.1 GB} {Capacity: 29,654 GB}|'Free Space'=29146.9GB 'Used Space'=507.1GB 'Capacity'=29654GB [Datastore_Usage]
vi-admin@vma:~> ./box293_check_vmware.pl --check Datastore_Usage --server vcenter.my.hidden.tld --name vm-nfs-lin
OK: Datastore 'vm-nfs-lin' {Free Space: 21,339.9 GB} {Used Space: 8,314.1 GB} {Capacity: 29,654 GB}|'Free Space'=21339.9GB 'Used Space'=8314.1GB 'Capacity'=29654GB [Datastore_Usage]
Code: Select all
vi-admin@vma:~> ./box293_check_vmware.pl --check Datastore_Performance_Overall --server vcenter.my.hidden.tld --name vm-nfs-win
Undefined subroutine &HostNasVolume::extent called at ./box293_check_vmware.pl line 2666
vi-admin@vma:~> ./box293_check_vmware.pl --check Datastore_Performance_Overall --server vcenter.my.hidden.tld --name vm-nfs-lin
Undefined subroutine &HostNasVolume::extent called at ./box293_check_vmware.pl line 2666
Thanks!