Monitor Temperature Cisco


#1

I’m using Nagios 2.11 and I want to know how to monitor my cisco 7200’s temp. I’m very inexperienced with Nagios so if you could go step by step, that would really help.
I need to be able to monitor and page when the temp gets above a certain degree.

Any help would be much appreciated.


#2

to monitor Temperature, the best way, i think is installing PNP4Nagios pnp4nagios.org/pnp/start
after that you create an snmp service that check OID temperature, and PNP4Nagios will make some graphs.
personnaly i use it to monitor Temperature and humidity and works great!


#3

I already use Cacti to monitor and graph the temperature of my ciscos. I just need to be able to have nagios monitor the temp and page when it gets above a certain temp.

thanks for the reply


#4

i don’t know cacti but i think it’s link PNP
to monitor temperature i created a command in commands.cfg:
define command{
command_name check-snmp-sonde
command_line $USER1$/check_snmp -H $ARG1$ -P $ARG2$ -C$ARG3$ -o $ARG4$ -w $ARG5$ -c $ARG6$
}

and a service in services.cfg
define service{
host_name name
use generic-service
service_description check-snmp-iemStatusProbeCurrentTemp.1
check_command check-snmp-sonde!IP_ADRESS!SNMP_VERSION!COMMUNITY!OID!TEMP_LEVEL_WARNING!TEMP_LEVEL_CRITICAL
check_interval 1
notification_options r,w,c
}


#5

thanks
will try.


#6

tell me if it’s OK…