Page 1 of 1

Nagios Fusion recent notifications dashlet missing info

Posted: Wed Apr 05, 2017 1:38 am
by harald25
Hi.
I have a Nagios Fusion installation with around 20 Nagios installations connected to it.
All the connected nagios installations are displaying correctly in 'Tactical summary' and 'Top alert producers' dashlets.
But in the 'Recent notifications' dashlet I'm only seing notifications from one of the connected nagios installations. Can you help me solve this?

Re: Nagios Fusion recent notifications dashlet missing info

Posted: Wed Apr 05, 2017 2:39 pm
by mcapra
Can you send us your Apache logs? This command should package them all in the /tmp/43237_1.tar file:

Code: Select all

tar -cvf /tmp/43237_1.tar /var/log/httpd/

Re: Nagios Fusion recent notifications dashlet missing info

Posted: Thu Apr 27, 2017 3:27 am
by harald25
Sorry for my very slow response.
I just fetched and compressed the log files like you requested.
I tried uploading them here on the forum, but it doesn't seem like it worked. Where do you suggest I upload or send the log files?

Re: Nagios Fusion recent notifications dashlet missing info

Posted: Thu Apr 27, 2017 11:49 am
by mcapra
2 forum posts are required to post attachments. Give it another try and see if it sticks.

Re: Nagios Fusion recent notifications dashlet missing info

Posted: Fri Apr 28, 2017 2:24 am
by harald25
Unfortunately I'm still not able to upload the file.
I can se the status of the file being uploaded in the bottom left corner of my browser. But when it reaches 100% the 'upload attachement tab' just closes and the file does not appear anywhere. Any other alternatives?

Re: Nagios Fusion recent notifications dashlet missing info

Posted: Fri Apr 28, 2017 10:50 am
by mcapra
You can also open an email ticket with [email protected] using an authorized email address and send the logs as an attachment. If you're not sure if a particular sender address is authorized, contact [email protected].

If you go the email ticket route, please provide a link to this thread in the message body.

You might also try adjusting the memory limits in /etc/php.ini and restarting the httpd service:

Code: Select all

memory_limit = 128M
Bumping that up can help in some situations, though I'm not sure if it's much use here.

Re: Nagios Fusion recent notifications dashlet missing info

Posted: Thu May 25, 2017 9:23 am
by dwhitfield
Did @mcapra post help you? If you put in a ticket, no need to respond. :)

Re: Nagios Fusion recent notifications dashlet missing info

Posted: Fri May 26, 2017 3:18 am
by harald25
Here is the last 50 lines of /var/log/httpd/error_log

Code: Select all

