Page 3 of 4
Re: NRDS Passive check
Posted: Wed Dec 18, 2013 5:47 pm
by slansing
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 ....
Hmm, please attach a screenshot of this.
Is there any difference between nagios restart and reload?
http://nagios.sourceforge.net/docs/3_0/startstop.html
You should only need to use restart or start and stop commands to the service with Nagios XI.
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.
You enable it in the CCM under your host or service objects, don't change any of the nagios.cfg definitions for this until you understand how it works as you may inadvertently cause a massive increase in checks, or decrease in time between checks.
Re: NRDS Passive check
Posted: Wed Dec 18, 2013 11:49 pm
by nagarjuna
Hi team,
Thank you very much slansing,
We configured more than 2000 machines for passive checks, can we do this with bulk modification?
Can we select all passive host/services and set freshness only for them with freshness threshold?
-------------------------------------------------------------------------------------------------
We have done following 3 things for freshness check before 5-6 days:
1. edited nagios.cfg file
enabled freshness for host and services...
2. passive host template --> set freshness check enable and threshold value
3. passive service template --> set freshness check enable and threshold value
--------------------------------------------------------------------------------------------------
Re: NRDS Passive check
Posted: Thu Dec 19, 2013 11:42 am
by slansing
Well, if you assigned that value to your templates, and your passive services all have that template you should be good to go. It looks like you have roughly 14,000 active service checks, this may be partially due to your freshness checks but one thing I noticed here is you have everything out at 15 minutes. You should probably switch it up a little and move some of your active checks to different intervals as 14,000 checks is already exceeding the limit we recommend for a single XI install, and that is likely where you are getting your latency issues from.
Something else that can help here would be using mod_gearman for your checks:
http://exchange.nagios.org/directory/Do ... XI/details
Re: NRDS Passive check
Posted: Thu Dec 19, 2013 2:14 pm
by nagarjuna
Hi Sir,
Thanks a lot, for verifying the things.
As i mentioned I enabled freshness checks from three places....
1. from nagios.cfg file
2. passive host template
3. passive service template
I want freshness only for passive checks not for active checks...
may i again edit this directive from nagios.cfg file......(please suggest)
check_host_freshness=1
check_service_freshness=1
to
check_host_freshness=0
check_service_freshness=0
is it working for me to enable freshness only from passive host /service template.
Because i dont want to enable freshness checks globally.
Re: NRDS Passive check
Posted: Thu Dec 19, 2013 5:58 pm
by slansing
"check_service_freshness=1" should be enabled, it will not be used "as we mentioned a couple times" unless you actually use the configuration option in your configurations.
Re: NRDS Passive check
Posted: Tue Dec 24, 2013 7:34 am
by nagarjuna
Hi Team,
As you mentioned, I edit nagios.cfg file and now its working fine. Some time fake alarm coming.
only one doubt, please suggest me.
I have configured all passive host/services 5 min interval time. now latency is OK around 100 second.
In nagios.cfg file,
additional_freshness_latency=15
check_host_freshness=1
check_service_freshness=1
"please suggest for following"
host freshness threshold = ?
service freshness threshold=?
host_freshness_check_interval= ?
service_freshness_check_interval= ?
Re: NRDS Passive check
Posted: Thu Dec 26, 2013 10:22 am
by slansing
Some time fake alarm coming.
only one doubt, please suggest me.
What exactly do you mean by fake alarm? Are you getting emails multiple times, or are you getting emails that do not reflect the state of the host/service.
Re: NRDS Passive check
Posted: Sun Dec 29, 2013 1:24 am
by nagarjuna
FAKE Alarm means..Its showing host status down, when host is up and pinging from NagiosXI server also.
Re: NRDS Passive check
Posted: Mon Dec 30, 2013 11:56 am
by slansing
So the host associated with your NRDS checks goes down, and you manually run a ping check against that host address from the nagios server and that address is able to be pinged? Is this host constantly down, and does it stay down even on it's next check after you are able to successfully ping?
Re: NRDS Passive check
Posted: Tue Dec 31, 2013 1:18 am
by nagarjuna
Its showing down stat continuously for long time, even we are continuously ping that host.