# LM SENSORS

[![image-1740052992811.png](https://wiki.monsta.com.br/uploads/images/gallery/2025-02/scaled-1680-/image-1740052992811.png)](https://wiki.monsta.com.br/uploads/images/gallery/2025-02/image-1740052992811.png)

Tutorial com objetivo de ativar o pacote LM Sensors em distribuições Linux para monitoramento através do Monsta.

<p class="callout info">Existem diversas distribuições Linux, cada qual com suas particularidades. As informações a seguir podem não funcionar em sua distribuição.</p>

#### <span style="color: #000080;">Instalar e configurar o pacote LM Sensors</span>

Logado como root, na tela do servidor Linux que será monitorado digite o comando abaixo:  
• Para distribuições que utilizam o yum:

```shell
yum install lm_sensors
```

• Para distribuições que utilizam o apt-get

```shell
apt-get install lm_sensors
```

Após instalado o pacote, digite o comando abaixo para detectar os sensores existentes em seu servidor e gravar o arquivo de configuração do lm-sensors:

```shell
sensors-detect --auto
```

Após finalizada a detecção dos sensores, você poderá exibir na console os itens disponíveis e suas medições através do comando sensors, conforme exemplo abaixo:

```shell
sensors
```

<table border="1" id="bkmrk-coretemp-isa-0000ada" style="width: 100%; border-collapse: collapse; background-color: #000000;"><tbody><tr><td style="width: 100%;"><span style="color: #ffffff;">coretemp-isa-0000</span>  
<span style="color: #ffffff;">Adapter: ISA adapter</span>  
<span style="color: #ffffff;">Physical id 0: +25.0°C (high = +82.0°C, crit = +102.0°C)</span>  
<span style="color: #ffffff;">Core 0: +23.0°C (high = +82.0°C, crit = +102.0°C)</span>  
<span style="color: #ffffff;">Core 1: +23.0°C (high = +82.0°C, crit = +102.0°C)</span>  
<span style="color: #ffffff;">it8728-isa-0a30</span>  
<span style="color: #ffffff;">Adapter: ISA adapter</span>  
<span style="color: #ffffff;">in0: +0.91 V (min = +2.40 V, max = +0.24 V)</span>  
<span style="color: #ffffff;">in1: +1.49 V (min = +1.68 V, max = +2.59 V)</span>  
<span style="color: #ffffff;">in2: +2.94 V (min = +0.04 V, max = +0.18 V)</span>  
<span style="color: #ffffff;">+3.3V: +3.43 V (min = +4.75 V, max = +3.17 V)</span>  
<span style="color: #ffffff;">in4: +2.08 V (min = +1.73 V, max = +0.22 V)</span>  
<span style="color: #ffffff;">in5: +1.06 V (min = +1.58 V, max = +0.01 V)</span>  
<span style="color: #ffffff;">in6: +2.23 V (min = +0.22 V, max = +1.34 V)</span>  
<span style="color: #ffffff;">3VSB: +3.26 V (min = +0.05 V, max = +0.91 V)</span>  
<span style="color: #ffffff;">Vbat: +3.19 V</span>  
<span style="color: #ffffff;">fan1: 1165 RPM (min = 22 RPM)</span>  
<span style="color: #ffffff;">fan3: 0 RPM (min = 249 RPM)</span>  
<span style="color: #ffffff;">fan4: 0 RPM (min = -1 RPM)</span>  
<span style="color: #ffffff;">fan5: 0 RPM (min = -1 RPM)</span>  
<span style="color: #ffffff;">temp1: +14.0°C (low = -1.0°C, high = +127.0°C) sensor = thermal diode</span>  
<span style="color: #ffffff;">temp2: -128.0°C (low = -1.0°C, high = +127.0°C) sensor = disabled</span>  
<span style="color: #ffffff;">temp3: -78.0°C (low = -1.0°C, high = +127.0°C) sensor = Intel PECI</span>  
<span style="color: #ffffff;">intrusion0: ALARM</span></td></tr></tbody></table>

#### <span style="color: #000080;">Instalar o serviço SNMP</span>

Consulte nosso tutorial em [LINUX | Monsta Wiki](https://wiki.monsta.com.br/books/snmp-tutorial-para-configuracao/page/linux).

#### <span style="color: #000080;">MONSTA</span>

Para monitorar os sensores no Monsta, durante a criação do dispositivo adicione o template “LM Sensors” conforme exemplo abaixo. Com isso, ao inserir um monitor no Monsta serão mostrados os monitores referentes ao LM Sensors também.

[![image-1645205747750.png](https://wiki.monsta.com.br/uploads/images/gallery/2022-02/scaled-1680-/image-1645205747750.png)](https://wiki.monsta.com.br/uploads/images/gallery/2022-02/image-1645205747750.png)

- - - - - -

#### <span style="color: #003366;">Contato</span>

<span style="color: #003366;">**Monsta Tecnologia Ltda**</span>  
Site: [http://www.monsta.com.br](http://www.monsta.com.br)  
Downloads: [http://www.monsta.com.br/download.html](http://www.monsta.com.br/download.html)  
E-mail: <contato@monsta.com.br>

- - - - - -

[![image-1645214142023.png](https://wiki.monsta.com.br/uploads/images/gallery/2022-02/scaled-1680-/image-1645214142023.png)](https://wiki.monsta.com.br/uploads/images/gallery/2022-02/image-1645214142023.png)