We noticed that after a backup restore procedure (in order to migrate our CentOS 6 to CentOS 7), we are experiencing issues with dashboards. The ssl_error_log says:
Code: Select all
[Tue Jan 29 16:51:34.059550 2019] [:error] [pid 13410] [client 172.19.26.196:58225] PHP Fatal error: Call to a member function xpath() on a non-object in /usr/local/nagiosxi/html/includes/components/graphexplorer/visFunctions.inc.php on line 601, referer: https://mynewnagiosserver.gentgrp.gent.be/nagiosxi/dashboards/dashboard.php?id=TIlKg0
[Tue Jan 29 16:56:33.869741 2019] [:error] [pid 13410] [client 172.19.26.196:58717] PHP Warning: simplexml_load_file(): I/O warning : failed to load external entity "/usr/local/nagios/share/perfdata/myoldnagiosserver.gentgrp.gent.be/SRV_CPU_Stats.xml" in /usr/local/nagiosxi/html/includes/components/graphexplorer/visFunctions.inc.php on line 598, referer: https://mynewnagiosserver.gentgrp.gent.be/nagiosxi/dashboards/dashboard.php?id=TIlKg0
[Tue Jan 29 16:56:33.869779 2019] [:error] [pid 13410] [client 172.19.26.196:58717] PHP Fatal error: Call to a member function xpath() on a non-object in /usr/local/nagiosxi/html/includes/components/graphexplorer/visFunctions.inc.php on line 601, referer: https://mynewnagiosserver.gentgrp.gent.be/nagiosxi/dashboards/dashboard.php?id=TIlKg0
[Tue Jan 29 17:01:33.867485 2019] [:error] [pid 15028] [client 172.19.26.196:59231] PHP Warning: simplexml_load_file(): I/O warning : failed to load external entity "/usr/local/nagios/share/perfdata/myoldnagiosserver.gentgrp.gent.be/SRV_CPU_Stats.xml" in /usr/local/nagiosxi/html/includes/components/graphexplorer/visFunctions.inc.php on line 598, referer: https://mynewnagiosserver.gentgrp.gent.be/nagiosxi/dashboards/dashboard.php?id=TIlKg0Grtz
Willem