Page 1 of 1

Recent Alerts refresh

Posted: Wed Mar 11, 2015 6:27 pm
by icecon
Hi

As I understand The Recent Alerts Dashlet displays 15 last alerts from all Connected Nagios Core/XI servers.
My question is what is it's refresh period and how it can be edited to change it and the number of displayed alerts?
Thank you

Re: Recent Alerts refresh

Posted: Thu Mar 12, 2015 1:22 am
by Box293
I don't have an answer for you on the refresh interval.

You can change the number it displays by editing the php code.

Edit the file:

Code: Select all

/usr/local/nagiosfusion/html/includes/dashlets/recentalerts/recentalerts.inc.php
Change this line (66):

Code: Select all

$args['limit'] = 15; //make this a dashlet config option

Re: Recent Alerts refresh

Posted: Thu Jul 14, 2016 5:03 pm
by 455157
Regarding the refresh period, there is a related option in Configure -> System Configuration.

There is one option for the Active Polling Interval (when user logged in), and the Passive Polling Interval (when no-one is logged in).

I'm not sure if this directly correlates to how often the dashlet will refresh though?

Re: Recent Alerts refresh

Posted: Fri Jul 15, 2016 12:06 pm
by tmcdonald
I think the two are independent. This would need to go into a feature request. Want me to file this?