SQL error when trying to deply notification settings

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nagiosEngie
Posts: 104
Joined: Thu May 03, 2018 7:57 am

SQL error when trying to deply notification settings

Post by nagiosEngie »

Hello Nagios Crew,
I am having some problems in Deplying to users my notification settings.
When I select a user and click on "Deploy Preferences" I will get this message (sql error 01.jpg):

SQL Error [nagiosxi] : You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1

Any solution?

Thanks
Sandro
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: SQL error when trying to deply notification settings

Post by lmiltchev »

Is this a new install or an upgrade from an old XI system?

Run the following commands from the command line on the Nagios XI server and show the output in code wraps:

Code: Select all

uname -a
cat /etc/*release
mysql -V
cat /etc/my.cnf
echo "show global variables like '%mode%';"|mysql -t -uroot -pnagiosxi
tail /var/log/mariadb/mariadb.log
Be sure to check out our Knowledgebase for helpful articles and solutions!
nagiosEngie
Posts: 104
Joined: Thu May 03, 2018 7:57 am

Re: SQL error when trying to deply notification settings

Post by nagiosEngie »

Hello lmiltchev,
this is a new install version 5.5.0.
I will PM you the results.

Sandro
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: SQL error when trying to deply notification settings

Post by lmiltchev »

Thanks, Sandro! We reviewed the info you sent us, and didn't find anything wrong with it. It all looks normal. Can you also PM me the entire apache error log (/var/log/httpd/error_log)?
Be sure to check out our Knowledgebase for helpful articles and solutions!
nagiosEngie
Posts: 104
Joined: Thu May 03, 2018 7:57 am

Re: SQL error when trying to deply notification settings

Post by nagiosEngie »

Hello,
I found out that exporting contacts dose not include users associated to those contacts (my bad). I imported a long list of contacts but did not create the relative users. Once created users every thing went on with no errors.

Thanks
Sandro
PS you can lock the post at your pleasure
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: SQL error when trying to deply notification settings

Post by lmiltchev »

I am glad to hear your issue has been resolved! I am locking this topic.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked