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