Hello, I am running v5.5.8, 64 bit, VM, CentOS 7.
I have been asked if the Latest Alerts component could be modified to show only critical states.
Is that a change that might be made by the developer?
Is it possible for me to get access to the code for that component?
Earl
Latest Alerts component question
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Latest Alerts component question
The code is here
/usr/local/nagiosxi/html/includes/components/latestalerts/
To change to only critical for the services you would edit line 221 of /usr/local/nagiosxi/html/includes/components/latestalerts/latestalerts.inc.php from this
to this
/usr/local/nagiosxi/html/includes/components/latestalerts/
To change to only critical for the services you would edit line 221 of /usr/local/nagiosxi/html/includes/components/latestalerts/latestalerts.inc.php from this
Code: Select all
$backendargs["current_state"] = "in:1,2,3";Code: Select all
$backendargs["current_state"] = "in:2";-
Bitflogger
- Posts: 226
- Joined: Mon Oct 16, 2017 9:24 am
Re: Latest Alerts component question
Wow! Thanks!
Please lock the case.
Earl
Please lock the case.
Earl
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Latest Alerts component question
Locking threadBitflogger wrote:Wow! Thanks!
Please lock the case.
Earl