Moderator Edit: This thread has been split from another - https://support.nagios.com/forum/viewto ... 16&t=45029
In the future, please create a new thread and link to the old one instead of adding on.
Has this PHP errors been fixed?
Likely we have the same sort of kind problem.
Most of the entries that get clicked in the Core config manager. Entries inside: Host Templates, Service Templates, Host Groups, Hosts, Services... take too long to load and so being displayed. Every entry that takes too long to load there are errors like:
PHP Warning: Invalid argument supplied for foreach() in /NAGIOS/nagiosxi/html/includes/utils-macros.inc.php on line 34, referer: http://HOSTNAME/nagiosxi/includes/compo ... sttemplate
PHP Warning: explode() expects parameter 2 to be string, array given in /NAGIOS/nagiosxi/html/includes/utils-macros.inc.php on line 33, referer: http://HOSTNAME//nagiosxi/includes/comp ... cetemplate
PHP Warning: Invalid argument supplied for foreach() in /NAGIOS/nagiosxi/html/includes/utils-macros.inc.php on line 34, referer: http://HOSTNAME/nagiosxi/includes/compo ... cetemplate
There are entries in which we don't have this problem. Entries inside: Service groups, Contact Templates, >_Commands...
Our Nagios version is XI 5.4.8.
Can't Create Any Hosts Or Services
Can't Create Any Hosts Or Services
Last edited by santec on Wed Oct 18, 2017 2:08 pm, edited 1 time in total.
-
kyang
Re: Can't Create Any Hosts Or Services
When did you start noticing this error?
Could you PM your profile? You can download it by going to Admin > System Config > System Profile and click the Download Profile button in the top right corner
Could you PM your profile? You can download it by going to Admin > System Config > System Profile and click the Download Profile button in the top right corner