No inheritance for some contacts

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ciube
Posts: 1
Joined: Wed Dec 13, 2017 7:02 am

No inheritance for some contacts

Post 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?
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: No inheritance for some contacts

Post 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?
Locked