I am attempting to create some dashboards with performance graphs. Some of these dashboards have a lot of elements in them and when I attempt to clone them it wipes out all my dashboard. Am i reaching some sort of limitation in regards to how many dashboards/dashlets one can have configured? I'm seeing the following errors in http error log:
[Wed Apr 05 20:57:30 2017] [error] [client x.x.x.x] PHP Notice: unserialize(): Error at offset 65492 of 65535 bytes in /usr/local/nagiosxi/html/includes/utils-dashboards.inc.php on line 269, referer: http://x.x.x.x/nagiosxi/dashboards/manage.php
[Wed Apr 05 20:57:30 2017] [error] [client x.x.x.x] PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/utils-dashboards.inc.php on line 273, referer: http://x.x.x.x/nagiosxi/dashboards/manage.php
[Wed Apr 05 20:57:30 2017] [error] [client x.x.x.x] PHP Notice: Undefined variable: home_id in /usr/local/nagiosxi/html/includes/utils-dashboards.inc.php on line 283, referer: http://x.x.x.x/nagiosxi/dashboards/manage.php
[Wed Apr 05 20:57:30 2017] [error] [client x.x.x.x] PHP Warning: array_multisort(): Argument #1 is expected to be an array or a sort flag in /usr/local/nagiosxi/html/includes/utils-dashboards.inc.php on line 285, referer: http://x.x.x.x/nagiosxi/dashboards/manage.php
[Wed Apr 05 20:57:30 2017] [error] [client x.x.x.x] PHP Warning: array_reverse() expects parameter 1 to be array, boolean given in /usr/local/nagiosxi/html/includes/utils-dashboards.inc.php on line 288, referer: http://x.x.x.x/nagiosxi/dashboards/manage.php
[Wed Apr 05 20:57:30 2017] [error] [client x.x.x.x] PHP Notice: Undefined variable: home in /usr/local/nagiosxi/html/includes/utils-dashboards.inc.php on line 289, referer: http://x.x.x.x/nagiosxi/dashboards/manage.php
[Wed Apr 05 20:57:31 2017] [error] [client x.x.x.x] PHP Notice: unserialize(): Error at offset 65492 of 65535 bytes in /usr/local/nagiosxi/html/includes/utils-dashboards.inc.php on line 269, referer: http://x.x.x.x/nagiosxi/dashboards/
[Wed Apr 05 20:57:31 2017] [error] [client x.x.x.x] PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/utils-dashboards.inc.php on line 273, referer: http://x.x.x.x/nagiosxi/dashboards/
[Wed Apr 05 20:57:31 2017] [error] [client x.x.x.x] PHP Notice: Undefined variable: home_id in /usr/local/nagiosxi/html/includes/utils-dashboards.inc.php on line 283, referer: http://x.x.x.x/nagiosxi/dashboards/
[Wed Apr 05 20:57:31 2017] [error] [client x.x.x.x] PHP Warning: array_multisort(): Argument #1 is expected to be an array or a sort flag in /usr/local/nagiosxi/html/includes/utils-dashboards.inc.php on line 285, referer: http://x.x.x.x/nagiosxi/dashboards/
[Wed Apr 05 20:57:31 2017] [error] [client x.x.x.x] PHP Warning: array_reverse() expects parameter 1 to be array, boolean given in /usr/local/nagiosxi/html/includes/utils-dashboards.inc.php on line 288, referer: http://x.x.x.x/nagiosxi/dashboards/
[Wed Apr 05 20:57:31 2017] [error] [client x.x.x.x] PHP Notice: Undefined variable: home in /usr/local/nagiosxi/html/includes/utils-dashboards.inc.php on line 289, referer: http://x.x.x.x/nagiosxi/dashboards/
Thanks
Dashboard Issue
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Dashboard Issue
There seem to be multiple errors:
^ That one indicates the dashboard failed to unserialize. Could be because of DB column type.
^ That one indicates you don't have a home dashboard, which is sort of needed.
Code: Select all
PHP Notice: unserialize(): Error at offset 65492 of 65535 bytes in /usr/local/nagiosxi/html/includes/utils-dashboards.inc.php Code: Select all
PHP Notice: Undefined variable: home in /usr/local/nagiosxi/html/includes/utils-dashboards.inc.php Previous Nagios employee
Re: Dashboard Issue
I have a home dashboard prior to attempting to clone. 1st clone attempt works then when i try to clone again it erases all my previous dashboards and just leaves home dashboard.
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Dashboard Issue
I think you may need to do the steps referenced in this post and not the following ones first.
https://support.nagios.com/forum/viewto ... 95#p185025
The above is assuming dashboards are in a working state to begin with. If they are not you should make them so first including the home dashboard. If you need it, I can give you the SQL needed to restore default dashboards.
https://support.nagios.com/forum/viewto ... 95#p185025
The above is assuming dashboards are in a working state to begin with. If they are not you should make them so first including the home dashboard. If you need it, I can give you the SQL needed to restore default dashboards.
Previous Nagios employee
Re: Dashboard Issue
That resolved my issue.
Thanks
Thanks
Re: Dashboard Issue
Glad to hear it has been resolved. Can we go ahead and lock the thread or did you have any follow up questions?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.