Hello,
We're attempting to setup service checks for our VMware environment.
We have a virtual environment with multiple datastores, but when we configure the service check for the datastores it is only returning results for one store.
The example outlined in this help article: https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Shows multiple datastores listed under the 'Datastore usage for VMHost' service check, but we're unable to get all of our datastores to show up.
Here's the command we're running:
/usr/local/nagios/libexec/check_vmware_api.pl -H "vcenter.state.nv.us" -f "/usr/local/nagiosxi/etc/components/vmware/vcenter_state_nv_us_auth.txt" -l "VMFS" -s "SOSPVH03" CHECK_VMWARE_API.PL WARNING - No volume named "SOSPVH03" found
The datastore 'SOSPVH03' does exist with that exact name. See attached screenshot.
Any idea why our check isn't finding the datastores we specify?
VMware datastore monitoring
VMware datastore monitoring
You do not have the required permissions to view the files attached to this post.
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: VMware datastore monitoring
Hello, @rferebee. The problem is likely with the permissions that have been applied in the vSphere Client. For some reason assigning
the permissions at the top level of “Inventory > Hosts and Clusters” is not enough. You need to also assign the permissions at the top level of “Inventory > Datastores and Datastore Clusters”.
the permissions at the top level of “Inventory > Hosts and Clusters” is not enough. You need to also assign the permissions at the top level of “Inventory > Datastores and Datastore Clusters”.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: VMware datastore monitoring
Ok, we can lock this. Our VMware Admin doesn't want us to monitor the data stores.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: VMware datastore monitoring
great!rferebee wrote:Ok, we can lock this. Our VMware Admin doesn't want us to monitor the data stores.
Locking