check_snmp no output problem

Alexander Serkin als at cell.ru
Fri Jun 16 08:35:02 CEST 2006


Hi.
I'm getting WARNINGs "no output" from check_snmp plugin taken from 
nagios-plugins-1.4.3.

The platform is Solaris9.
crle output:
# crle

Configuration file [version 4]: /var/ld/ld.config
   Default Library Path (ELF): 
/usr/lib:/usr/local/lib:/usr/local/rrdtool-1.0.49/lib:/usr/local/BerkeleyDB.4.2/lib:/usr/local/ssl/lib:/opt/mysql/lib/mysql
   Trusted Directories (ELF):    /usr/lib/secure  (system default)

command in checkcommands.cfg:
define command{
         command_name    check_snmp_cpu
         command_line    check_snmp -H $HOSTADDRESS$ -m : -o 
1.3.6.1.4.1.9.2.1.57.0 -u "%" -l "CPU Load" -w $ARG1$ -c $ARG2$
	}

called for service in services.cfg:
define service{
         use     generic-service
         hostgroup_name  someciscobox
         service_description     CPU Load
         contact_groups          admins
         check_command           check_snmp_cpu!70!90
         }

The check_snmp command itself works from nagios user account:
$ /opt/nagios/libexec/check_snmp -H xxx.xxx.xxx.xxx -m : -o 
1.3.6.1.4.1.9.2.1.57.0 -u "%" -l "CPU Load" -w 70 -c 90
CPU Load OK - 57 % | iso.3.6.1.4.1.9.2.1.57.0=57;;;;

couldn't find any hints in the list archives.
What can be the reason?

-- 
Sincerely Yours,
Alexander


_______________________________________________
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