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 !
Nagvis: network error - failed to execute ajax call
Re: Nagvis: network error - failed to execute ajax call
Nagvis v1.9.39
Re: Nagvis: network error - failed to execute ajax call
sorted the issue by updating to php72 - looks like some of the php configs have syntax that the earlier versions don't like
Re: Nagvis: network error - failed to execute ajax call
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.
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.