Nagios NEB Nagios-DB Install Guide

Danny Russell drussell at mpifix.com
Mon Mar 27 22:30:04 CEST 2006


Fellow Group Members,

 

I am running Nagios 2.0 stable. I am looking to add mysql database
support. I know the Nagios-db group exists and people have it working,
but I cannot get it to compile and I am running in to a brick wall. Are
there any instructions out there on it? A wiki? I am just looking for
some general help.

 

Here's my compile error:

            [root at nagiosdev mysql]# make

gcc -g -O2 -Wall -o inserter.o inserter.c -shared -lmysqlclient -fPIC

inserter.c: In function `nebmodule_init':

inserter.c:138: warning: passing arg 3 of `neb_register_callback' makes
integer from pointer without a cast

inserter.c:138: error: too few arguments to function
`neb_register_callback'

inserter.c: In function `loadconfig':

inserter.c:343: warning: passing arg 3 of `neb_register_callback' makes
integer from pointer without a cast

inserter.c:343: error: too few arguments to function
`neb_register_callback'

inserter.c:344: warning: passing arg 3 of `neb_register_callback' makes
integer from pointer without a cast

inserter.c:344: error: too few arguments to function
`neb_register_callback'

inserter.c:345: warning: passing arg 3 of `neb_register_callback' makes
integer from pointer without a cast

inserter.c:345: error: too few arguments to function
`neb_register_callback'

inserter.c:346: warning: passing arg 3 of `neb_register_callback' makes
integer from pointer without a cast

inserter.c:346: error: too few arguments to function
`neb_register_callback'

make: *** [all] Error 1

[root at nagiosdev mysql]#

 

I have nagios-db-0.91 and nagios-2.0-2.2 on Centos 4.2.

 

Thanks!

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060327/9e5381dc/attachment.html>


More information about the Users mailing list