Page 1 of 1

Another Auto-Discover related issue

Posted: Fri Sep 13, 2019 9:09 am
by stf_792
after I was able to scan subnet and services
(https://support.nagios.com/forum/viewto ... =6&t=55520)

I looked at the results and clicked NEXT

I got error message

Code: Select all

Invalid service name '' on host 
my host name

when I scrolled down to that host, I did not see anything that could cause it.
serviceerror.png
Update:

Tail produce the following

Code: Select all

PHP Warning:  Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini
Undefined index: servicename in /usr/local/nagiosxi/html/includes/configwizards/autodiscovery/autodiscovery.inc.php on line 443
increasing variable size did not make any difference

Re: Another Auto-Discover related issue

Posted: Fri Sep 13, 2019 2:52 pm
by benjaminsmith
Hello,
increasing variable size did not make any difference
Follow the guide below to optimize the PHP settings. In addition to max_input_vars, increase the memory_limit, max_execution_time and max_input_time and make sure restart Apache after making those changes. Let us know the results.

Nagios XI - Optimizing The PHP Settings File