Nagios restart doubt
-
- Posts: 176
- Joined: Sat Jun 20, 2015 9:04 pm
Nagios restart doubt
Hello Experts,
Is it compulsory to restart the nagios service whenever we make any changes in configuration files or Is there any other way to reload the configuration files?
I am asking this because If I start monitoring 200 servers at a time and I restart a nagios. It might take time to reload the Nagios. Am I correct? Please correct me if I am misunderstanding the concepts. I want to understand this very clearly as I have to monitor huge number of servers.
Thanks for all you help..
Is it compulsory to restart the nagios service whenever we make any changes in configuration files or Is there any other way to reload the configuration files?
I am asking this because If I start monitoring 200 servers at a time and I restart a nagios. It might take time to reload the Nagios. Am I correct? Please correct me if I am misunderstanding the concepts. I want to understand this very clearly as I have to monitor huge number of servers.
Thanks for all you help..
Re: Nagios restart doubt
Correct, you need to restart Nagios when you make configuration changes, it really shouldn't take that long to start as long as your using Nagios Core 4.x.
I've heard Core can handle around 100,000 checks and should be able to start that in less than 10 seconds, I'm testing this now.
I've heard Core can handle around 100,000 checks and should be able to start that in less than 10 seconds, I'm testing this now.
-
- Posts: 176
- Joined: Sat Jun 20, 2015 9:04 pm
Re: Nagios restart doubt
Ok Sir, Thanks for that..
Yes I am using Nagios 4.0.8
Please let me know after you test So I can rely on this otherwise it will be very difficult to restart the service if number of servers increases.
You can lock this thread once you post after checking.
Thanks for all your help. As it was simple question but it was very helpful for me.
Yes I am using Nagios 4.0.8
Please let me know after you test So I can rely on this otherwise it will be very difficult to restart the service if number of servers increases.
You can lock this thread once you post after checking.
Thanks for all your help. As it was simple question but it was very helpful for me.
Re: Nagios restart doubt
Virtual Machine - 2 Cores, 2 GB RAM
100,000 hosts (host checks only)
------
I also created a RAMDisk to test how quickly it would load with all the config files in there to simulate faster disks, we only have 7200 RPM hard drives in our system.
The disk IO is definitely the bottleneck
-----
Here is 10,000 hosts (without RAMDisk):
[root@ssc66c ramdisk]# time service nagios start
Starting nagios: done.
------
Here is 20,000 hosts (without RAMDisk):
[root@ssc66c ramdisk]# time service nagios start
Starting nagios: done.
------
What is the likelihood of you running 100,000 checks?
100,000 hosts (host checks only)
Code: Select all
[root@ssc66c myhost]# time service nagios start
Starting nagios: done.
real 3m23.105s
user 3m20.020s
sys 0m2.610s
I also created a RAMDisk to test how quickly it would load with all the config files in there to simulate faster disks, we only have 7200 RPM hard drives in our system.
Code: Select all
[root@ssc66c myhost]# time service nagios start
Starting nagios: done.
real 0m9.776s
user 0m4.499s
sys 0m4.819s
-----
Here is 10,000 hosts (without RAMDisk):
[root@ssc66c ramdisk]# time service nagios start
Starting nagios: done.
Code: Select all
real 0m1.587s
user 0m1.183s
sys 0m0.398s
Here is 20,000 hosts (without RAMDisk):
[root@ssc66c ramdisk]# time service nagios start
Starting nagios: done.
Code: Select all
real 1m49.800s
user 0m12.041s
sys 0m13.756s
What is the likelihood of you running 100,000 checks?
-
- Posts: 176
- Joined: Sat Jun 20, 2015 9:04 pm
Re: Nagios restart doubt
Thanks Sir..
For clearing my doubts.
For clearing my doubts.
-
- Posts: 176
- Joined: Sat Jun 20, 2015 9:04 pm
Re: Nagios restart doubt
Yes sir.. You can close this.
1 more simple question I have.
Can I randomize the checks that nagios does. Means I want some services to monitored in 10 min gap and then other services in next 10 min. Is there any option to do this.
1 more simple question I have.
Can I randomize the checks that nagios does. Means I want some services to monitored in 10 min gap and then other services in next 10 min. Is there any option to do this.
-
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Nagios restart doubt
I'm going to close this thread.
If this link doesn't answer your question please open a new thread accordingly.yunushaikh wrote:Can I randomize the checks that nagios does. Means I want some services to monitored in 10 min gap and then other services in next 10 min. Is there any option to do this.
-
- Posts: 176
- Joined: Sat Jun 20, 2015 9:04 pm
Re: Nagios restart doubt
Ok thanks. You can close this thread