Page 1 of 1

contact group not receiving email

Posted: Mon Sep 16, 2019 12:21 pm
by dslaughter
nagiosxi 5.6.6

created users with monitoring contact checked, notification preferences shows notifications enabled.
created contact group, added users, group is active

host has notifications enabled, contact group, and a user contact assigned. user receives email but contact group does not.

Can you help me troubleshoot?

Re: contact group not receiving email

Posted: Mon Sep 16, 2019 12:51 pm
by benjaminsmith
Hello @dslaughter,

Are the contacts in this contact group receiving notifications from other hosts an services? I'd like to review your configurations. Please send over your system profile along with the following information. Thanks.

1. Name of Contact Group
2. Name of Host

To send us your system profile.
Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and share in a private message and then reply to this post to bring it up in the queue.

Re: contact group not receiving email

Posted: Mon Sep 16, 2019 1:05 pm
by dslaughter
I've sent the private message. Let me know if you need anything else.

Thanks!

Re: contact group not receiving email

Posted: Mon Sep 16, 2019 3:11 pm
by benjaminsmith
Hello,

Looking over the configurations files. The hostgroup as been added to the host ( see below).

Code: Select all

define host {
    host_name                   z2-ld8-c1-jb4-1
    use                         xiwizard_linuxsnmp_host
    address                     <ip address>
    max_check_attempts          5
    check_interval              5
    retry_interval              1
    check_period                xi_timeperiod_24x7
    contacts                    nagiosadmin
    contact_groups              admins,Billing
    notification_interval       15
    notification_period         xi_timeperiod_24x7
    first_notification_delay    0
    notifications_enabled       1
    icon_image                  snmppenguin.png
    statusmap_image             snmppenguin.png
    _xiwizard                   linux_snmp
    register                    1
}
However, you most likely want to add the hostgroup to the services associated with this device. Currently, those services just have the nagiosamin user as a contact and as a result are only notifying this account.

Code: Select all

define service {
    host_name                 z2-ld8-c1-jb4-1
    service_description       / Disk Usage
    use                       xiwizard_linuxsnmp_mem
    check_command             check_xi_service_snmp_linux_storage! -C ZenOSS4Me --v2c -m "^/$" -w 80 -c 95 -f
    max_check_attempts        5
    check_interval            5
    retry_interval            1
    check_period              xi_timeperiod_24x7
    notification_interval     60
    notification_period       xi_timeperiod_24x7
    contacts                  nagiosadmin
    _xiwizard                 linux_snmp
    register                  1
}

Re: contact group not receiving email

Posted: Mon Sep 16, 2019 3:21 pm
by dslaughter
Is there a way to do this without having to access every service under every host? I know there are other services on other hosts that will need this too.

Re: contact group not receiving email

Posted: Mon Sep 16, 2019 3:36 pm
by benjaminsmith
Hello,

If you have the enterprise edition you can use the Bulk Modifications Tool to add Contact Groups to existing hosts or services. In the UI, go to Configure > Tools > Bulk Modifications Tool>Add Contact Group .

Re: contact group not receiving email

Posted: Mon Sep 16, 2019 3:44 pm
by dslaughter
I got enterprise and found the bulk modification tool. Worked perfectly. Thanks!

Lock it.