@@ -1722,8 +1722,8 @@ def _vmware_get_hosts(self, host_metrics):
1722
1722
1723
1723
# Numeric Sensor Info
1724
1724
sensors = host .get ('runtime.healthSystemRuntime.systemHealthInfo.numericSensorInfo' , '' ).split (',' ) + \
1725
- host .get ('runtime.healthSystemRuntime.hardwareStatusInfo.cpuStatusInfo' , '' ).split (',' ) + \
1726
- host .get ('runtime.healthSystemRuntime.hardwareStatusInfo.memoryStatusInfo' , '' ).split (',' )
1725
+ host .get ('runtime.healthSystemRuntime.hardwareStatusInfo.cpuStatusInfo' , '' ).split (',' ) + \
1726
+ host .get ('runtime.healthSystemRuntime.hardwareStatusInfo.memoryStatusInfo' , '' ).split (',' )
1727
1727
1728
1728
sensors = [s for s in sensors if ':' in s ]
1729
1729
@@ -1909,10 +1909,11 @@ def _vmware_get_volumes(self, vol_metrics):
1909
1909
snapshot .id .id ,
1910
1910
], int (snapshot .createTime .timestamp ()))
1911
1911
except vim .fault .NotFound :
1912
- logging .error ("Snapshot info for volume %s not found" ,volume_ref .id )
1912
+ logging .error ("Snapshot info for volume %s not found" , volume_ref .id )
1913
1913
except Exception as error :
1914
1914
logging .error ("Error fetching snapshot information for volume: %s" , volume_ref .id , error )
1915
1915
1916
+
1916
1917
class ListCollector (object ):
1917
1918
1918
1919
def __init__ (self , metrics ):
0 commit comments