> been working on an event broker module that will dump all=20
> configuration data and realtime status information from Nagios to a=20
> MySQL database. While the planning and some initial was done a long=20
> while back, 80% of the coding occurred in the past three weeks.
>=20
> .
> .
> .
>
> The database created by the ndo2db daemon will serve as the basis for=20
> the new web interface in Nagios 3.0, so its important to get your=20
> Comments in about this. Its not complete by any means, but its a=20
> darn good start. Comments and patches are welcome.
>
>=20
> Ethan Galstad,
Hello Ethan,
I tested NDO today on an Ubuntu "breezy" System. During ./configure i
got the following:=20
configure: WARNING: linux/module.h: present but cannot be compiled
configure: WARNING: linux/module.h: check for missing prerequisite
headers?
configure: WARNING: linux/module.h: see the Autoconf documentation
configure: WARNING: linux/module.h: section "Present But Cannot Be
Compiled"
configure: WARNING: linux/module.h: proceeding with the preprocessor's
result
configure: WARNING: linux/module.h: in the future, the compiler will
take precedence
configure: WARNING: ## ------------------------------------------ ##
configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ##
configure: WARNING: ## ------------------------------------------ ##
Make fails with many "redefinition of struct" and "field has incomplete
type" errors. This seems to be a problem with the ubuntu=20
linux-kernel-headers package.
After some time of investigation i wondered why a userspace tool=20
like nagios includes module.h. So i tried to simply remove module.h=20
from the configure script:
--- configure 2005-12-23 20:00:35.000000000 +0100
+++ ../../ndoutils.12232005/configure 2005-12-26 18:12:33.000000000
+0100
@@ -3025,7 +3025,7 @@
-for ac_header in arpa/inet.h ctype.h dirent.h dlfcn.h errno.h fcntl.h
float.h getopt.h grp.h inttypes.h limits.h linux/module.h ltdl.h math.h
netdb.h netinet/in.h pthread.h pwd.h regex.h signal.h socket.h stdint.h
string.h strings.h sys/ipc.h sys/mman.h sys/msg.h sys/poll.h
sys/resource.h sys/sendfile.h sys/socket.h sys/stat.h sys/time.h
sys/timeb.h sys/types.h sys/un.h sys/wait.h syslog.h tcpd.h unistd.h
values.h
+for ac_header in arpa/inet.h ctype.h dirent.h dlfcn.h errno.h fcntl.h
float.h getopt.h grp.h inttypes.h limits.h ltdl.h math.h netdb.h
netinet/in.h pthread.h pwd.h regex.h signal.h socket.h stdint.h string.h
strings.h sys/ipc.h sys/mman.h sys/msg.h sys/poll.h sys/resource.h
sys/sendfile.h sys/socket.h sys/stat.h sys/time.h sys/timeb.h
sys/types.h sys/un.h sys/wait.h syslog.h tcpd.h unistd.h values.h
do
as_ac_Header=3D`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" =3D set"; then
After that configure and make run fine and the tool works=20
like a charm
Merry Christmas
Andreas
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]