Page 2 of 4
Re: NRDS Passive check
Posted: Sat Dec 14, 2013 12:22 pm
by nagarjuna
Actually we enabled freshness checks in nagios.cfg file for host and services, and from CCM
xiwizard_passive_host host template and
xiwizard_passive_service service template.
my query is :
I want to enable freshness checks only for NRDS passive checks, not for active checks, IS it possible, if yes please let us know.
We are facing very high latency, as i mentioned earlier..
Re: NRDS Passive check
Posted: Mon Dec 16, 2013 10:07 am
by scottwilkerson
nagarjuna wrote:my query is :
I want to enable freshness checks only for NRDS passive checks, not for active checks, IS it possible, if yes please let us know.
We are facing very high latency, as i mentioned earlier..
Enabling freshness in the xiwizard_passive_host host template and
xiwizard_passive_service service template should do it, but you want your freshness threshold to be something higher than the amount of seconds between checks. e.g. if you have 5 minute checks, your freshness threshold should be more than 300
Re: NRDS Passive check
Posted: Mon Dec 16, 2013 12:16 pm
by nagarjuna
Thank you very much sir, we have configured host with 5 min check interval, so that as you told, i mentioned freshness 7 min(420 sec), and latency got lower than before.
Is it nessasory to mentioned following things in nagios.cfg file?
check_service_freshness=1
check_host_freshness=1
I dont want to mentioned globally, is it working without mentioning in nagios.cfg file? My intention to mention freshness check only for passive checks, not for active?
Re: NRDS Passive check
Posted: Mon Dec 16, 2013 12:24 pm
by slansing
Yes it is, just make sure not to enable it on your hosts/services that you do not want freshness on since you will be using templates. This should not happen as you are modifying the passive templates, just be sure to double check! More info on freshness checks can be found here:
http://nagios.sourceforge.net/docs/3_0/freshness.html
Re: NRDS Passive check
Posted: Mon Dec 16, 2013 4:14 pm
by nagarjuna
Hi Team,
Thanks, As you suggested, i checked my whole configuration, 1. we only mentioned in nagios.cfg file and second in passive templates, now latency is going down from 4500 to 240.
But what i am finding some time active checks showing 0 in 1 min, 0 or very less value in 5 min, and all checks in 15th min. Why it is showing 0 in active check from Monitoring Engine Check Statistics
Thanks you saved me.
Re: NRDS Passive check
Posted: Mon Dec 16, 2013 4:22 pm
by lmiltchev
Can you post a screenshot to show us that?
Re: NRDS Passive check
Posted: Wed Dec 18, 2013 1:39 am
by nagarjuna
Hi team,
Can you please check the attached screenshot as you asked before engine statistics, for active checks.
One more thing, we given 5 min check interval and freshness threshold is 420 sec for host and services.
service_freshness_check_interval=360 (default was 60 sec)
please check and verify is it OK?
Re: NRDS Passive check
Posted: Wed Dec 18, 2013 11:33 am
by abrist
It does not look ok. You have massive check latency which is causing the check scheduler to schedule checks out 15min or more. Did you set freshness on the active checks? (it is not advised to do so)
Re: NRDS Passive check
Posted: Wed Dec 18, 2013 11:34 am
by sreinhardt
You should not be using freshness for active checks, that should only be in use for passive checks. I would also note that your max and average, host and service latency are quite high. These stats mean that your average checks are delayed from running that amount of time, despite that the average host and service execution times respectively are 1 sec and 1.5 seconds. Was this directly after a nagios service restart or reload?
Re: NRDS Passive check
Posted: Wed Dec 18, 2013 3:04 pm
by nagarjuna
Hi team,
After restarting the nagios service, we are getting this for 5 min, after that its looking like OK, but in 30 min 2-3 times its showing like 0 active ches and 0 passive cheks ....
Is there any difference between nagios restart and reload?
and one more thing i want freshness check enable only for passive checks, not for active checks, how do i get this. Because as per my knowledge if we enable freshness check in nagios.cfg file, its globally enabled.
Please suggest ....