Recent Alerts refresh

This support forum board is for questions relating to Nagios Fusion.
Locked
User avatar
icecon
Posts: 4
Joined: Wed Mar 04, 2015 5:54 pm
Location: Milpitas, California, United States
Contact:

Recent Alerts refresh

Post 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
Sincerely,
ICE Consulting
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Recent Alerts refresh

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
455157
Posts: 51
Joined: Mon Sep 10, 2012 7:35 pm

Re: Recent Alerts refresh

Post 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?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Recent Alerts refresh

Post by tmcdonald »

I think the two are independent. This would need to go into a feature request. Want me to file this?
Former Nagios employee
Locked