vmware wizard cannot get all storage

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dimsum
Posts: 153
Joined: Thu Aug 15, 2013 6:05 pm

vmware wizard cannot get all storage

Post 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.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: vmware wizard cannot get all storage

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
dimsum
Posts: 153
Joined: Thu Aug 15, 2013 6:05 pm

Re: vmware wizard cannot get all storage

Post by dimsum »

HI,

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

Thanks.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: vmware wizard cannot get all storage

Post by lmiltchev »

Sure. Let us know if you have any more questions.
Be sure to check out our Knowledgebase for helpful articles and solutions!
dimsum
Posts: 153
Joined: Thu Aug 15, 2013 6:05 pm

Re: vmware wizard cannot get all storage

Post 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.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: vmware wizard cannot get all storage

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked