Page 1 of 1

xi_contact_generic : no e-mail sent...

Posted: Tue Jan 05, 2016 10:44 am
by Johan159
I configured the e-mail settings under Admin --> Manage Email Settings properly : I can send the test e-mails without any problem.

Notifications are triggered (I can see them in the history) but nothing happens : no mail is sent...

Code: Select all

define contact {
        contact_name                            jcorsini
        alias                                   Johan Corsini
        host_notification_period                24x7
        service_notification_period             24x7
        email                                   [email protected]
        use                                     xi_contact_generic
        }

Code: Select all

define contact {
        name                                    xi_contact_generic
        contactgroups                           xi_contactgroup_all
        host_notification_period                xi_timeperiod_24x7
        service_notification_period             xi_timeperiod_24x7
        host_notification_options               d,u,f,s,
        service_notification_options            w,u,c,f,s,
        host_notification_commands              xi_host_notification_handler
        service_notification_commands           xi_service_notification_handler
        register                                0
        }


Am I missing something somewhere?

Re: xi_contact_generic : no e-mail sent...

Posted: Tue Jan 05, 2016 11:00 am
by Johan159
I created a Nagios XI account with the same information than my user (imported from core), and I am now receiving the e-mails...

Am I supposed to create a such account for each user (if I want to use the xi_contact_generic)? Or is there another way that I missed?

Re: xi_contact_generic : no e-mail sent...

Posted: Tue Jan 05, 2016 11:04 am
by hsmith
I had assumed that you had a user when I initially read this. That would be the best way to do it, in my opinion. Perhaps take a look at this document: https://assets.nagios.com/downloads/nag ... ntacts.pdf. Core contacts and XI users behave differently.