Graph Explorer not working after upgrade to Nagios XI 5.2.6

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
DennisPR
Posts: 149
Joined: Mon May 07, 2012 10:34 am

Graph Explorer not working after upgrade to Nagios XI 5.2.6

Post by DennisPR »

Hi,

I seem to have a problem with the Graph Explorer after upgrading XI to version 5.2.6 (on 2 seperate XI machines)
The host statistics still work but I can't access data of all services anymore.
If I select a service I get "XSS Detected. Object does not exist" io the perfomance graph

Regards

Dennis
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Graph Explorer not working after upgrade to Nagios XI 5.

Post by tmcdonald »

Run this as root on the CLI: sed -i 's/nagiosccm_get_service_id/get_service_id/' /usr/local/nagiosxi/html/includes/components/graphexplorer/visFunctions.inc.php and let us know.

Known issue, will be fixed in the next release. There might be a few other files that need modifying, so if this does not work we'll have to wait for the devs to look closer.


New fix, this one should do it: sed -i 's/exit.*//' /usr/local/nagiosxi/html/includes/components/graphexplorer/visFunctions.inc.php
Former Nagios employee
DennisPR
Posts: 149
Joined: Mon May 07, 2012 10:34 am

Re: Graph Explorer not working after upgrade to Nagios XI 5.

Post by DennisPR »

That solved the issue. Thx !
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Graph Explorer not working after upgrade to Nagios XI 5.

Post by tmcdonald »

We just released a quick hotfix release, 5.2.7 that should have this fix in it as well, so if you want to update to that you can do so.

Otherwise, are we all clear to close this thread?
Former Nagios employee
DennisPR
Posts: 149
Joined: Mon May 07, 2012 10:34 am

Re: Graph Explorer not working after upgrade to Nagios XI 5.

Post by DennisPR »

Yes it can be closed thx!
Locked