[root@centnagios httpd]# tail -n 50 error_log
[Sun May 21 03:28:02.718293 2017] [auth_digest:notice] [pid 11728] AH01757: generating secret for digest authentication ...
[Sun May 21 03:28:02.718892 2017] [lbmethod_heartbeat:notice] [pid 11728] AH02282: No slotmem from mod_heartmonitor
[Sun May 21 03:28:02.733805 2017] [mpm_prefork:notice] [pid 11728] AH00163: Apache/2.4.6 (CentOS) PHP/5.4.16 configured -- resuming normal operations
[Sun May 21 03:28:02.733823 2017] [core:notice] [pid 11728] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Mon May 22 08:10:54.083841 2017] [:error] [pid 31307] [client 109.247.171.238:20022] PHP Notice:  unserialize(): Error at offset 14 of 137 bytes in /usr/local/nagiosfusion/html/includes/utils-views.inc.php on line 75, referer: http://195.159.109.15/nagiosfusion/login.php?redirect=/nagiosfusion/views/index.php%3f
[Mon May 22 08:10:54.083872 2017] [:error] [pid 31307] [client 109.247.171.238:20022] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/nagiosfusion/html/views/index.php on line 90, referer: http://195.159.109.15/nagiosfusion/login.php?redirect=/nagiosfusion/views/index.php%3f
[Mon May 22 08:10:55.203777 2017] [:error] [pid 31307] [client 109.247.171.238:20022] PHP Notice:  unserialize(): Error at offset 14 of 137 bytes in /usr/local/nagiosfusion/html/includes/utils-views.inc.php on line 75, referer: http://195.159.109.15/nagiosfusion/views/index.php?
[Mon May 22 08:10:56.420364 2017] [:error] [pid 31307] [client 109.247.171.238:20022] PHP Notice:  unserialize(): Error at offset 14 of 137 bytes in /usr/local/nagiosfusion/html/includes/utils-views.inc.php on line 75, referer: http://195.159.109.15/nagiosfusion/views/index.php?
[Mon May 22 10:50:27.166079 2017] [:error] [pid 16020] [client 109.247.171.238:45332] PHP Notice:  Undefined index: user_id in /usr/local/nagiosfusion/html/includes/utils-dashboards.inc.php on line 14, referer: http://195.159.109.15/nagiosfusion/
[Tue May 23 08:20:26.429899 2017] [:error] [pid 18263] [client 109.247.171.238:31201] PHP Notice:  Undefined index: user_id in /usr/local/nagiosfusion/html/includes/utils-dashboards.inc.php on line 14, referer: http://195.159.109.15/
[Tue May 23 12:40:26.643816 2017] [:error] [pid 7245] [client 109.247.171.238:41083] PHP Notice:  Undefined index: user_id in /usr/local/nagiosfusion/html/includes/utils-dashboards.inc.php on line 14
[Wed May 24 10:49:43.956658 2017] [:error] [pid 25990] [client 195.159.109.2:45307] PHP Notice:  Undefined index: user_id in /usr/local/nagiosfusion/html/includes/utils-dashboards.inc.php on line 14
[Wed May 24 15:09:38.000308 2017] [:error] [pid 10027] [client 109.247.171.238:13105] PHP Notice:  Undefined index: user_id in /usr/local/nagiosfusion/html/includes/utils-dashboards.inc.php on line 14
[Fri May 26 09:07:36.946683 2017] [:error] [pid 1481] [client 109.247.171.238:16044] PHP Notice:  Undefined index: user_id in /usr/local/nagiosfusion/html/includes/utils-dashboards.inc.php on line 14, referer: http://195.159.109.15/nagiosfusion/login.php?redirect=/nagiosfusion/index.php%3f
[Fri May 26 10:13:15.889320 2017] [mpm_prefork:notice] [pid 11728] AH00170: caught SIGWINCH, shutting down gracefully
[Fri May 26 10:13:18.504553 2017] [suexec:notice] [pid 22658] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri May 26 10:13:18.540009 2017] [auth_digest:notice] [pid 22658] AH01757: generating secret for digest authentication ...
[Fri May 26 10:13:18.540624 2017] [lbmethod_heartbeat:notice] [pid 22658] AH02282: No slotmem from mod_heartmonitor
[Fri May 26 10:13:18.569585 2017] [mpm_prefork:notice] [pid 22658] AH00163: Apache/2.4.6 (CentOS) PHP/5.4.16 configured -- resuming normal operations
[Fri May 26 10:13:18.569626 2017] [core:notice] [pid 22658] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Fri May 26 10:14:26.146198 2017] [:error] [pid 22928] [client 109.247.171.238:16664] PHP Notice:  Undefined index: user_id in /usr/local/nagiosfusion/html/includes/utils-dashboards.inc.php on line 14
Could this error be related?
[Fri May 26 10:14:26.146198 2017] [:error] [pid 22928] [client 109.247.171.238:16664] PHP Notice: Undefined index: user_id in /usr/local/nagiosfusion/html/includes/utils-dashboards.inc.php on line 14

Re: Nagios Fusion recent notifications dashlet missing info

Posted: Fri May 26, 2017 10:41 am
by dwhitfield
Usually, notices and warnings are not a problem, but I can certainly do some digging on that.

What version of Fusion are you using? We have a number of customers using the new fusion beta and release candidate, so I just want to be sure I'm testing the right version.

As an aside, the new Fusion is *way* better and what's it's officially released I would highly advise an upgrade...although the dashlets will all be rewritten, so if you have any custom dashlets, that could be an issue.