Skip to content

Commit 1447d26

Browse files
committed
feat(inputs.vsphere): Add cpu temperature field
1 parent 6c48fbb commit 1447d26

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

plugins/inputs/vsphere/finder.go

+4-3
Original file line numberDiff line numberDiff line change
@@ -260,9 +260,10 @@ func init() {
260260
"VirtualMachine": {"runtime.host", "config.guestId", "config.uuid", "runtime.powerState",
261261
"summary.customValue", "summary.config.memorySizeMB", "guest.guestId", "guest.net", "guest.hostName",
262262
"resourcePool", "customValue"},
263-
"Datastore": {"parent", "info", "customValue"},
264-
"ClusterComputeResource": {"parent", "customValue"},
265-
"Datacenter": {"parent", "customValue"},
263+
"Datastore": {"parent", "info", "customValue"},
264+
"ClusterComputeResource": {"parent", "customValue"},
265+
"Datacenter": {"parent", "customValue"},
266+
"HostNumericSensorHealthState": {"temperature"},
266267
}
267268

268269
containers = map[string]interface{}{

0 commit comments

Comments
 (0)