You are on page 1of 1

##################################################

##==============================================##
## Checa Temperatura - CLUBE DO MIKROTIK
##
##==============================================##
##################################################
:local temperatura [/system health get temperature]
:local nomerb [/system identity get name]
:local tempmaisque "45"
/system health
:if ([get temperature]>$tempmaisque) do={/tool e-mail send to="seuemail.com" sub
ject="$nomerb - Temperatura Atual: $temperatura" body=("
AVISO DE TEMPERATURA ALTA - Superior : $tempmaisque
Temperatura Atual: ".[/system health get temperature])
:log error "TEMPERATURA ALTA - $temperatura"
} else {
:log warning "AVISO DE TEMPERATURA NORMAL."}

You might also like