Nrpe and Snmp problems

Subhendu Ghosh sghosh at sghosh.org
Thu Feb 6 16:54:18 CET 2003


On Thu, 6 Feb 2003, Jason Schroeder wrote:

> I am running Nagios on a Sun Ultra 10 with Solaris 9 on it.  I have a
> remote Sun Ultra 10 with Solaris 8 on it.  I have nrpe 1.8 running on
> the remote host, and it uses the check_snmp to query cisco hardware.  I
> have it returning the hostname of the router to make sure it is up and
> running.  On the remote server the response is "SNMP OK - router1"
> (using check_snmp -H router1 -o system.sysName.0 -C public -s router1).
> When I run the check_nrpe command from the nagios host, the return is
> "SNMP WARNING - router1" (using check_nrpe -H remoteserver -c
> check_router1).  All of the information is correct, any idea why the
> return info on the nagios host is a warning?  Thanks.
> 

Probably some permissions/env issue which the nrpe daemon.  When you run 
the command on the remote system- did you run it as the same user as nrpe?

The basic warning in your scenario is due to snmpget returning some 
output on stderr.  If the -s regex had failed then it would have returned 
CRITICAL


-- 
-sg



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com




More information about the Users mailing list