mysql server version compatibility with Nagios XI
-
ganeshanrs1983
- Posts: 55
- Joined: Wed Jun 18, 2014 10:16 am
mysql server version compatibility with Nagios XI
Hello,
Please let me know mysql server version 5.6.19 and 5.5.38 Patches are compatible with Nagios XI.
Currently we are using mysql server version 5.1.73.
mysql -u root -p -e ' SELECT VERSION(); '
Enter password:
+-----------+
| VERSION() |
+-----------+
| 5.1.73 |
+-----------+
Please let me know mysql server version 5.6.19 and 5.5.38 Patches are compatible with Nagios XI.
Currently we are using mysql server version 5.1.73.
mysql -u root -p -e ' SELECT VERSION(); '
Enter password:
+-----------+
| VERSION() |
+-----------+
| 5.1.73 |
+-----------+
Re: mysql server version compatibility with Nagios XI
Most of my centos boxes run variants of 5.1.x
I have not heard of others having issues with upgrading mysqld on XI servers, but most of them are only upgrading through yum. Where are you pulling these versions from?
I have not heard of others having issues with upgrading mysqld on XI servers, but most of them are only upgrading through yum. Where are you pulling these versions from?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: mysql server version compatibility with Nagios XI
Sorry for digging out this old thread, but from what it looks like Nagios XI has compatibility issues when using MySQL 5.6.x.
We are currently evaluating Nagios XI and we are testing offloaded Databases running 5.6.25 - and the result is always the same. The wizard for creating monitors does not function. It seems like everything is created but it isn't. Looking at the server database logs, the insert on the table nagios_hosts never happens. When downgrading the same to 5.5.44, it works straight away.
Again apologies for digging this thread out, just thought this might prevent headaches for others. It would be very helpful, if Nagios would publish some sort of compatibility matrix for databases/versions in the near future.
We are currently evaluating Nagios XI and we are testing offloaded Databases running 5.6.25 - and the result is always the same. The wizard for creating monitors does not function. It seems like everything is created but it isn't. Looking at the server database logs, the insert on the table nagios_hosts never happens. When downgrading the same to 5.5.44, it works straight away.
Again apologies for digging this thread out, just thought this might prevent headaches for others. It would be very helpful, if Nagios would publish some sort of compatibility matrix for databases/versions in the near future.
Re: mysql server version compatibility with Nagios XI
We will do some testing/digging into this. What is the version of Nagios XI that you are currently using? Can you run the following commands and show the output?Sorry for digging out this old thread, but from what it looks like Nagios XI has compatibility issues when using MySQL 5.6.x.
Code: Select all
uname -a
cat /etc/*releaseBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: mysql server version compatibility with Nagios XI
Sure thing:
Linux crpnagdev02 2.6.32-504.el6.x86_64 #1 SMP Wed Oct 15 04:27:16 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
CentOS release 6.6 (Final)
LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Nagios version is the most recent (Nagios XI 2014R2.7).
Linux crpnagdev02 2.6.32-504.el6.x86_64 #1 SMP Wed Oct 15 04:27:16 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
CentOS release 6.6 (Final)
LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Nagios version is the most recent (Nagios XI 2014R2.7).
Re: mysql server version compatibility with Nagios XI
I was able to recreate the issue and will be forwarding the results to our developers.We are currently evaluating Nagios XI and we are testing offloaded Databases running 5.6.25 - and the result is always the same. The wizard for creating monitors does not function. It seems like everything is created but it isn't. Looking at the server database logs, the insert on the table nagios_hosts never happens. When downgrading the same to 5.5.44, it works straight away.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: mysql server version compatibility with Nagios XI
Update: I was able to make mysql 5.6.25 work on my test by simply by changing the following line in the "/etc/my.cnf" file:
to this:
and restarting mysqld and ndo2db:
I would recommend trying this in a test environment first! It hasn't been thoroughly tested and there could be some issues. It seems to be working fine for me at the moment - I can make changes in the CCM, run wizards, apply configuration, etc.
Hope this helps.
Code: Select all
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLESCode: Select all
sql_mode=NO_ENGINE_SUBSTITUTIONCode: Select all
service mysqld restart
service ndo2db restartCode: Select all
mysql --version
mysql Ver 14.14 Distrib 5.6.25, for Linux (x86_64) using EditLine wrapper
cat /etc/*release
CentOS release 6.6 (Final)Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: mysql server version compatibility with Nagios XI
Thanks a lot for getting back lmiltchev! We will test this on our dev platform and I will let you know, if it resolves the issue.
Any more detailed information from the developers why the wizard fails in this case, but adding a host/service manually via CCM works?
Any more detailed information from the developers why the wizard fails in this case, but adding a host/service manually via CCM works?
Re: mysql server version compatibility with Nagios XI
I can confirm that setting sql_mode=NO_ENGINE_SUBSTITUTION in /etc/my.cnf has resolved this issue. Would be nice if this was documented somewhere or better fixed, in case other admins run into similar issues.
Thanks again lmiltchev!
Thanks again lmiltchev!
Re: mysql server version compatibility with Nagios XI
I am glad I could help! I am locking this topic.
Be sure to check out our Knowledgebase for helpful articles and solutions!