Cannot add dashlets to Home dashboard

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Cannot add dashlets to Home dashboard

Post by snapon_admin »

I have a user that cannot add dashlets to his home dashboard. Mine works fine and i've received no complaints from any other users, but I have verified that his does not work. He can add dashlets to any other dashboard he creates, just not home.

CentOS 7
XI 5.6.10
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Cannot add dashlets to Home dashboard

Post by benjaminsmith »

Hello @snapon_admin<

Can you log in or masquerade as this user, run the following tail command try to add a dashlet to his home dashboard, and post the output along with the name of the dashlet?


Also, can you post a screenshot of his security settings for this user? Go to Admin > Manage Users > Security Settings. Thanks.
user-security-settings.png
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: Cannot add dashlets to Home dashboard

Post by snapon_admin »

There's no tail command posted. He's configured as an admin.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Cannot add dashlets to Home dashboard

Post by benjaminsmith »

Hi @snapon_admin,

Sorry about that, here is the command to run:

Code: Select all

tail -f /var/log/httpd/*error_log
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: Cannot add dashlets to Home dashboard

Post by snapon_admin »

Pretty sure this is the relevant bit from that log:

Code: Select all

[Tue Feb 04 10:40:02.376523 2020] [php7:error] [pid 17260] [client 10.0.8.9:55750] PHP Fatal error:  Uncaught Error: Call to undefined function split() in /usr/local/nagiosxi/html/includes/dashlets/textenhanced/textenhanced.inc.php:1167\nStack trace:\n#0 /usr/local/nagiosxi/html/includes/utils-dashlets.inc.php(328): textenhanced_dashlet_func('inboard', 'egr6siq8', Array)\n#1 /usr/local/nagiosxi/html/includes/utils-dashlets.inc.php(274): get_dashlet_output('textenhanced', 'egr6siq8', 'inboard', Array)\n#2 /usr/local/nagiosxi/html/includes/utils-dashlets.inc.php(145): display_dashlet_in('textenhanced', 'egr6siq8', Array, 'inboard')\n#3 /usr/local/nagiosxi/html/includes/utils-dashboards.inc.php(757): display_dashlet('textenhanced', 'egr6siq8', Array, 'inboard')\n#4 /usr/local/nagiosxi/html/includes/utils-dashboards.inc.php(603): display_dashboard_dashlet(8, Array, 1)\n#5 /usr/local/nagiosxi/html/includes/page-home-main.php(69): display_dashboard_dashlets(Array)\n#6 /usr/local/nagiosxi/html/includes/page-home-main.php(17): do_page()\n#7 {main}\n  thrown in /usr/local/nagiosxi/html/includes/dashlets/textenhanced/textenhanced.inc.php on line 1167, referer: https://nagios.snapon.com/nagiosxi/
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Cannot add dashlets to Home dashboard

Post by benjaminsmith »

Hello @snap,

This error is from the Enhanced Text Dashlet. Can you get a screenshot of the input text and layout options specified by the user? It looks like there may be non-standard characters in there causing a parsing error.

Thank you.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: Cannot add dashlets to Home dashboard

Post by snapon_admin »

I think that got it. I'm pretty sure no one here even uses that dashlet so I just removed it from the dashlets page and his home dashboard is now working.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Cannot add dashlets to Home dashboard

Post by benjaminsmith »

Hello @snapon_admin,

Thanks for the update, glad that took care of it. Shall we close this out or did you have any other questions?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: Cannot add dashlets to Home dashboard

Post by snapon_admin »

Nah, go ahead and close it up. Thanks!
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Cannot add dashlets to Home dashboard

Post by benjaminsmith »

Nah, go ahead and close it up. Thanks!
Sounds good. Closing.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked