Page 1 of 1

No inheritance for some contacts

Posted: Wed Dec 13, 2017 7:09 am
by ciube
Hi all,

I need support about a strange problem in NagiosXI.

I has defined two contacts like this

Code: Select all

define contact {
        contact_name                            contact1
        alias                                   contact1
        host_notification_period                contact1_notification_times
        service_notification_period             contact1_notification_times
        host_notification_options               d,u,r,
        service_notification_options            w,c,r,
        email                                   [email protected]
        service_notifications_enabled           1
        use                                     xi_contact_generic
        }

define contact {
        contact_name                            contact2
        alias                                   contact2
        host_notification_period                contact2_notification_times
        service_notification_period             contact2_notification_times
        host_notification_options               d,u,r,
        service_notification_options            w,u,c,r,f,s,
        email                                   [email protected]
        host_notifications_enabled              1
        service_notifications_enabled           1
        use                                     xi_contact_generic
        }
They use a contact template I configured in my environment (xi_contact_generic) in which the host notifications are disable.
The problem is that just one of these contacts inherits this option and I don't understand why.

Any suggestion?

Re: No inheritance for some contacts

Posted: Wed Dec 13, 2017 3:08 pm
by dwhitfield
Please attach your /usr/local/nagios/var/objects.cache file. Also, please attach screenshots of the Alert tab of both contacts. Feel free to scrub the email addresses, but it would be best to stick with the actual contact names.

Also, is one of the contacts also a user?