Ndoutils mysql socket issue

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Ndoutils mysql socket issue

Postby mazzystr » Fri May 06, 2011 9:59 am

I am using OMD 0.46 and Nagios 3.2.3 along with Ndoutils 1.4b9. Things are sucessfully working with this setup however there is some strangeness that I'm not happy with.

Ndoutils seem to be hard linked to the hosts mysql /var/lib/mysql/mysql.sock socket. Is there any way to change that?

I have three Nagios instances running on one system - Prod, Test, QA.

Thanks,
/Chris C
mazzystr
 
Posts: 2
Joined: Fri May 06, 2011 9:48 am

Re: Ndoutils mysql socket issue

Postby mazzystr » Fri May 06, 2011 11:30 am

The plot thickens. The problem seems to come directly from the mysql_version.h header. I compiled ndoutils against /usr/lib64/mysq. Those libraries are using the headers in /usr/include/mysql. Mysql_version.h contains this variable...
#define MYSQL_UNIX_ADDR "/var/lib/mysql/mysql.sock"

Ug. It's going to be tough to get ndoutils to compile to use /omd/sites/$site/tmp/run/mysqld/mysqld.sock

Any suggestions?

Thanks,
/Chris C
mazzystr
 
Posts: 2
Joined: Fri May 06, 2011 9:48 am


Return to Nagios Core

Who is online

Users browsing this forum: No registered users and 6 guests