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:

            [EMAIL PROTECTED] 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

[EMAIL PROTECTED] mysql]#

 

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

 

Thanks!

 

Reply via email to