Re: [Nagios-devel] Nagios 4 on Solaris 10

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] Nagios 4 on Solaris 10

Post by Guest »

I was going to try and look at this, but the current code fails to build wi=
th anything that isn't gcc, and I don't have the time to fix those bugs jus=
t to look into another one.

Bug 1: lib/Makefile.in hard-codes gcc, and hard-codes -Wall

Bug 2: dkhash.c fails to compile, because of an undefined variable i in lna=
g-utils.h line 111

And that's where I gave up.

-----Original Message-----
From: Andreas Ericsson [mailto:ae@op5.se]=20
Sent: Monday, February 04, 2013 8:39 AM
To: Nagios Developers List
Subject: Re: [Nagios-devel] Nagios 4 on Solaris 10

On 02/04/2013 12:36 PM, Ton Voon wrote:
> Hi!
>=20
> Has anyone tried the latest Nagios 4 code on Solaris 10?
>=20
> We get "(Service check did not exit properly)" for every active check
> result. It looks to me like the worker process code has something
> which is not working in Solaris. I think the communication is okay.
>=20
> There is a lib/wproc which looks like a worker test executable, which
> executes commands from stdin via the worker process. This seems to
> execute on the Solaris worker process and gets the output and errors,
> but doesn't finish correctly.
>=20
> The simplest reproduction is to use the worker test executable. cd
> lib && make wproc. This will fail with some missing symbols. Compile
> by adding '-lsocket -lnsl' to the compiler flags. Run ./wproc and
> enter 'hostname'. This will timeout before returning the result.
>=20
> Any ideas? Any Solaris users?
>=20

Do the self-tests pass?
cd lib && make test

./test-iobroker and ./test-iocache are extra interesting.

I'd be happy to help over ssh if that's an option.

--=20
Andreas Ericsson andreas.ericsson@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

---------------------------------------------------------------------------=
---
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Nagios-devel mailing list
Nagios-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/lis ... gios-devel





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: ndreas Ericsson [mailto:ae@op5.se]=2
Locked