CHECK_NRPE: Received 0 bytes. Are we allowed t o connect to the ho st?

Subhendu Ghosh sghosh at sghosh.org
Fri Feb 28 18:07:42 CET 2003


Looks like you had configured tcpwrappers and then uninstalled it.


On Fri, 28 Feb 2003, David Levine wrote:

> Sorry - I should have posted this as well...
> Here is a line from /var/adm/messages :
>  
> Feb 28 10:04:09 obiwan inetd[10323]: [ID 388736 daemon.error] execv
> /usr/sbin/tcpd: No such file or directory
>  
> Can anyone provide some insight?
>  
> Tx
>  
> David
> 
> -----Original Message-----
> From: David Levine [mailto:dlevine at seasontickets.com]
> Sent: Thursday, February 27, 2003 6:41 PM
> To: Nagios Users List (E-mail)
> Subject: [Nagios-users] CHECK_NRPE: Received 0 bytes. Are we allowed to
> connect to the ho st?
> 
> 
> Hi all  -
>  
> I am having a bit of trouble with NRPE....
>  
> NRPE 1.8
> nagios host: RH Linux 7.2
> remote host: Solaris 8 x86
>  
> I am getting the error:
> [nagios at vader libexec]$ ./check_nrpe -H obiwan -c check_oracle_pmon
> CHECK_NRPE: Received 0 bytes.  Are we allowed to connect to the host?
>  
> I am running the NRPE daemon on the remote host as such:
> [nagios at obiwan ~/bin]$./nrpe -c /opt/local/nagios/bin/nrpe.cfg --daemon
>  
> I can see that the remote host is listening on the correct port:
> [nagios at obiwan ~/bin]$netstat -an | grep 5666
>       *.5666               *.*                0      0 65536      0 LISTEN
> 192.168.100.78.5666  192.168.100.33.39932  5840      0 66608      0
> TIME_WAIT
> 192.168.100.78.5666  192.168.100.33.39990  5840      0 66608      0
> TIME_WAIT
>  
> However - I cannot see any PID associated with the NRPE daemon (output from
> ps -ef)?
>  
> The command (plugin) that I am running on the remote host works fine:
> [nagios at obiwan ~/libexec]$./check_oracle --db PRACTICE
> PRACTICE OK - 1 PMON process(es) running
>  
> Here are (from what I can see) the relevant portions of nrpe.cfg:
> allowed_hosts=127.0.0.1, 192.168.100.33
> command[check_oracle_pmon]=/opt/local/nagios/libexec/check_oracle --db
> PRACTICE
>  
> Configurations on my NAGIOS host:
> checkcommands.cfg:
>  
> # 'check_nrpe' command definition
> define command{
>  command_name check_nrpe
>  command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$
>  }
>  
> services.cfg:
>  
> # Service Description -- Verify Oracle instance is running (checking for
> PMON)
> define service{
>  use    ti-template
>  host_name   obiwan
>  service_description  Oracle 8i PMON
>  check_command   check_nrpe!check_oracle_pmon
>  }
>  
>  
> So...
> Am I missing the obvious?
>  
> TIA for sharing any advice / experience...
>  
> -D
>  
> David Levine
> Systems Administrator
> Ticket Innovations, Inc.
> 1555 Mittel Blvd. Suite J
> Wood Dale, IL 60191
> Voice: 630-477-8329
> Fax: 630-787-9951
> dlevine at seasontickets.com <mailto:dlevine at seasontickets.com> 
>  
> 
> 

-- 




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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