Nagvis: network error - failed to execute ajax call

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
kanners
Posts: 3
Joined: Mon Jan 22, 2024 12:48 am

Nagvis: network error - failed to execute ajax call

Post by kanners »

Hi guys i'm trying to get nagvis running on an already setup nagios server running on centos 7

The web gui loads up ok until you login, then the immediate page will load up with a pop up error:
Network error - failed to execute ajax call. Maybe a network issue or webserver is not available. http status code 500
URL:/nagvis/server/core/ajax_handler.php?mod=Overview&act=getObjectStates&i[]=map-demo-worldmap&_ajaxid=1705902458

httpd logs look like this:

[Mon Jan 22 05:47:40.698281 2024] [:error] [pid 1892] [client 10.89.255.146:51077] PHP Parse error: syntax error, unexpected 'list' (T_LIST) in /usr/local/nagvis/share/server/core/classes/CoreModMultisite.php on line 226, referer: http://xxxxxxx.xxxxxxx.xxxxxx.xxxx.xxx/ ... /index.php
[deprecated]

any help is appreciated, thanks folks !
User avatar
danderson
Posts: 111
Joined: Wed Aug 09, 2023 10:05 am

Re: Nagvis: network error - failed to execute ajax call

Post by danderson »

Thanks for reaching out @kanners,

Do you know what version of Nagvis you have?
kanners
Posts: 3
Joined: Mon Jan 22, 2024 12:48 am

Re: Nagvis: network error - failed to execute ajax call

Post by kanners »

Nagvis v1.9.39
kanners
Posts: 3
Joined: Mon Jan 22, 2024 12:48 am

Re: Nagvis: network error - failed to execute ajax call

Post by kanners »

sorted the issue by updating to php72 - looks like some of the php configs have syntax that the earlier versions don't like
sgardil
Posts: 143
Joined: Wed Aug 09, 2023 9:58 am

Re: Nagvis: network error - failed to execute ajax call

Post by sgardil »

Hey @kanners

Thanks for updating us with your findings. We will look into this more but we can't guarantee that we can add it on our end since nagvis is a third-party software we use. It is great to find a solution for the issue that happens on systems still using php 5.
Post Reply