Page 1 of 1

vmware wizard cannot get all storage

Posted: Thu Aug 30, 2018 11:26 am
by dimsum
Hi,

I have to monitor VMware host with a wizard but I cannot get all of datastore in the VM host. It's got some of datastore. what is happen? Is it a limitation?

Thank you.

Re: vmware wizard cannot get all storage

Posted: Thu Aug 30, 2018 2:52 pm
by lmiltchev
What is the error that you are seeing in the wizard? A screenshot would be helpful.

Can you run the commands below and show the output?

Code: Select all

/usr/local/nagios/libexec/check_esx3.pl -H <ip address> -u <username> -p <password> -l "VMFS"
/usr/local/nagios/libexec/check_esx3.pl -D <ip address> -u <username> -p <password> -l "VMFS"
Please obfuscate sensitive data.

Re: vmware wizard cannot get all storage

Posted: Fri Aug 31, 2018 5:23 am
by dimsum
HI,

It's return of the all datastores, I will edit the cmd later to get all datastore.

Thanks.

Re: vmware wizard cannot get all storage

Posted: Fri Aug 31, 2018 8:16 am
by lmiltchev
Sure. Let us know if you have any more questions.

Re: vmware wizard cannot get all storage

Posted: Fri Sep 07, 2018 4:04 am
by dimsum
What is difference of -D and -H that your mentioned. I use -D for another service e.g. mem, cpu it got the error.

Re: vmware wizard cannot get all storage

Posted: Fri Sep 07, 2018 9:18 am
by lmiltchev
You use "-H" to specify ESX or ESXi hostname, and "-D" to specify datacenter hostname.
-H, --host=<hostname>
ESX or ESXi hostname.

-D, --datacenter=<DCname>
Datacenter hostname.
To view the full help menu (usage) of the plugin, run the following command from the command line:

Code: Select all

/usr/local/nagios/libexec/check_esx3.pl -h
Whether or not to use "-H" or "-D" would depend on the type of check that you are running.