xi_contact_generic : no e-mail sent...

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Johan159
Posts: 43
Joined: Mon Mar 30, 2015 8:05 am

xi_contact_generic : no e-mail sent...

Post 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?
Johan159
Posts: 43
Joined: Mon Mar 30, 2015 8:05 am

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

Post 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?
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

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

Post 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.
Former Nagios Employee.
me.
Locked