NRDS Passive check

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
nagarjuna
Posts: 133
Joined: Mon Dec 09, 2013 2:11 am

Re: NRDS Passive check

Post 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..
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NRDS Passive check

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
nagarjuna
Posts: 133
Joined: Mon Dec 09, 2013 2:11 am

Re: NRDS Passive check

Post 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?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: NRDS Passive check

Post 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
nagarjuna
Posts: 133
Joined: Mon Dec 09, 2013 2:11 am

Re: NRDS Passive check

Post 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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NRDS Passive check

Post by lmiltchev »

Can you post a screenshot to show us that?
Be sure to check out our Knowledgebase for helpful articles and solutions!
nagarjuna
Posts: 133
Joined: Mon Dec 09, 2013 2:11 am

Re: NRDS Passive check

Post 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?
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: NRDS Passive check

Post 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)
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.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: NRDS Passive check

Post 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?
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.
nagarjuna
Posts: 133
Joined: Mon Dec 09, 2013 2:11 am

Re: NRDS Passive check

Post 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 ....
Locked