2012R1.0 - Occasional duplicate notification...???

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
scobi
Posts: 67
Joined: Tue Feb 28, 2012 8:36 pm

2012R1.0 - Occasional duplicate notification...???

Post by scobi »

Hi!

We seem to be getting an occasional duplicate notification since upgrading to 2012R1.0. Not every host, not every time so very difficult to replicate.

XI Host indicates it only sent 1 alert but 2 messages are received. Not related to client as the duplicate alerts are received by all the DL members (we manage notifications via Distribution Lists).

Any thoughts on this one? Not too big of a deal, we all have unlimited messaging plans... :-)

Thanks as always!

Scobi
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: 2012R1.0 - Occasional duplicate notification...???

Post by scottwilkerson »

Could you post the contact definition for the contact that is being notified twice?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
scobi
Posts: 67
Joined: Tue Feb 28, 2012 8:36 pm

Re: 2012R1.0 - Occasional duplicate notification...???

Post by scobi »

Ummm sure! Ummm, well.. Whats the best way to get you that info? :-)

Thanks!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: 2012R1.0 - Occasional duplicate notification...???

Post by scottwilkerson »

you can either obfuscate the sensitive or send it to me in a pm or open a ticket by emailing [email protected]
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
scobi
Posts: 67
Joined: Tue Feb 28, 2012 8:36 pm

Re: 2012R1.0 - Occasional duplicate notification...???

Post by scobi »

Hello! Sorry I wasn't clear in my last post... :-)

Which file do you need me to post and where is it located?

Thanks!

Scobi
hhlodge
Posts: 206
Joined: Tue Mar 08, 2011 2:13 pm

Re: 2012R1.0 - Occasional duplicate notification...???

Post by hhlodge »

It may be moot, but we also get occasional duplicates on 2011 R3.2.
- Kyle
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: 2012R1.0 - Occasional duplicate notification...???

Post by scottwilkerson »

scobi wrote:Which file do you need me to post and where is it located?

Code: Select all

/usr/local/nagios/etc/contacts.cfg
Also, please point out which contacts are getting duplicates
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
scobi
Posts: 67
Joined: Tue Feb 28, 2012 8:36 pm

Re: 2012R1.0 - Occasional duplicate notification...???

Post by scobi »

Code: Select all

define contact {                                                                
        contact_name                            Server-Alerts              
        alias                                   Server-Alerts              
        host_notification_period                Server-Alerts_notification_times                                                                           
        service_notification_period             Server-Alerts_notification_times                                                                           
        host_notification_options               d,u,r,f,s                       
        service_notification_options            w,u,c,r,f,s                     
        email                                   [email protected]                                                                          
        host_notifications_enabled              1                               
        service_notifications_enabled           1                               
        use                                     xi_contact_generic              
        }    
I was able to verify that only this contact is select in client notifications (no myself or other contacts). Also, no duplicates of the above entry in contacts.cfg...

Thanks!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: 2012R1.0 - Occasional duplicate notification...???

Post by scottwilkerson »

Could you also post this file

Code: Select all

/usr/local/nagios/etc/contacttemplates.cfg
Additionally, can you tell me what mail method you are using in Admin-> Manage Email Settings

We have had several reports of this but it is really sporadic and would like as much information as possible to try to nail this down.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
scobi
Posts: 67
Joined: Tue Feb 28, 2012 8:36 pm

Re: 2012R1.0 - Occasional duplicate notification...???

Post by scobi »

Hiyas!

Using SMTP method...

Code: Select all

############################################################################### 
#                                                                               
# Contacttemplate configuration file                                            
#                                                                               
# Created by: Nagios QL Version 3.0.3                                           
# Date:       2012-10-16 01:49:46                                               
# Version:    Nagios 3.x config file                                            
#                                                                               
# --- DO NOT EDIT THIS FILE BY HAND ---                                         
# Nagios QL will overwite all manual settings during the next update            
#                                                                               
############################################################################### 
                                                                                
define contact {                                                                
        name                                    generic-contact                 
        host_notification_period                24x7                            
        service_notification_period             24x7                            
        host_notification_options               d,u,r,f,s                       
        service_notification_options            w,u,c,r,f,s                     
        host_notification_commands              notify-host-by-email            
        service_notification_commands           notify-service-by-email         
        register                                0                               
        }                                                                       
                                                                               
define contact {                                                                
        name                                    xi_contact_generic              
        contactgroups                           xi_contactgroup_all             
        host_notification_options               d,u,r,f,s                       
        service_notification_options            w,u,c,r,f,s                     
        host_notification_commands              xi_host_notification_handler    
        service_notification_commands           xi_service_notification_handler 
        register                                0                               
        }                                                                       
                                                                                
############################################################################### 
#                                                                               
# Contacttemplate configuration file                                            
#                                                                               
# END OF FILE                                                                   
#                                                                               
############################################################################### 
Probably TMI, but this happened again last night - if it helps, we received alerts from a couple services as follows:

Service1: Critical - Single email notification
Service1: Recovery - Single email notification
Service2: Warning - Double email notification but XI server shows 1 notification
Service2: Recovery - Single email notification

Again, not too big a deal, I'd rather have to delete a duplicate than miss a critical alert... :-)

Thanks for looking into this!
Locked