DB server not supported for NDOutils --> modify config.h?

Patrick Morris patrick.morris at hp.com
Fri Oct 12 00:33:55 CEST 2007


There should be no need to modify config.h on CentOS.

If you can't find the mysql headers on your machine, you'll need to
install them fist before building ndoutils if you want MySQL support.
the output from the configure command will tell you whether it found
them or not.

On Thu, 11 Oct 2007, Roger wrote:

> I am getting an error following the README file in NDOutils, and
> another post here on NagiosExchange (http://tinyurl.com/2jnef8) leads
> me to believe that I'm not modifying my config.h script correctly for
> my CentOS 4.5 environment.
> 
> NDOutils seem to compile fine (i.e. "./configure && make"), but I'm having
> problems when I try to run the final command in the README file, and
> am not quite sure what to do now.
> 
> ********* problems ***************************
> 
> ndo2db-2x -c /etc/nagios/ndo2db.cfg
> 
> Support for the specified database server is either not yet supported,
> or was not found on your system.
> ************************************************
> 
> (I'm running MySQL 5, so version isn't an issue)
> 
> Someone else here on the list (http://tinyurl.com/2jnef8) suggested modding the
> config.h file in order to eliminate that command
> 
> CHANGE
> 
> #include <mysql/mysql.h>
> #include <mysql/errmsg.h>
> 
> TO
> 
> #include </usr/local/mysql/include/mysql/mysql.h>
> #include </usr/local/mysql/include/mysql/errmsg.h>
> 
> However, when I looked for mysql.h (e.g. "locate mysql.h") I couldn't
> find find them (maybe b/c I installed from package?).
> 
> Might anyone here know what I might need to do to modify this script
> for CentOS so that ./configure will run properly here?
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> 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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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