NRPE host on Solaris 10

Izz Abdullah izz_abdullah at inbox.com
Thu Jun 12 07:41:25 CEST 2008


still the same error: Received 0 bytes  from daemon...

results from the two commands requested (everything looks ok to me):

# svcs svc:/network/nrpe/tcp:default
STATE          STIME           FMRI
online         Jun_10          svc:/network/nrpe/tcp:default

# inetadm -l svc:/network/nrpe/tcp:default
SCOPE      NAME=VALUE
           name="nrpe"
           endpoint_type="stream"
           proto="tcp"
           isrpc=FALSE
           wait=FALSE
           exec="/usr/sfw/sbin/tcpd -c /usr/local/nagios/etc/nrpe.cfg -i"
           arg0="/usr/local/nagios/bin/nrpe"
           user="nagios"
default    bind_addr=""
default    bind_fail_max=-1
default    bind_fail_interval=-1
default    max_con_rate=-1
default    max_copies=-1
default    con_rate_offline=-1
default    failrate_cnt=40
default    failrate_interval=60
default    inherit_env=TRUE
default    tcp_trace=FALSE
           tcp_wrappers=TRUE
#

The only thing I see different between this output and that on the site listed where I installed the remote host NRPE is there is no default for tcp_wrappers and no connection_backlog.  But this shouldn't be the problem, right?

Thanks again for your assistance,
Izz

> -----Original Message-----
> From: philc at foundation-it.com
> Sent: Wed, 11 Jun 2008 10:21:58 +0100
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] NRPE host on Solaris 10
> 
>> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
>> bounces at lists.sourceforge.net] On Behalf Of Izz Abdullah
>> 
>> I have followed the instructions I found at
>> http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-
>> on-solaris-10/
>> 
>> but to no avail.  At the end of it all, when I try
>> ./check_nrpe -H localhost
>> 
>> it gives me a 0 bytes received from daemon.  The first check in the
>> list of
>> /usr/local/nagios/libexec/check_disk -w 10 -c 5 -p /
>> gives data...I don't know what's wrong here...I haven't configured a
>> Solaris box to be monitored...any ideas / assistance?
> 
> >From your description, it seems like the plugins are working OK but the
> problem is with the service itself. That's not surprising, SMF on Solaris
> 10 can be tricky to get right. I'd double check the entire section in
> those instructions from "With Solaris 10, we don't use either inetd ..."
> to "Modify your hosts.allow ...". In particular make sure your inetd.conf
> entry is on one line (as the instructions say but then split over three
> lines because of the narrow width of the page). If it's still not
> working, post back with the relevant section of inetd.conf and the output
> of
> 
> svcs svc:/network/nrpe/tcp:default
> 
> and
> 
> inetadm -l svc:/network/nrpe/tcp:default
> 
> --
> Phil Costelloe
> Foundation IT, Hermitage Berkshire RG18 9SE
> 
> 
> 
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> 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

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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