Re: [Nagios-devel] Nagios 2.10 + ndoutils-1.4b7
Posted: Fri Jan 18, 2008 11:04 am
This is a multi-part message in MIME format.
------_=_NextPart_001_01C85A04.FD900A17
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
The first place I would look is to make sure that the username and =
password you are using to connect to mysql are correct. Try connecting =
with the command line client using them. If that works, check that your =
event brokering is enabled (broker everything).
=20
David Fulton
Systems Administrator
NuVox Communications
O:407-835-0470
C:321-246-2238
"Because Business is on the Line"=20
=20
________________________________
From: [email protected] =
[mailto:[email protected]] On Behalf Of Carlos =
Pereira
Sent: Friday, January 18, 2008 1:24 PM
To: [email protected]
Subject: [Nagios-devel] Nagios 2.10 + ndoutils-1.4b7
=09
=09
Hi folks, could someone help with nagios + ndoutil. I'm having a hard =
time to sync nagios to dump its information throught ndo to a mysql =
database.
=20
The scenerio is as follow:
=20
Nagios installation is not a problem, I set up and it works fine with =
the default value. ( Nagios 2.10).
Install everything , Mysql 5.0 and client , Apache2 & PHP5.
=20
Now when comes down to install ndoutils-1.4b7, problems start to =
popup.
Obs: installing its not a problem but, writing to data sink it is ( THE =
PROBLEM)
=20
1 - Out put from ./configure ( Parts that have "no" while running =
command the problems ( I think ) ) :
=20
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
=20
=20
checking limits.h presence... yes
checking for limits.h... yes
checking ltdl.h usability... no
checking ltdl.h presence... no
checking for ltdl.h... no
checking math.h usability... yes
checking math.h presence... yes
=20
=20
checking signal.h presence... yes
checking for signal.h... yes
checking socket.h usability... no
checking socket.h presence... no
checking for socket.h... no
checking stdarg.h usability... yes
checking stdarg.h presence... yes
=20
=20
checking for main in -lnsl... yes
checking for socket in -lsocket... no
checking for main in -lwrap... yes
checking for strdup... yes
checking for strstr... yes
=20
checking for compress in -lz... yes
checking for mysql_store_result in -lmysqlclient... yes
checking for mysql_connect in -lmysqlclient... no
checking mysql/mysql.h usability... yes
checking mysql/mysql.h presence... yes
checking for mysql/mysql.h... yes
MySQL library and include file(s) were found!
checking for PQconnectdb in -lpq... no
=20
=20
=20
No problems while executing " MAKE"
=20
Followed as the README doc recommends inside the ndoutils-1.4b7.
Copied all the files to the right places as well as the database, =
create users grant permission and create the password.
=20
I ran the command ./installdb ( No problems).
=20
I change the proper parameter on ndo2db.cfg ( user and password)
=20
I execute the command :
/usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
=20
=20
Output from ls -la (inside the directory)
=20
xxxxx:/usr/local/nagios/var# ls -la
total 224
drwxrwsr-x 5 nagios nagios 4096 2008-01-18 15:15 .
drwxrwsr-x 8 nagios nagios 4096 2008-01-17 17:34 ..
drwxrwsr-x 2 nagios nagios 4096 2008-01-18 00:00 archives
-rw-r--r-- 1 nagios nagios 6 2008-01-18 12:39 nagios.lock
-rw-rw-r-- 1 nagios nagios 148605 2008-01-18 15:15 nagios.log
srwxrwxrwx 1 nagios nagios 0 2008-01-18 12:38 ndo.sock
-rw-r--r-- 1 nagios nagios 12943 2008-01-18 12:39 objects.cache
-rw------- 1 nagios nagios 14010 2008-01-18 14:39 retention.dat
drwxrwsr-x 2 nagios nagios 4096 2008-01-18 12:39 rw
drwxrwsr-x 3 nagios nagios 4096 2008-01-17 17:34 spool
-rw-rw-r-- 1 nagios nagios 14061 2008-01-18 15:15 status.dat
=20
Every thing starts fine BUT.........
=20
That's the output, I got from nagios.log
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
------_=_NextPart_001_01C85A04.FD900A17
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
The first place I would look is to make sure that the username and =
password you are using to connect to mysql are correct. Try connecting =
with the command line client using them. If that works, check that your =
event brokering is enabled (broker everything).
=20
David Fulton
Systems Administrator
NuVox Communications
O:407-835-0470
C:321-246-2238
"Because Business is on the Line"=20
=20
________________________________
From: [email protected] =
[mailto:[email protected]] On Behalf Of Carlos =
Pereira
Sent: Friday, January 18, 2008 1:24 PM
To: [email protected]
Subject: [Nagios-devel] Nagios 2.10 + ndoutils-1.4b7
=09
=09
Hi folks, could someone help with nagios + ndoutil. I'm having a hard =
time to sync nagios to dump its information throught ndo to a mysql =
database.
=20
The scenerio is as follow:
=20
Nagios installation is not a problem, I set up and it works fine with =
the default value. ( Nagios 2.10).
Install everything , Mysql 5.0 and client , Apache2 & PHP5.
=20
Now when comes down to install ndoutils-1.4b7, problems start to =
popup.
Obs: installing its not a problem but, writing to data sink it is ( THE =
PROBLEM)
=20
1 - Out put from ./configure ( Parts that have "no" while running =
command the problems ( I think ) ) :
=20
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
=20
=20
checking limits.h presence... yes
checking for limits.h... yes
checking ltdl.h usability... no
checking ltdl.h presence... no
checking for ltdl.h... no
checking math.h usability... yes
checking math.h presence... yes
=20
=20
checking signal.h presence... yes
checking for signal.h... yes
checking socket.h usability... no
checking socket.h presence... no
checking for socket.h... no
checking stdarg.h usability... yes
checking stdarg.h presence... yes
=20
=20
checking for main in -lnsl... yes
checking for socket in -lsocket... no
checking for main in -lwrap... yes
checking for strdup... yes
checking for strstr... yes
=20
checking for compress in -lz... yes
checking for mysql_store_result in -lmysqlclient... yes
checking for mysql_connect in -lmysqlclient... no
checking mysql/mysql.h usability... yes
checking mysql/mysql.h presence... yes
checking for mysql/mysql.h... yes
MySQL library and include file(s) were found!
checking for PQconnectdb in -lpq... no
=20
=20
=20
No problems while executing " MAKE"
=20
Followed as the README doc recommends inside the ndoutils-1.4b7.
Copied all the files to the right places as well as the database, =
create users grant permission and create the password.
=20
I ran the command ./installdb ( No problems).
=20
I change the proper parameter on ndo2db.cfg ( user and password)
=20
I execute the command :
/usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
=20
=20
Output from ls -la (inside the directory)
=20
xxxxx:/usr/local/nagios/var# ls -la
total 224
drwxrwsr-x 5 nagios nagios 4096 2008-01-18 15:15 .
drwxrwsr-x 8 nagios nagios 4096 2008-01-17 17:34 ..
drwxrwsr-x 2 nagios nagios 4096 2008-01-18 00:00 archives
-rw-r--r-- 1 nagios nagios 6 2008-01-18 12:39 nagios.lock
-rw-rw-r-- 1 nagios nagios 148605 2008-01-18 15:15 nagios.log
srwxrwxrwx 1 nagios nagios 0 2008-01-18 12:38 ndo.sock
-rw-r--r-- 1 nagios nagios 12943 2008-01-18 12:39 objects.cache
-rw------- 1 nagios nagios 14010 2008-01-18 14:39 retention.dat
drwxrwsr-x 2 nagios nagios 4096 2008-01-18 12:39 rw
drwxrwsr-x 3 nagios nagios 4096 2008-01-17 17:34 spool
-rw-rw-r-- 1 nagios nagios 14061 2008-01-18 15:15 status.dat
=20
Every thing starts fine BUT.........
=20
That's the output, I got from nagios.log
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]