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
Recent Alerts refresh
- icecon
- Posts: 4
- Joined: Wed Mar 04, 2015 5:54 pm
- Location: Milpitas, California, United States
- Contact:
Recent Alerts refresh
Sincerely,
ICE Consulting
ICE Consulting
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Recent Alerts refresh
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:
Change this line (66):
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.phpCode: Select all
$args['limit'] = 15; //make this a dashlet config optionAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Recent Alerts refresh
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?
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
I think the two are independent. This would need to go into a feature request. Want me to file this?
Former Nagios employee