Another Auto-Discover related issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
stf_792
Posts: 48
Joined: Fri Jul 17, 2015 12:55 pm

Another Auto-Discover related issue

Post 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
You do not have the required permissions to view the files attached to this post.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Another Auto-Discover related issue

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked