Blog

Temperatura dos servidores Dell

Mais um exemplo, eu precisava monitorar a temperatura do cpd mas na época não tinha sensor, então decidi monitorar pela temperatura do servidor.

File commands.cfg

define command{
command_name check_temp_sys
command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C public -o 1.3.6.1.4.1.232.6.2.6.8.1.4.0.5 -w 35 -c 40 -t 45
}

File Services.cfg
# Service definition

define service{
use generic-service ; Name of service template to use

host_name Server

service_description Temperatura Interna
is_volatile 0
check_period 24×7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
contact_groups rfaria
notification_interval 120
notification_period 24×7
notification_options c,r
check_command check_temp_sys
}

Posted in: Nagios Core, Nagios XI, Plugin

Leave a Comment (0) ↓

Leave a Comment