Error while configuring NRPE on solaris

Ayotunde Itayemi Ayotunde.Itayemi at zain.com
Wed Jun 24 09:40:12 CEST 2009


Hi, came across this just now while browsing my NAGIOS mail folder.

 

>From my notes on installing NAGIOS on Solaris 10:

If getting SSL handshake error from nrpe, it may be that you don't have
the SUN Solaris crypto packages SUNWcrman, SUNWcryr and SUNWcry
installed. Install them in the order: SUNWcrman, SUNWcryr, and SUNWcry

 

Note: they are in the Solaris_10/Product subdirectory of the Solaris 10
DVD

# pkgadd -d . SUNWcrman SUNWcry SUNWcryr

 

 

For the other error with the "svc:/network/nrpe/tcp", I would suggest
you delete the SMF profile for NRPE and recreate it following the
instructions by Stephan Windmueller
<mailto:stephan.windmueller at cs.uni-dortmund.de>  at
http://ls5-www.cs.uni-dortmund.de/~windmueller/nagios-solaris10.html.
You don't need the whole thing, just the "Integrating Nagios into SMF"
section. Look out for the paths and modify to match your install.

 

Regards,

"This mail is from a Gimper"

 

From: Andrew Davis [mailto:nccomp at gmail.com] 
Sent: Wednesday, June 10, 2009 2:13 PM
To: Nagios Users Mailinglist
Subject: Re: [Nagios-users] Error while configuring NRPE on solaris

 

Per my previous email... I had the EXACT same issue and went to
check_by_ssh for my Solaris hosts... I'm thinking there must be some
magic step we're missing that isn't into the current "oh yeah... if you
have Solaris then do this" knowledge pool...



 
  A. Davis
  Email:     nccomp at gmail.com
 
  "There is no limit to what a man can accomplish
   if he doesn't care who gets the credit." - Ronald Reagan



N Patil wrote: 


This problem is still unresolvable. I have tried all possible situations
but no use. I can still see error in dmesg when i run
/usr/local/nagios/libexec/check_nrpe -H localhost 
CHECK_NRPE: Error - Could not complete SSL handshake. 

Error i see when i run dmesg, 
 svc:/network/nrpe/tcp:default (chdir: No such file or directory) 
Jun 10 10:15:53 unknown inetd[7268]: [ID 702911 daemon.error] Failed to
set credentials for the inetd_start method of instance
svc:/network/nrpe/tcp:default (chdir: No such file or directory) 
Jun 10 10:15:59 unknown inetd[7276]: [ID 702911 daemon.error] Failed to
set credentials for the inetd_start method of instance
svc:/network/nrpe/tcp:default (chdir: No such file or directory) 

I am using SunOS 5.10 Generic_120012-14 i86pc i386 i86pc 

Thanks, 
Nilesh 




"Luc I. Suryo" <luc at suryo.com> <mailto:luc at suryo.com>  

05/29/2009 10:07 PM 

Please respond to
"Luc I. Suryo" <luc at suryo.com> <mailto:luc at suryo.com> 

To

Eric Pearce <epearce at amberpoint.com> <mailto:epearce at amberpoint.com>  

cc

N Patil <N.Patil at lntinfotech.com> <mailto:N.Patil at lntinfotech.com> ,
Nagios Users Mailinglist <nagios-users at lists.sourceforge.net>
<mailto:nagios-users at lists.sourceforge.net>  

Subject

Re: [Nagios-users] Error while configuring NRPE on solaris

 

		




fyi

I have been using nagios and nrpe 9-10 years now; sparc and x86, started
back with solaris 7
and now soalris 10, zero error.... mix solaris, aix, hpux, linux.
The server has always been Solaris (sparc or x86), use
inetd/xinetd/deamon mode
again zero error

The one 'problem' i have seen people complain about is ssl and nrpe,
read the manual and it should pretty
clear what todo, 99.9% is almost the use not having doing some RTFM
thingy :)
The other one is tcp-wrapper and nrpe, nrpe has a access control
buildt-in
so I never understood one would need to use tcp-wrapper :)

-ls


> 
> >From: N Patil
> >To: Eric Pearce
> >Cc: Nagios Users Mailinglist
> >Sent: Thursday, May 28, 2009 9:13 PM
> >Subject: Re: [Nagios-users] Error while configuring NRPE on solaris
> >
> >Thanks Eric,
> >I have followed the same article but it dint help. This problem is 
> >something which occured at the end, i mean while testing
connectivity.
> >
> >Thanks,
> >Nilesh
> 
> >May 28 19:15:27 solaris10.remotehost.com inetd[24241]: [ID 702911 
> >daemon.error] Failed to set credentials for the inetd_start method of

> > >instance svc:/network/nrpe/tcp:default (chdir: No such file or
directory)
> 
> I'm just guessing, but do you have a home directory for the nagios
user 
> (with owner and group set to nagios)?
> The "chdir" error might come from this.
> -e

------------------------------------------------------------------------
------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals.
Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like
Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
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

______________________________________________________________________


______________________________________________________________________



 


________________________________



 
------------------------------------------------------------------------
------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
 


________________________________



 
_______________________________________________
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090624/6a51c8eb/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
-------------- next part --------------
_______________________________________________
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