This guide provides instructions for resolving the issue of VM metrics are not being reported after upgrading to DSM version 2.1.1.
Navigate to Databases → Select any database → Monitoring → Metrics panel. The charts for CPU Usage, Memory Usage, and Data Disk Usage will be empty.
When you SSH to the "Provider VM" and look at the "apms.service.log" (/var/log/tdm/provider/apms.log
) you see messages like:
failed to find parent tuple for heap-only tuple at <ctid>
.
VCF and Data Services Manager 2.1.1
The Provider PostgreSQL database was corrupted.
To resolve this known issue proceed with the following steps:
psql -d vmware -U postgres -c "begin;delete from vmware.vm_timeseries where ctid = '<ctid>';end;"
psql -d vmware -U postgres -c "VACUUM FULL vmware.vm_timeseries"
psql -d vmware -U postgres -c "REINDEX TABLE vmware.vm_timeseries"
systemctl restart apms.service