freshness_threshold bug - big problem

Rodney Ramos rodneyra at gmail.com
Thu Dec 16 12:03:23 CET 2010


Dear Jochen,

Thanks for answer my question. I did what yod said and all
"freshness_threshold" parameters in the var/objects.cache file are set with
"0".

As I´ve said before I think that it is a Nagios Core bug. I´ve tested it
with Nagios 3.2.1 and I found the same problem.

I think it´s a serious problem.

Here is a simple host definition extract from my objects.cache:

define host {
        host_name       host1
        alias   host1
        address 10.10.10.10
        parents gw-10_10_10_254
        check_period    24x7
        check_command   check_tcp!22
        event_handler   script.sh
        contact_groups  ROOT
        notification_period     24x7
        initial_state   o
        check_interval  5.000000
        retry_interval  1.000000
        max_check_attempts      4
        active_checks_enabled   0
        passive_checks_enabled  1
        obsess_over_host        1
        event_handler_enabled   1
        low_flap_threshold      0.000000
        high_flap_threshold     0.000000
        flap_detection_enabled  1
        flap_detection_options  o,d,u
        freshness_threshold     0
        check_freshness 1
        notification_options    d,u,r
        notifications_enabled   0
        notification_interval   1440.000000
        first_notification_delay        0.000000
        stalking_options        n
        process_perf_data       1
        failure_prediction_enabled      1
        retain_status_information       1
        retain_nonstatus_information    1
        }

Thanks,
Rodney



On Wed, Dec 15, 2010 at 7:12 PM, Jochen Bern <Jochen.Bern at linworks.de>wrote:

> On 12/15/2010 07:06 PM, Rodney Ramos wrote:
> > At the documentation I found:
> > "If you do not specify a value for the *freshness_threshold* option
> > (that is my case), [...]"
>
> Please verify in your var/objects.cache that the service's
> freshness_threshold is indeed (un)set to 0. (You might want to
> doublecheck the other relevant parameters, too, while you're there.) If
> it isn't, you likely have it set to non-zero in some template.
>
> Kind regards,
>                                                                J. Bern
> --
> Jochen Bern, Systemingenieur --- LINworks GmbH <http://www.LINworks.de/>
> Postfach 100121, 64201 Darmstadt | Robert-Koch-Str. 9, 64331 Weiterstadt
> PGP (1024D/4096g) FP = D18B 41B1 16C0 11BA 7F8C DCF7 E1D5 FAF4 444E 1C27
> Tel. +49 6151 9067-231, Zentr. -0, Fax -299 - Amtsg. Darmstadt HRB 85202
> Unternehmenssitz Weiterstadt, Geschäftsführer Metin Dogan, Oliver Michel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20101216/e8ce8704/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list