# Temp: 100C forever

**URL:** https://discourse.pi-hole.net/t/temp-100c-forever/2183
**Category:** Help
**Created:** [March 13, 2017, 8:51pm UTC](https://discourse.pi-hole.net/t/temp-100c-forever/2183 "2017-03-13T20:51:26Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![dynaguy](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/d/ac91a4/32.png) [@dynaguy](https://discourse.pi-hole.net/u/dynaguy)
#### Post date: [March 13, 2017, 8:51pm UTC](https://discourse.pi-hole.net/t/temp-100c-forever/2183/1 "2017-03-13T20:51:27Z")

</div>

I setup a pi-hole on my ESXi. I created a debian VM (1xCPU, 512MB RAM and 5GB drive) and it works great.

It is just a little thing I noticed: the Temp is always showing 100C. I know I am not running it on a physical server or Raspberry Pi. If pi-hole can't detect the CPU/MB temperature, I'd rather it shows something like “N/A"

---

<div class="post-metadata">

### Author: ![deHakkelaar](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/dehakkelaar/32/674_2.png) [@deHakkelaar](https://discourse.pi-hole.net/u/deHakkelaar)
#### Post date: [March 14, 2017, 2:14am UTC](https://discourse.pi-hole.net/t/temp-100c-forever/2183/2 "2017-03-14T02:14:41Z")

</div>

`sudo cp /var/www/html/admin/scripts/pi-hole/php/header.php /var/www/html/admin/scripts/pi-hole/php/header.org.php`

`sudo sed -i 's\echo round(.*;\echo "N/A";\' /var/www/html/admin/scripts/pi-hole/php/header.php`

---

<div class="post-metadata">

### Author: ![dynaguy](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/d/ac91a4/32.png) [@dynaguy](https://discourse.pi-hole.net/u/dynaguy)
#### Post date: [March 14, 2017, 4:47am UTC](https://discourse.pi-hole.net/t/temp-100c-forever/2183/3 "2017-03-14T04:47:51Z")

</div>

Thanks. It works!  
Thanks. It works!

---

<div class="post-metadata">

### Author: ![DL6ER](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/dl6er/32/281_2.png) [@DL6ER](https://discourse.pi-hole.net/u/DL6ER)
#### Post date: [March 14, 2017, 9:11am UTC](https://discourse.pi-hole.net/t/temp-100c-forever/2183/4 "2017-03-14T09:11:11Z")

</div>

> [@dynaguy](#):
>
> If pi-hole can't detect the CPU/MB temperature, I'd rather it shows something like “N/A"

It does that already. However, your VM tells Pi-hole that there actually exists a physical temperature sensor and that it says 100 °C.

Can you post the output of the following?

```auto
cat /sys/class/thermal/thermal_zone0/temp
cat /sys/class/hwmon/hwmon0/temp1_input

```

---

<div class="post-metadata">

### Author: ![Vertux](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/v/b9bd4f/32.png) [@Vertux](https://discourse.pi-hole.net/u/Vertux)
#### Post date: [March 14, 2017, 1:00pm UTC](https://discourse.pi-hole.net/t/temp-100c-forever/2183/5 "2017-03-14T13:00:08Z")

</div>

I got the same setup:

> cat /sys/class/thermal/thermal\_zone0/temp  
> cat: /sys/class/thermal/thermal\_zone0/temp: Datei oder Verzeichnis nicht gefunden

> cat /sys/class/hwmon/hwmon0/temp1\_input  
> 100000

---

<div class="post-metadata">

### Author: ![DL6ER](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/dl6er/32/281_2.png) [@DL6ER](https://discourse.pi-hole.net/u/DL6ER)
#### Post date: [March 14, 2017, 1:07pm UTC](https://discourse.pi-hole.net/t/temp-100c-forever/2183/6 "2017-03-14T13:07:01Z")

</div>

This is really odd, so it says it has a physical temperature sensor which shows 100.0 °C. That is not an impossible number, and the user should really be warned about it, so we cannot ignore it and show `N/A`.

---

<div class="post-metadata">

### Author: ![Vertux](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/v/b9bd4f/32.png) [@Vertux](https://discourse.pi-hole.net/u/Vertux)
#### Post date: [March 14, 2017, 1:14pm UTC](https://discourse.pi-hole.net/t/temp-100c-forever/2183/7 "2017-03-14T13:14:41Z")

</div>

I agree, but it looks like a VMware "bug" or a fake sensor:

> cat /sys/class/hwmon/hwmon0/temp2\_input  
> 100000  
> cat /sys/class/hwmon/hwmon0/temp1\_crit  
> 100000  
> cat /sys/class/hwmon/hwmon0/temp1\_crit\_alarm  
> 0

---

<div class="post-metadata">

### Author: ![Nevexo](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/nevexo/32/305_2.png) [@Nevexo](https://discourse.pi-hole.net/u/Nevexo)
#### Post date: [March 14, 2017, 2:51pm UTC](https://discourse.pi-hole.net/t/temp-100c-forever/2183/8 "2017-03-14T14:51:52Z")

</div>

100C is the only thing VMWare ESXi returns, it does it with everything, would be nicer if it showed the CPU temp from the systems sensor.

---

<div class="post-metadata">

### Author: ![deHakkelaar](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/dehakkelaar/32/674_2.png) [@deHakkelaar](https://discourse.pi-hole.net/u/deHakkelaar)
#### Post date: [March 15, 2017, 1:05am UTC](https://discourse.pi-hole.net/t/temp-100c-forever/2183/9 "2017-03-15T01:05:09Z")

</div>

You could script it to have Pi-Hole show outside temperature for your town 😉

---

<div class="post-metadata">

### Author: ![deHakkelaar](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/dehakkelaar/32/674_2.png) [@deHakkelaar](https://discourse.pi-hole.net/u/deHakkelaar)
#### Post date: [March 28, 2017, 8:28pm UTC](https://discourse.pi-hole.net/t/temp-100c-forever/2183/10 "2017-03-28T20:28:05Z")

</div>

Or ditch ESX and go for Xen :

```
$ tree /sys/class/hwmon*
/sys/class/hwmon
0 directories, 0 files

$ tree /sys/class/thermal*
/sys/class/thermal* [error opening dir]
0 directories, 0 files

```
