Hello -
I'm new to Nagios so hopefully this is an easy problem to solve. Thanks in advance.
I am running Nagios Core 4.1.1 with Plugins 2.1.1 on CentOS 7.
I am using the configure script to generate plugins, however I am unable to generate check_mysql. I am using the flag --with-mysql=/usr/bin/mysql_config (which is the correct path to mysql_config). I get the following when the configuration script runs:
configure: WARNING: Skipping mysql plugin
configure: WARNING: install mysql client libs to compile this plugin (see REQUIREMENTS).
I have looked in the REQUIREMENTS file and have installed all libraries.
Can anyone help me diagnose this problem?
configure won't create check_mysql plugin
-
AdamPearlman
- Posts: 2
- Joined: Wed Feb 17, 2016 6:29 pm
-
AdamPearlman
- Posts: 2
- Joined: Wed Feb 17, 2016 6:29 pm
Re: configure won't create check_mysql plugin
While I didn't "solve" the problem, I did figure out the cause and fixed it.
I was using an Ansible role to install MySQL then using Yum to install the libraries. I removed the ansible role and installed everything through Yum. Now check_mysql (and check_mysql_query) generate fine.
I was using an Ansible role to install MySQL then using Yum to install the libraries. I removed the ansible role and installed everything through Yum. Now check_mysql (and check_mysql_query) generate fine.
Re: configure won't create check_mysql plugin
I am glad your issue has been resolved! Is it all right if we lock the thread?
Be sure to check out our Knowledgebase for helpful articles and solutions!