Check_ciscotemp No output! Problem

Jan Scholten Jan.Scholten at iconz.net
Tue Nov 16 21:55:24 CET 2004


> Running the plugin outside nagios: 
> *[root at nmspap contrib]# ./check_ciscotemp.pl 172.16.5.1 -C st4rTAC*
> *OK Inlet Temp: 29 Outlet Temp: 31*
> Works fine!

What is the return value
echo $?

is Nagios allowed to execute the plugin?


I use check_snmp for Cisco Temperature check, my check entry:
# 'check_cisco_temp' command definition inlet/outlet
define command{
         command_name    check_cisco_temp
         command_line    $USER1$/check_snmp -H $HOSTADDRESS$ -C $USER3$ 
-P 1 -o 1.3.6.1.4.1.9.9.13.1.3.1.3.1,1.3.6.1.4.1.9.9.13.1.3.1.3.3 -m ALL 
  -w $ARG1$ -c $ARG2$ -l " Temperature Inlet/Outlet is:"
         }

in services:
..

check_command 	check_cisco_temp!:22,:27!:27,:32

which means: 	warning if: inlet higher 22 or Outlet higer 27
		critical if: inlet higher 27 or Outlet higer 32

I don't know if you need the cisco Mib Files try with -m None


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list