Page 1 of 1

Text Dashlet Enhanced no longer working on version 5.8.1

Posted: Mon Feb 22, 2021 10:21 am
by nagios-retail
We are seeing problems with the Text Dashlets on Nagios 5.8.1 and running PHP 7.4
When trying to add a Enhanced Text Dashled it only displays a blue window without the title.
When trying to use the normal Text Dashlet and selection Black as text it does add the dashlet but in color grey.
This issue can be duplicated on other servers.

Re: Text Dashlet Enhanced no longer working on version 5.8.1

Posted: Mon Feb 22, 2021 7:26 pm
by ssax
Those are 3rd party dashlets that need to be updated by the author to support PHP 7+.

You can do this to fix the enhanced one:

Code: Select all

sed -i 's/split/explode/g' /usr/local/nagiosxi/html/includes/dashlets/textenhanced/textenhanced.inc.php
The opacity on the dashlet is set to 0.5, that's why it's gray, you can do this to fix it:

Code: Select all

sed -i 's/0.5/100/g' /usr/local/nagiosxi/html/includes/dashlets/text.inc.php

Re: Text Dashlet Enhanced no longer working on version 5.8.1

Posted: Tue Feb 23, 2021 4:18 am
by nagios-retail
Super .. that works .. thx

Re: Text Dashlet Enhanced no longer working on version 5.8.1

Posted: Tue Feb 23, 2021 7:10 am
by scottwilkerson
nagios-retail wrote:Super .. that works .. thx
Great!
Closing thread