Wolfgang,

        Yes, I'm still having issues with being notified every minute when a 
service goes down.

        This is an example of one of the entries in the "objects.cache" file:

define service {
        host_name       nyci-clalcpr04
        service_description     Linux Service STunnel
        check_period    24x7
        check_command   check_nrpe!check_procs4!1:1!stunnel!stunnel
        event_handler   start_process!stunnel
        contact_groups  nitro_admins
        notification_period     24x7
        initial_state   o
        check_interval  1.000000
        retry_interval  2.000000
        max_check_attempts      1
        is_volatile     1
        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
        flap_detection_options  o,w,u,c
        freshness_threshold     0
        check_freshness 0
        notification_options    c,r
        notifications_enabled   1
        notification_interval   0.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
        }

Regards,

John 

-----Original Message-----
From: Wolfgang [mailto:w...@gmx.net] 
Sent: Saturday, April 20, 2013 9:40 AM
To: icinga-users@lists.sourceforge.net
Subject: Re: [icinga-users] Icinga Notifications sent every minut

Am 16.04.2013 15:04, schrieb john.p.gr...@thomsonreuters.com:
> The version of Icinga is 1.6.1.
>
> I'm running it on SUSE 11.
>
> The following add-ons are installed:
>
>       Nagios-plugins:         1.4.15-34
>       Nrpe:                   2.12
>       Nsca:                   2.9.1
>       Check_mysql_health:     2.1.7
>       pnp4nagios:             0.6.17
>
> Here is the notification log entry in the icinga.log file:
>
> [1366094186] SERVICE NOTIFICATION: john_p_grieb;nyci-clalcpr03;Linux 
> Service Nitro;CRITICAL;notify-service-by-email;/etc/init.d/nitro 
> CRITICAL - Service NOT Running. Exit code: 768. Checking for service 
> nitro ..unused
>
> Regards,
>
> John
>
> -----Original Message-----
> From: Michael Friedrich [mailto:michael.friedr...@gmail.com]
> Sent: Tuesday, April 16, 2013 8:51 AM
> To: icinga-users@lists.sourceforge.net
> Subject: Re: [icinga-users] Icinga Notifications sent every minut
>
> On 16.04.2013 14:40, john.p.gr...@thomsonreuters.com wrote:
>> I am receiving a notification that a service is down once a minute 
>> regardless of what I set the "notification_interval" to.
> and the log of that notification looks like?
>
> which icinga version? which os/distribution/version? any addons installed?
>
>> I have tried values of 0 and 120.
>>
>> Here is the service definition I am using:
>>
>> define service {
>>
>> name nitro_service
>>
>> use linux-service-svc
>>
>> hostgroup_name clalcpr-hg,clalcpm-hg
>>
>> service_description Linux Service Nitro
>>
>> check_command check_nrpe!check_service!/etc/init.d/nitro
>>
>> event_handler restart_service!nitro!start
>>
>> event_handler_enabled 1
>>
>> notification_period 24x7
>>
>> notification_interval 0
>>
>> notification_options w,u,c,r
>>
>> contact_groups nitro_admins
>>
>> }
>>
>> Can anyone tell me how to send the notification only once?
> by default, 0 will exactly do that.
>
Looking at the definition to be found in objects.cache you will see the actual 
values after the template is resolved. As already said setting 
"notification_interval 0" should send just one notification. Are you still 
having this issue?

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced analytics on 
semi-structured data. The platform includes APIs for building apps and a 
phenomenal toolset for data science. Developers can use our toolset for easy 
data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

This email was sent to you by Thomson Reuters, the global news and information 
company. Any views expressed in this message are those of the individual 
sender, except where the sender specifically states them to be the views of 
Thomson Reuters.

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to