Page 1 of 1

Dashboard disappering - Nagios XI

Posted: Fri Oct 14, 2016 5:26 am
by InesDiLorenzo89
Good morning,
I would like to alert you about a problem with dashboard Nagios. In two occurrencies all custom dashboard disappear and me and my team are forced to recreate them.
I read the following topic about this problem but I don’t understand the root cause of problem.

https://support.nagios.com/forum/viewto ... 16&t=38695

https://support.nagios.com/forum/viewto ... 37&t=39447


In the attachment there are the information about xi_metadata and the error_log and ssl_error_log of httpd.

It’s possible verify and help me to fix this problem? This is very critical for the customer.

Thanks
Ines

Re: Dashboard disappering - Nagios XI

Posted: Fri Oct 14, 2016 12:24 pm
by avandemore
Post the value of memory_limit = in /etc/php.ini. Make a backup of this file eg cp -p /etc/php.ini /etc/php.ini.orig. Now double the value, save the file and restart apache with service httpd restart. Test your dashboards. Did this help?

Re: Dashboard disappering - Nagios XI

Posted: Thu Nov 10, 2016 8:45 am
by InesDiLorenzo89
Unfortunately, this solution does not solve the problem

Re: Dashboard disappering - Nagios XI

Posted: Thu Nov 10, 2016 5:16 pm
by avandemore
Can you please submit the current content of the same files again?

Re: Dashboard disappering - Nagios XI

Posted: Wed Nov 16, 2016 9:14 am
by InesDiLorenzo89
Hi,
i send you a file with our configuration.
Thank you

Re: Dashboard disappering - Nagios XI

Posted: Wed Nov 16, 2016 11:52 am
by rkennedy
The zip does not include your php.ini file, please post your /etc/php.ini file for us to review.

Re: Dashboard disappering - Nagios XI

Posted: Wed Nov 16, 2016 4:56 pm
by nietonoshana
Disappeared for all users or just for some,

In the case that it is only to some the following command can help you

echo "alter table xi_usermeta modify keyvalue LONGTEXT;" | mysql -uroot -pnagiosxi nagiosxi

That does not recover the dashboards that already had but allows you to have a greater number of elements in the dashboards without disappearing per user

If your problem is similar

You have checked this post
https://support.nagios.com/forum/viewto ... =6&t=39490

In the comment how to recover the lost data

Re: Dashboard disappering - Nagios XI

Posted: Wed Nov 16, 2016 5:36 pm
by bwallace
Thanks nietonoshana - OP, lets us know if that works for you or not. If not, please post your /etc/php.ini file for us to review as it was not within the zip file you sent earlier, thanks.