Nagios NEB Nagios-DB Install Guide

Danny Russell drussell at mpifix.com
Mon Mar 27 23:43:45 CEST 2006


The most recent Package

-----Original Message-----
From: Ben [mailto:bench at silentmedia.com] 
Sent: Monday, March 27, 2006 1:36 PM
To: Danny Russell
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Nagios NEB Nagios-DB Install Guide

Are you taking the version out of CVS, or the most recent package? I
honestly 
cannot recall if there is a difference.

On Mon, 27 Mar 2006, Danny Russell wrote:

> 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!
>
>
>
>


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list