I get my first server, a CISCO UCS C240 M3L, on which i installed a free license of **VSphere 7**.
I’m trying to use **pyvmomi** (Python API wrapper) to get the **sensor information** of my host
like on the admin panel (temperature of the MB, CPU).
![img](v3lhudfw1cy41 “admin panel system sensor temperature
I find different examples on internet but they didn’t work. I’m not able to test a Vsphere 6.7, so i would like to check if someone here has already get this problem before.
i can get the information from MOB with the path
***content -> rootFolder -> childEntity -> hostFolder -> childEntity -> host -> runtime -> healthSystemRuntime -> systemHealthInfo -> numericSensorInfo*** ([https://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.wssdk.pg.doc_50%2FPG_ChB_Using_MOB.20.2.html](https://l.facebook.com/l.php?u=https%3A%2F%2Fpubs.vmware.com%2Fvsphere-50%2Findex.jsp%3Ftopic%3D%252Fcom.vmware.wssdk.pg.doc_50%252FPG_ChB_Using_MOB.20.2.html%26fbclid%3DIwAR3slxcje7SnprRqM8JyeQsvjnuCirsBju0YCPk6UnKnikeD5-JRDgAhypw&h=AT2ClxDWSkR73s_ylO-ZBKUqshwRhbD7D8VOEYJf-dGSpD-MYJHi3oS6kw9UA9mZfFHrnjYWlvYA1tZLREnjx1qwXN-Cq3DwhE4-YAgxxwHECH2qalu_WTHHMUdWemfsIKTdA9qX5UDXibOzqXwNuF8Q)), but not retrieve them from the API.
if you have any idea on how to retrieve them, with Python or other language, i’ll be happy !
Thank you very much !
View Reddit by 0wlywood – View Source