VMware datastore monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rferebee
Posts: 733
Joined: Wed Jul 11, 2018 11:37 am

VMware datastore monitoring

Post by rferebee »

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?
You do not have the required permissions to view the files attached to this post.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: VMware datastore monitoring

Post by npolovenko »

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”.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
rferebee
Posts: 733
Joined: Wed Jul 11, 2018 11:37 am

Re: VMware datastore monitoring

Post by rferebee »

Ok, we can lock this. Our VMware Admin doesn't want us to monitor the data stores.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: VMware datastore monitoring

Post by scottwilkerson »

rferebee wrote:Ok, we can lock this. Our VMware Admin doesn't want us to monitor the data stores.
great!

Locking
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked