Notification value not incrementing

nagios at cooldarkplace.org nagios at cooldarkplace.org
Mon Nov 15 23:43:54 CET 2004


I seem to be having a problem getting the notification value on some
host/services in a critical/warning state to increment their notification
value.  This is in turn preventing notifications/esclations after the
first one to ever go out.

In order to test more quickly, i've gone as far as to set up a service
with a notification interval and check interval of 1 minut, and after
several hours in a critical state, its Current Notification Number is
still at 1.

I've upgraded to the newest available cvs 2.x tree(I was using a version
about 2 weeks old before that), and the problem still remains.

By using the View Config option in the nagios web gui I've confirmed that
the service is indeed reading the values i've set it to, so I'm reasonably
sure that its not an off value being caused by some rouge template.


I've also checked it out in the objects.cache and status.dat.  The one
thing I see that bothers me is that no_more_notifications is reading 1,
but I'm not familiar enough with the internal logic to discern if this is
the source of my problem or how to correct it.  Relevant bits of
objects.cache and status.dat are below.  Any help greatly appreciated:

define service {
        host_name       nagiostestserver
        service_description     MSSQL Server Agent
        check_period    24x7
        check_command   check_nrpe!check_SQLServerAgent
        contact_groups  dump,nagios-admins
        notification_period     24x7
        normal_check_interval   1
        retry_check_interval    1
        max_check_attempts      3
        is_volatile     0
        parallelize_check       1
        active_checks_enabled   1
        passive_checks_enabled  1
        obsess_over_service     1
        event_handler_enabled   1
        low_flap_threshold      0.000000
        high_flap_threshold     0.000000
        flap_detection_enabled  1
        freshness_threshold     0
        check_freshness 0
        notification_options    u,w,c,r
        notifications_enabled   1
        notification_interval   1
        stalking_options        n
        process_perf_data       1
        failure_prediction_enabled      1
        retain_status_information       1
        retain_nonstatus_information    1
        }


heres the ouput from status.dat for said service:

service {
        host_name=nagiostestserver
        service_description=MSSQL Server Agent
        modified_attributes=0
        check_command=check_nrpe!check_SQLServerAgent
        event_handler=
        has_been_checked=1
        should_be_scheduled=1
        check_execution_time=0.683
        check_latency=0.051
        current_state=2
        last_hard_state=2
        current_attempt=3
        max_attempts=3
        state_type=1
        last_state_change=1100557337
        last_hard_state_change=1100557390
        last_time_ok=1100557320
        last_time_warning=0
        last_time_unknown=0
        last_time_critical=1100558245
        plugin_output=The service is Stopped
        performance_data=
        last_check=1100558245
        next_check=1100558305
        check_type=0
        current_notification_number=1
        last_notification=1100557395
        next_notification=1100557395
        no_more_notifications=1
        notifications_enabled=1
        active_checks_enabled=1
        passive_checks_enabled=1
        event_handler_enabled=1
        problem_has_been_acknowledged=0
        acknowledgement_type=0
        flap_detection_enabled=1
        failure_prediction_enabled=1
        process_performance_data=1
        obsess_over_service=1
        last_update=1100558270
        is_flapping=0
        percent_state_change=8.29
        scheduled_downtime_depth=0
        }


-- 
Never, never, never give up.
                  -Winston Churchill


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list