Hi,
I've been adding a lot of switches to our Nagios install in the last couple of days.
When I tried to add my 30th~ or so switch the Configuration Verification failed. Now normally it would create the snapshot and I could troubleshoot what was wrong, but it's not creating the failed snapshot.
I removed the switch service/hosts and the Configuration Verification still fails, still not generating a the failed snapshot result.
Any ideas?
Also, is there a limit to the number of hosts/services nagios can support?
Nagios Apply Configuration Issue
Re: Nagios Apply Configuration Issue
There is no limit to the number of hosts/services that Nagios can support. Try running the Write Config Tool to see what kind of error you will get. Go to:
Core Config Manager->Tools->Write Config Files, click on the 4 "Go" buttons and post the output, so we can review it.
Core Config Manager->Tools->Write Config Files, click on the 4 "Go" buttons and post the output, so we can review it.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios Apply Configuration Issue
Ok, when I click on "Go" for "Write Monitoring Data" it attempts that for a minute or so and then just blanks that frame out.
I didn't proceed with the other steps, should I?
I didn't proceed with the other steps, should I?
Re: Nagios Apply Configuration Issue
I'm guessing you're hitting either a PHP timeout or memory limit. You can verify this by checking /var/log/httpd/error_log.
Take a look at the following solution and see if it resolves the issue.
http://support.nagios.com/wiki/index.ph ... _Completes
Take a look at the following solution and see if it resolves the issue.
http://support.nagios.com/wiki/index.ph ... _Completes
Re: Nagios Apply Configuration Issue
That seems to have resolved the problem.
In the /etc/php.ini
I upped the values to:
max_execution_time = 360
max_input_time = 360
memory_limit = 512M
and commented out
; Up the memory limit
; memory_limit = 64M
at the bottom.
So we're already up to 3k~ services.
As we add more switches, should we expect to have to up these values even more at the load increases? Are there any other variables that would affect this as well?
In the /etc/php.ini
I upped the values to:
max_execution_time = 360
max_input_time = 360
memory_limit = 512M
and commented out
; Up the memory limit
; memory_limit = 64M
at the bottom.
So we're already up to 3k~ services.
As we add more switches, should we expect to have to up these values even more at the load increases? Are there any other variables that would affect this as well?
Re: Nagios Apply Configuration Issue
mccollege,
You won't have to up these values unless you apply configuration for a massive number of hosts AT ONCE. With the values you've set in your php.ini file, you should be fine.
You won't have to up these values unless you apply configuration for a massive number of hosts AT ONCE. With the values you've set in your php.ini file, you should be fine.
Be sure to check out our Knowledgebase for helpful articles and solutions!