Page 1 of 1
performance graph not load when upgrade to 5.11.3
Posted: Thu Nov 23, 2023 3:44 am
by dimsum
Hi,
I have a problem with the performance graph with the name in space e.g. abc123 is working but abc 123 is not working see my picture ss.
My point: If the hostname has space all of the service is not working. It has affected with old host and the new host also.
Any idea please advise.
Re: performance graph not load when upgrade to 5.11.3
Posted: Tue Nov 28, 2023 11:14 am
by danderson
Thanks for reaching out,
This is a known bug and is being worked on.
Re: performance graph not load when upgrade to 5.11.3
Posted: Thu Dec 14, 2023 5:29 am
by vlions
Hi,
Do you have an update for us yet?
It is not solved in the new version 2024R1, it doesn't seem like a very difficult problem to me.
Re: performance graph not load when upgrade to 5.11.3
Posted: Fri Dec 15, 2023 10:53 am
by sgardil
We do not give an time frame for updates as there are many things being worked on. If you would like to keep an eye out for a potential fix then you can check out our change log whenever new versions are released.
https://www.nagios.com/changelog/
Re: performance graph not load when upgrade to 5.11.3
Posted: Mon Dec 18, 2023 6:34 pm
by vappukuttan
Hello,
I am hoping this is being worked on as a priority bug. Not sure why this would not be on the top of the list (and why it didnt come out in the 2024R1 already). How can you work/use Nagios XI, if the timeline/performance graphs are broken.
Atleast a work-around or steps to put a work-around would be great.
Thanks,
Vinod
Re: performance graph not load when upgrade to 5.11.3
Posted: Tue Dec 19, 2023 1:15 pm
by gwesterman
Hi y'all,
To fix this issue, you can edit the file
Code: Select all
nagiosxi/html/includes/components/graphexplorer/graphexplorer.inc.php
and add the line
Code: Select all
$host = pnp_convert_object_name($host);
to line 97. Between these two chunks of code:
Code: Select all
// Bail if we don't have permissions
if (!is_authorized_for_host(0, $host) && !is_authorized_for_service(0, $host, $service)) {
return;
}
<-- PUT CODE HERE -->
//clean input
$host = urlencode($host);
$service = urlencode($service);
$service = empty($service) ? '_HOST_' : $service;
If you don't feel comfortable making this change, the fix will be in XI 2024R1.0.1.
Thank you!
Re: performance graph not load when upgrade to 5.11.3
Posted: Tue Dec 19, 2023 6:07 pm
by vappukuttan
Hello,
Thank you very much. My Nagios XI instance is good again

.
Thank you,