Hello
I have loaded a backup from a Nagios XI on Centos 6 to a NagiosXI (version 5.7.5) with Centos8, since then there has been an error in Nagvis (ERROR:SYNTAX ERROR - Invalid JSON response). Is this a known problem?
Nagvis Syntax Error
Nagvis Syntax Error
You do not have the required permissions to view the files attached to this post.
Re: Nagvis Syntax Error
Did you run the restore_repair script from the backup/restore guide after restoring to recompile your binaries after migrating to the new server?
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Did you set your sql_mode="" for the version of mysqld that is installed on EL8? (you need to on EL8 if you haven't)
https://support.nagios.com/kb/article/n ... n-822.html
Please PM me a copy of your profile, you can download it from Admin > System Profile by clicking the Download Profile button.
Attach this file as well:
You can also try adding this to your /etc/my.cnf.d/client.cnf file under the [client] section:
Then restart mysqld:
See if that helps.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Did you set your sql_mode="" for the version of mysqld that is installed on EL8? (you need to on EL8 if you haven't)
https://support.nagios.com/kb/article/n ... n-822.html
Please PM me a copy of your profile, you can download it from Admin > System Profile by clicking the Download Profile button.
Attach this file as well:
Code: Select all
/usr/local/nagvis/etc/nagvis.ini.phpCode: Select all
init-connect='SET NAMES utf8'Code: Select all
systemctl restart mysqldRe: Nagvis Syntax Error
I had already executed the restore_repair.sh script. The entry in the client.cnf did not help.
I send system profiles by PM
I send system profiles by PM
Re: Nagvis Syntax Error
Ok, I'll keep an eye out for the profiles, I don't currently see a PM yet from you.
Re: Nagvis Syntax Error
Sending a private message does not work for me. Is there another way to send the data securely?
Re: Nagvis Syntax Error
We do not have a method for you to share with us, you could use dropbox or any other method you are allowed to share with us. I'll PM you my email address but make sure to reply to the ticket because I don't check my email often, we work out of our ticketing system.
Re: Nagvis Syntax Error
The problem has been solved, after an upgrade to version 5.8.0 Nagvis works again without Errors
Re: Nagvis Syntax Error
That's great to hear, thank you for posting your update. Are we okay to close this and mark it as resolved?