False alarm

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: False alarm

Post by nagarjuna »

Hi

Actually we are using NRDS/nrdp for 1000 machines and in all machines automatically its came due to passive checks from nrdp.

We did not modify anything except freshness check in host/service template. please check the attached screenshot.
You do not have the required permissions to view the files attached to this post.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: False alarm

Post by slansing »

I'm a bit curious as to why have check intervals set up on your passive object, and also, if this is your host, it looks like you may be confusing active and passive checks. Generally you want to set your hosts up as active, with a ping check, so that you know if the host address is reachable or not.
nagarjuna
Posts: 133
Joined: Mon Dec 09, 2013 2:11 am

Re: False alarm

Post by nagarjuna »

Actually we enabled freshness checks for Hosts/services, due to that we mentioned check intervals there. Please suggest us , is this OK without setting check interval on passive hosts/service template. We want to initiate ping test after 8 min if result not sending by passive host on nagiosxi server.

In place of check_dummy, i am using check_host_alive plugin for freshness check for passive hosts
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: False alarm

Post by abrist »

This is possible with an event handler. Your event handler should run a ping check and if it is OK, submit a passive check OK result for the object. This is a custom script you will have to create. It will be run whenever the freshness is reached as the state change will be HARD.
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.
nagarjuna
Posts: 133
Joined: Mon Dec 09, 2013 2:11 am

Re: False alarm

Post by nagarjuna »

Hi Abrist,

Will you please let us know how to set all the things, first we need to enable freshness check in global configuration file.
------------------------------------------------------------------------------------------------
# vim /usr/local/nagios/etc/nagios.cfg
check_host_freshness=0
to
check_host_freshness=1 (for enabling host check freshness)

check_service_freshness=0
to
check_service_freshness=1 (for enabling service check freshness)
---------------------------------------------------------------------------------------------------
For setting freshness we are using passive host and service templates
Is there any other way for setting freshness check......?
Can we enable freshness check only for passive hosts/services only. (from nagios.cfg file its apply for globaly)

-------------------------------------------------------------------------------------------------
Is there any other way for enabling freshness checks and set threshold only for passive hosts ?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: False alarm

Post by abrist »

nagarjuna wrote:Will you please let us know how to set all the things, first we need to enable freshness check in global configuration file.
You will need to enable freshness as you have done.
nagarjuna wrote:Is there any other way for setting freshness check......?
Not really, enable it in nagios.cfg and then configure the passive service check to use freshness.
nagarjuna wrote: Can we enable freshness check only for passive hosts/services only. (from nagios.cfg file its apply for globaly)
I would only enable freshness for passive services. Active service check intervals are essentially freshness.
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.
Locked