VMware datastore monitoring
Posted: Mon Jun 10, 2019 3:41 pm
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?
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?