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.
False alarm
Re: False alarm
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
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.
Re: False alarm
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
In place of check_dummy, i am using check_host_alive plugin for freshness check for passive hosts
Re: False alarm
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.
"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.
Re: False alarm
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 ?
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 ?
Re: False alarm
You will need to enable freshness as you have done.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.
Not really, enable it in nagios.cfg and then configure the passive service check to use freshness.nagarjuna wrote:Is there any other way for setting freshness check......?
I would only enable freshness for passive services. Active service check intervals are essentially freshness.nagarjuna wrote: Can we enable freshness check only for passive hosts/services only. (from nagios.cfg file its apply for globaly)
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.