freshness and dependent

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
erwan
Posts: 2
Joined: Sun Nov 02, 2014 3:08 pm

freshness and dependent

Post by erwan »

Hi,

Can you confirm me, when a check occures because freshness exceed limit, dependencies are ignored ?
Anything to do not ignore dependencies ?

Thanks

Erwan
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: freshness and dependent

Post by sreinhardt »

You mean that you would like freshness checks (on a passive service?) to be treated the same as an active check on an active service when checking? Such that if all dependencies are down it will not alert you? Could you explain why you are looking to have it ignore your configure dependencies?
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.
erwan
Posts: 2
Joined: Sun Nov 02, 2014 3:08 pm

Re: freshness and dependent

Post by erwan »

Hi,

In my configuration Freshness is configured for all my check.
When I have a service with dependencies down, freshness force check on this service. So when I have dependencies, check is everytime done no matter dependencies.

Thanks
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: freshness and dependent

Post by abrist »

This is WAI. Freshness will force an active check no matter what:
If the check results is found to be stale, Nagios will force an active check of the host or service by executing the command specified by in the host or service definition.

Tip Tip: An active check is executed even if active checks are disabled on a program-wide or host- or service-specific basis.
See: http://nagios.sourceforge.net/docs/3_0/freshness.html
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