Widget "Alerts" is blank

I need every time update page manually…
Only widget “Alerts” shows me blank. All other are good.
Changed in php.ini memory limit to 4096M
But it is still blank

Are you the same person from IRC?

Sorry, What is IRC? Chat?
I send messages only here community.librenms.org

Ok just checking to see if you were the same person from irc chat that was having the same issue.

Try deleting the widget and adding it back and if that doesn’t work delete the whole dashboard try it again.

I’m also experiencing this issue. Steps I’ve taken so far:

  • Doubled Apache2 PHP memory from 128 to 256 in php.ini
  • Deleted and recreated dashboard
  • Checked web console of browser for errors, resolved an HSTS issue, but no change in the display symptoms.

Things of note:

It appears that if you add the Alerts widget to the dashboard twice, one of them will always populate.
This is happening to two different users who have two different dashboards.
Problem seen on Mac OS X Firefox and Raspberry Pi Chromium for both users.

PHP Debug log from adding /debug=yes/ to the dashboard URL:

Array ( [errno] => 8 [errstr] => Undefined index: custom_css [errfile] => /opt/librenms/html/index.php [errline] => 136 )
Array ( [errno] => 8 [errstr] => Undefined index: menu [errfile] => /opt/librenms/LibreNMS/Plugins.php [errline] => 82 )
Array ( [errno] => 8 [errstr] => Undefined offset: 1 [errfile] => /opt/librenms/html/pages/front/tiles.php [errline] => 31 )
Array ( [errno] => 8 [errstr] => Undefined index: dashboard [errfile] => /opt/librenms/html/pages/front/tiles.php [errline] => 56 )
4 total PHP issues / errors.

./validate.php output:

Component | Version
--------- | -------
LibreNMS  | 1.31.03-62-gc20ffec
DB Schema | 207
PHP       | 7.0.22-0ubuntu0.16.04.1
MySQL     | 10.0.31-MariaDB-0ubuntu0.16.04.2
RRDTool   | 1.5.5
SNMP      | NET-SNMP 5.7.3

[OK]    Database connection successful
[OK]    Database schema correct

Still can’t replicate.

Browser versions?
What auth type are you using?
Web server and version?

Still troubles

Chromium Version 60.0.3112.113 (Developer Build) Built on Ubuntu , running on LinuxMint 18.2 (64-bit)
Chrome is running on Windows 10

Auth is LDAP

Web server: nginx version: nginx/1.10.3 (Ubuntu)
PHP 7.0.22-0ubuntu0.16.04.1 (cli) ( NTS )

Update and see if this PR https://github.com/librenms/librenms/pull/7379 fixed the issue

1 Like

Generally, the display error occurs within 2-3 minutes. So far, it appears like this has resolve the issue; will update if it does occur again.

It works fine! Thanks a lot!