Page 1 of 2

nrpe for solaris 8 and 9?

Posted: Wed Jul 08, 2015 9:29 am
by edoRaul
Hello,

Are there any NPRE compiled version for solaris 8 and 9?


Thanks

Re: nrpe for solaris 8 and 9?

Posted: Wed Jul 08, 2015 9:37 am
by jdalrymple
We don't provide precompiled NRPE binaries for any platform.

compiling it is wicked easy and requires only openssl as a prerequisite. I will forewarn that support for Solaris 9 fell off the NRPE radar around version 2.12, don't bother trying with the current versions as they won't compile.

Re: nrpe for solaris 8 and 9?

Posted: Wed Jul 08, 2015 9:43 am
by abrist
Some notes on building for Solaris 8:
http://www.computerglitch.net/blog/atti ... ris-8.html
The big note here is that some people have had to make a small edit to src/nrpe.c in order to get it to build and work with ssl correctly. I would try building it first without the edits, but if you do indeed have issues, check this site out.

Re: nrpe for solaris 8 and 9?

Posted: Thu Jul 09, 2015 11:17 am
by edoRaul
Are there any guide for solaris 8 and 9?.


Thanks.

Re: nrpe for solaris 8 and 9?

Posted: Thu Jul 09, 2015 11:18 am
by abrist
Well, I posted a guide for Solaris 8 above . . . .

Re: nrpe for solaris 8 and 9?

Posted: Mon Jul 13, 2015 10:09 am
by edoRaul
What are the necessary packages?, host haven't internet connection.

Re: nrpe for solaris 8 and 9?

Posted: Mon Jul 13, 2015 10:18 am
by abrist
the NRPE source can be downloaded from the following urL;
http://sourceforge.net/projects/nagios/ ... nrpe-2.12/

Re: nrpe for solaris 8 and 9?

Posted: Mon Jul 13, 2015 10:43 am
by edoRaul
Thanks, but i mean openssl version, gcc version etc..?

Re: nrpe for solaris 8 and 9?

Posted: Mon Jul 13, 2015 11:00 am
by jdalrymple
Being security focused software you should use the most current version of openssl you can come up with for your platform.

Any semi modern version of GCC should do fine. As I said above - NRPE is not a particularly difficult piece of software to compile.

Re: nrpe for solaris 8 and 9?

Posted: Tue Jul 14, 2015 2:49 am
by edoRaul
I installed nrpe-1.9_5-sol9-sparc-local.gz and nagios-plugins-1.3.1_2-sol9-sparc-local.gz packages in solaris 9.

I added server ip in allowed_hosts on nrpe.cfg file.

I executed nrpe as standalone daemon.

I checked ports and connection was stablished from server to host.

No exist firewall in solaris host.

A Nrpe 1.9 version was installed on nagios server.

I restarted daemon, but I received "CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host?"



Any sugestion, please?


Edit ->

I try make a telnet to 5666 port and obtained "Connection closed by foreign host." from a ip included in the allowed_hosts list.