Page 1 of 1

Notification Preferences

Posted: Thu Jul 27, 2017 12:56 am
by mosheh007
Hi.
On all our accounts (5), under the notification options,
we don't have the ability to see or change anything.
Seems that there is no connection between the account for login, and with the account for notification under the CCM.
How can this fixed?

Moshe

example:

Code: Select all

Notification Preferences
Management of notification preferences is not available because your account is not configured to be a monitoring contact. Contact your Nagios XI administrator for details.
Notification Methods

    This account is not defined as a Nagios contact. Contact your Nagios Administrator for more information.
    Nagios XI notification handlers are not defined for this account. XI notification handlers must be defined in the Core Config Manager for customized notification settings.

Management of notification preferences is not available because your account is not configured to be a monitoring contact. Contact your Nagios XI administrator for details.Management of notification preferences is not available for your account. Contact your Nagios XI administrator for details. 
Notification Messages

    This account is not defined as a Nagios contact. Contact your Nagios Administrator for more information.
    Nagios XI notification handlers are not defined for this account. XI notification handlers must be defined in the Core Config Manager for customized notification settings.

Management of notification preferences is not available because your account is not configured to be a monitoring contact. Contact your Nagios XI administrator for details.Management of notification preferences is not available for your account. Contact your Nagios XI administrator for details. 
Send Test Notifications
Testing notification messages is not available for your account. Contact your Nagios XI administrator for details.

Re: Notification Preferences

Posted: Thu Jul 27, 2017 10:02 am
by mcapra
This documentation may be helpful:
https://assets.nagios.com/downloads/nag ... d-Contacts.

Essentially, when you create a Nagios XI user, you have a checkbox that says something like "also create a Nagios contact". Users and contacts are two separate things, but there is cross-over when it comes to who gets notifications how and when.
Users correspond to user accounts that are used to login to the Nagios XI web interface. A user is typically “connected” to a
contact for the purposes of both enabling notifications and obtaining permission to see and modify hosts and services.

Contacts are definitions in Nagios Core that are normally used for directing host and service alerts to specific individuals.
While it isn't necessary for contacts to have a relationship with a user, they most often do in order to ensure the user can use
the Nagios XI web interface.
So you'll need to create a relationship from your Nagios XI users to a Nagios contact. Refer to the "Creating Or Breaking Relationships" section of the aforementioned documentation for specific steps.

Re: Notification Preferences

Posted: Thu Jul 27, 2017 11:05 am
by lmiltchev
@mosheh007 did mcapra answer your question? Let us know if it is ok to close this topic.

Re: Notification Preferences

Posted: Sat Jul 29, 2017 1:37 am
by mosheh007
I did what @mcapra suggested, but still not working :-(

Re: Notification Preferences

Posted: Mon Jul 31, 2017 9:57 am
by lmiltchev
Let's troubleshoot one of your contacts.

1. Go to: Admin > Manage Users, click on "Edit" next to your user, and show a screenshot of the page

2. Go to: CCM > Contacts, click on "Edit" next to the corresponding contact, and show screenshots of both, the Common Settings and Alert Settings tabs

3. Log in (or masquerade in) as this user, click on the username in the upper right corner, then show us screenshots of both pages - "Notification Preferences" and "Notification Methods".

4. Send a test notification and see if you received it.

5. Go to: Home > Host Detail > localhost > Configure > Re-configure this host > Notifications, and set:
- Send a notification immediately = checked
- Send alert notifications to: <your contact = checked>
- Click on "Update"

6. Go to: Home > Host Detail > localhost > Advanced > Send custom notification, and set:
- Forced = checked
- Broadcast = checked
- Type a comment
- Click on "Submit".

7. Check to see if you received the custom notification

Did this work?

Re: Notification Preferences

Posted: Tue Aug 01, 2017 2:16 am
by mosheh007
1. Go to: Admin > Manage Users, click on "Edit" next to your user, and show a screenshot of the page
2. Go to: CCM > Contacts, click on "Edit" next to the corresponding contact, and show screenshots of both, the Common Settings and Alert Settings tabs
3. Log in (or masquerade in) as this user, click on the username in the upper right corner, then show us screenshots of both pages - "Notification Preferences" and "Notification Methods".
See the attachment
nagios.zip
4. Send a test notification and see if you received it.
Can't because it is not available.. this is part of my issue.
5. Go to: Home > Host Detail > localhost > Configure > Re-configure this host > Notifications, and set:
- Send a notification immediately = checked
- Send alert notifications to: <your contact = checked>
- Click on "Update"
6. Go to: Home > Host Detail > localhost > Advanced > Send custom notification, and set:
- Forced = checked
- Broadcast = checked
- Type a comment
- Click on "Submit".
7. Check to see if you received the custom notification
Working, I don't have problem with receiving alerts, only to set them on the account side
It is the same for all accounts.

Re: Notification Preferences

Posted: Tue Aug 01, 2017 11:23 am
by lmiltchev
There is a mismatch between the user's name and contact's name... When I create a "xi user", named "mosheh" (for testing purposes) via Admin > Manage Users > Add New User, the corresponding contact is also called "mosheh". The actual name of the contact is in the description field... See the images below:
example01.PNG
example02.PNG
I believe you need to create a correct relationship between the "xi user" and corresponding contact. Go to the CCM > Contacts, click on "Mashe Hadar", and change the "Contact Name" to "mosheh". Save, and apply configuration.

Re: Notification Preferences

Posted: Wed Aug 02, 2017 1:19 am
by mosheh007
Great! :)

Working now.

Thanks.

Moshe

Re: Notification Preferences

Posted: Wed Aug 02, 2017 11:30 am
by bolson
May we close this topic?