[ZBXNEXT-2010] Support Storage Capacity Counters in VMware Simple Checks Created: 2013 Nov 11 Updated: 2016 Nov 10 Resolved: 2016 Nov 09 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Proxy (P), Server (S) |
Affects Version/s: | 2.2.0 |
Fix Version/s: | 3.0.6, 3.2.2, 3.4.0alpha1 |
Type: | Change Request | Priority: | Major |
Reporter: | Henrik Johansen | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 29 |
Labels: | newitemkey, vmware | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
The current implementation of VMware monitoring lacks the ability to monitor used, capacity and provisioned space on datastores. Keeping an eye on storage usage is a rather critical feature to have. |
Comments |
Comment by richlv [ 2014 Mar 16 ] |
do storage item keys (see https://www.zabbix.com/documentation/2.2/manual/config/items/itemtypes/simple_checks/vmware_keys) provide some of the desired functionality ? on the second thought, that's per vm and total was probably requested |
Comment by Justin Gerry [ 2015 Jun 11 ] |
Has there been any changes on this? It surprises me that something as basic as "how much space remains on my datastore" does not appear to be implemented. |
Comment by Andris Zeila [ 2015 Aug 05 ] |
I did few quick tests and it does not look good. It might be the test vSphere setup, but it reported no real-time statistics for datastore objects. This means we can't just simply drop in datastore performance entity support. One way to get latest data would be specifying start time, but as maxSample appears to be ignored in this case, we would still need to know the data gathering interval. |
Comment by Dmitry Safronov [ 2016 Feb 02 ] |
I tired of trying to use perfcounters and other things. |
Comment by cru5ader [ 2016 Feb 02 ] |
Maybe this help https://www.zabbix.com/forum/showthread.php?t=52084 |
Comment by Dmitry Safronov [ 2016 Mar 15 ] |
is it any solution in zabbix 3.0? |
Comment by Andris Zeila [ 2016 Oct 06 ] |
While using performance counters would not be simple, we could get the capacity, free space and uncommited space from datastore configuration summary. |
Comment by Andris Zeila [ 2016 Oct 11 ] |
So the plan is to add a key to monitor datastore capacity statistics - vmware.hv.datastore.size[<url>,<uuid>,<datastore>,<mode>] where:
However storage capacity counters will not be used. This data will be taken from datastore summary property. |
Comment by Andris Zeila [ 2016 Oct 11 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBXNEXT-2010 |
Comment by dimir [ 2016 Nov 04 ] |
(1) [SP] A small improvement would be to check for zero capacity in
[...]
SET_DBL_RESULT(result, (double)datastore->free_space / datastore->capacity * 100);
[...]
wiper RESOLVED in r63554 <dimir> CLOSED |
Comment by dimir [ 2016 Nov 04 ] |
Just a note that it looks like while developing this functionality wiper has fixed potential Zabbix server/proxy crash that could happen during datastore summary request if there was a problem with connection to the web server (libcurl error). Before this fix function vmware_service_create_datastore() would still allocate and return datastore object (with NULL name and uuid) in case of libcurl error. |
Comment by Andris Zeila [ 2016 Nov 08 ] |
Released in:
|
Comment by Andris Zeila [ 2016 Nov 08 ] |
Documented in:
Official templates updated at https://www.zabbix.org/wiki/Zabbix_Templates/Official_Templates sasha "Template changes" section must be moved from What's new to Template changes page REOPENED
wiper RESOLVED sasha Thanks a lot! CLOSED |