Hi,
I have monitor my linux server through Nagios XI. when i shut down my server, service status ( Nagios XI )its not immediately take effect.
Note:
i edited Monitoring Settings also ( as 1 min )
Thanks in advance
Linux Server -Service status Delay
-
sathiyaraj
- Posts: 17
- Joined: Tue Feb 12, 2013 8:03 am
- Location: Bangalore, INDIA
Re: Linux Server -Service status Delay
How immediate? If the host alive checks are set to one minute, XI should register the critical within 1 minute of the server shutting down. The details page in XI could take up to another 30 seconds or so to update the information. This is the expected behavior, does your experience differ?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
sathiyaraj
- Posts: 17
- Joined: Tue Feb 12, 2013 8:03 am
- Location: Bangalore, INDIA
Re: Linux Server -Service status Delay
Host status is immediately down. but services taking so late to update.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Linux Server -Service status Delay
Did you edit the check_interval for all of the services too or just the host?
-
sathiyaraj
- Posts: 17
- Joined: Tue Feb 12, 2013 8:03 am
- Location: Bangalore, INDIA
Re: Linux Server -Service status Delay
Check Interval in Nagios Server Right..? Its defines 1 mins..
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Linux Server -Service status Delay
What are the check_interval is defined independenly for the service and host checks. Along with the service's check_interval, what is your retry_interval and max_check_attempts. The math behind this would be [inital check_interval time]+(retry_interval * max_check_attempts). Finally how long is it taking for a service check to fail after the host is down?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
sathiyaraj
- Posts: 17
- Joined: Tue Feb 12, 2013 8:03 am
- Location: Bangalore, INDIA
Re: Linux Server -Service status Delay
I defined 1 minutes interval..Is there any option to check with in seconds..? But my case, server status down after 5 mins only..
Re: Linux Server -Service status Delay
From: http://nagios.sourceforge.net/docs/3_0/configmain.html
So you can change the interval_length to 1 in your nagios.cfg file and checks intervals will be measured in seconds (remember to change your check intervals!). A warning though, you can very easily overload your box and the ones you are checking if you do not handle this changed setting with care. I would highly suggest that you consider long and hard about doing checks more frequently than 15 or 20 seconds. And as you add more checks, this will become a bigger problem with nagios server's load.Timing Interval Length
Format: interval_length=<seconds>
Example: interval_length=60
This is the number of seconds per "unit interval" used for timing in the scheduling queue, re-notifications, etc. "Units intervals" are used in the object configuration file to determine how often to run a service check, how often to re-notify a contact, etc.
Important: The default value for this is set to 60, which means that a "unit value" of 1 in the object configuration file will mean 60 seconds (1 minute). I have not really tested other values for this variable, so proceed at your own risk if you decide to do so!
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.