[ZBX-26514] vmware.vm.snapshot.get - 1st snapshot size is vm size, not snapshot size Created: 2025 Jun 02 Updated: 2025 Jun 04 Resolved: 2025 Jun 04 |
|
| Status: | Closed |
| Project: | ZABBIX BUGS AND ISSUES |
| Component/s: | Templates (T) |
| Affects Version/s: | 7.0.12 |
| Fix Version/s: | None |
| Type: | Problem report | Priority: | Trivial |
| Reporter: | Rob Quinn | Assignee: | Michael Veksler |
| Resolution: | Won't fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | 5h | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Zabbix 7.0.12, Ubuntu 24.04, VMware EXSi 7.0.3 |
||
| Attachments: |
|
| Description |
|
Steps to reproduce:
Result: From Zabbix snapshot Item: First snapshot is ~20G Second snapshot is ~865M Third snapshot is ~540M From ESXi:
Second snapshot:
Third snapshot:
vmdk of the server showing that it is 20G:
: Expected: |
| Comments |
| Comment by Michael Veksler [ 2025 Jun 04 ] |
|
It is not correct to do such type of direct comparison. (mapping of vmdk file name to snapshots) For example:
{
"snapshot": [
{
"name": "(first )VM Snapshot 6%2f3%2f2025, 5:10:25 PM",
"description": "ZBX-26514",
"createtime": "2025-06-03T14:11:01.245594Z",
"size": 14222246248,
"uniquesize": 14222246248
},
{
"name": "(second) VM Snapshot 6%2f3%2f2025, 6:17:01 PM",
"description": "+0.5GB",
"createtime": "2025-06-03T15:17:27.75019Z",
"size": 7114693519,
"uniquesize": 7114693519
},
{
"name": "(thriday)VM Snapshot 6%2f3%2f2025, 6:19:36 PM",
"description": "+1Gb",
"createtime": "2025-06-03T15:20:33.623588Z",
"size": 3893461520,
"uniquesize": 3893461520
},
{
"name": "(fourth) VM Snapshot 6%2f3%2f2025, 6:23:15 PM",
"description": "+1.5Gb",
"createtime": "2025-06-03T15:23:43.893633Z",
"size": 5067873174,
"uniquesize": 5067873174
}
],
"count": 4,
"latestdate": "2025-06-03T15:23:43.893633Z",
"latestage": 61365,
"oldestdate": "2025-06-03T14:11:01.245594Z",
"oldestage": 65727,
"size": 30298274461,
"uniquesize": 30298274461
}
where I have the following vmdks: which is mapping to following snapshots: and we see that json is fully consistent with vc snapshots representation |
| Comment by Michael Veksler [ 2025 Jun 04 ] |
|
The latest vmdk has become the current storage and will grow |
| Comment by Michael Veksler [ 2025 Jun 04 ] |
|
Closing this for now, if you have any more questions, feel free to reopen this ticket! |