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.
Text Dashlet Enhanced no longer working on version 5.8.1
-
nagios-retail
- Posts: 36
- Joined: Mon Feb 09, 2015 3:32 am
Re: Text Dashlet Enhanced no longer working on version 5.8.1
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:
The opacity on the dashlet is set to 0.5, that's why it's gray, you can do this to fix it:
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.phpCode: Select all
sed -i 's/0.5/100/g' /usr/local/nagiosxi/html/includes/dashlets/text.inc.php-
nagios-retail
- Posts: 36
- Joined: Mon Feb 09, 2015 3:32 am
Re: Text Dashlet Enhanced no longer working on version 5.8.1
Super .. that works .. thx
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Text Dashlet Enhanced no longer working on version 5.8.1
Great!nagios-retail wrote:Super .. that works .. thx
Closing thread