Run a truss/strace on the relative processes, It has been a long time =
since I set any of it up, but those usually will give you an idea what =
is happening. Also check your mysql log files. And enable debugging in =
nagios. How to do all that is in the documentation so I won't cover it =
here. But pick it to pieces and see what is really happening.
David Fulton
Systems Administrator
NuVox Communications
O:407-835-0470
C:321-246-2238
"Because Business is on the Line"=20
> -----Original Message-----
> From: [email protected]=20
> [mailto:[email protected]] On Behalf=20
> Of Carlos Pereira
> Sent: Friday, January 18, 2008 2:18 PM
> To: [email protected]; [email protected]
> Subject: Re: [Nagios-devel] Nagios 2.10 + ndoutils-1.4b7
>=20
> Hi Fulton, =09
>=20
> I have checked that and I can access the database : mysql -u=20
> nagios -p (no problem). Also the event broker is enabled with=20
> -1 (broker everything).
>=20
> Thansks.
>=20
>=20
> - Carlos Pereira (alex12)
>=20
> -----------------------
> This thread is located in the archive at this URL:
> http://www.nagiosexchange.org/nagios-de ... ?&tx_maill
isttofaq_pi1[showUid]=3D8483
> =09
> > The first place I would look is to make sure that the username and=20
> > password you are using to connect to mysql are correct. Try=20
> connecting=20
> > with the command line client using them. If that works, check that=20
> > your event brokering is enabled (broker everything).
> >=20
> >=20
> > David Fulton
> > Systems Administrator
> > NuVox Communications
> > O:407-835-0470
> > C:321-246-2238
> > "Because Business is on the Line"
> >=20
> >=20
> >=20
> >=20
> > ________________________________
> >=20
> > From: [email protected]
> > [mailto:[email protected]] On Behalf Of=20
> > Carlos Pereira
> > Sent: Friday, January 18, 2008 1:24 PM
> > To: [email protected]
> > Subject: [Nagios-devel] Nagios 2.10 + ndoutils-1.4b7
> >=20
> >=20
> >=20
> > Hi folks, could someone help with nagios + ndoutil. I'm=20
> having a hard=20
> > time to sync nagios to dump its information throught ndo to=20
> a mysql database.
> >=20
> >=20
> >=20
> > The scenerio is as follow:
> >=20
> >=20
> >=20
> > Nagios installation is not a problem, I set up and it works=20
> fine with=20
> > the default value. ( Nagios 2.10).
> >=20
> > Install everything , Mysql 5.0 and client , Apache2 & PHP5.
> >=20
> >=20
> >=20
> > Now when comes down to install ndoutils-1.4b7, problems=20
> start to popup.
> >=20
> > Obs: installing its not a problem but, writing to data sink it is (=20
> > THE
> > PROBLEM)
> >=20
> >=20
> >=20
> > 1 - Out put from ./configure ( Parts that have "no" while running=20
> > command the problems ( I think ) ) :
> >=20
> >=20
> >=20
> > checking for C compiler default output file name... a.out
> >=20
> > checking whether the C compiler works... yes
> >=20
> > checking whether we are cross compiling... no
> >=20
> > checking for suffix of executables...
> >=20
> > checking for suffix of object files... o
> >=20
> >=20
> >=20
> >=20
> >=20
> > checking limits.h presence... yes
> >=20
> > checking for limits.h... yes
> >=20
> > checking ltdl.h usability... no
> >=20
> > checking ltdl.h presence... no
> >=20
> > checking for ltdl.h... no
> >=20
> > checking math.h usability... yes
> >=20
> > checking math.h presence... yes
> >=20
> >=20
> >=20
> >=20
> >=20
> > checking signal.h presence... yes
> >=20
> > checking for signal.h... yes
> >=20
> > checking socket.h usability... no
> >=20
> > checking socket.h presence... no
> >=20
> > checking for socket.h... no
> >=20
> > checking stdarg.h usability... yes
> >=20
> > checking stdarg.h presence... yes
> >=20
> >=20
> >=20
> >=20
> >=20
> > checking for main in -lnsl... yes
> >=20
> > checking for socket in -lsocket... no
> >=20
> > checking for main in -lwrap... yes
> >=20
> > checking for strdup... yes
> >=20
> > checking for strstr... yes
> >=20
> >=20
> >=20
> > checking for compress in -lz... ye
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]