Text Dashlet Enhanced no longer working on version 5.8.1

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nagios-retail
Posts: 36
Joined: Mon Feb 09, 2015 3:32 am

Text Dashlet Enhanced no longer working on version 5.8.1

Post 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.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Text Dashlet Enhanced no longer working on version 5.8.1

Post 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
nagios-retail
Posts: 36
Joined: Mon Feb 09, 2015 3:32 am

Re: Text Dashlet Enhanced no longer working on version 5.8.1

Post by nagios-retail »

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

Post by scottwilkerson »

nagios-retail wrote:Super .. that works .. thx
Great!
Closing thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked