Page 2 of 2

Re: Active user not being sent notifications

Posted: Tue Dec 01, 2015 2:56 pm
by rkennedy
benningtonr wrote:
daveinvb wrote:The issue I ran into with something similar was not Nagios related. My entire Nagios set up is "in the cloud", so I initially had an issue with AWS SES and Office 365 not playing nicely together. If nothing has changed in Nagios, and other users are getting alerts, maybe it could be a junk mail/spam setting. Have you tried sending an email to their phone? If they're using verizon, it would be something like [email protected].
If i look through the logs, i can see that i am being sent an email, but his name is not listed.
Can you post the logs?
benningtonr wrote:Sendmail, i think, i set this up years ago. How can I tell
Navigate to Admin -> Manage Email Settings - please post a screenshot of that page.

Re: Active user not being sent notifications

Posted: Tue Dec 01, 2015 3:00 pm
by benningtonr
i am using smtp, mail works to all other users in the same system, just not to him.

Re: Active user not being sent notifications

Posted: Tue Dec 01, 2015 3:04 pm
by benningtonr
Service Notification 2015-12-01 10:12:54 SERVICE NOTIFICATION: ronb;Rivendell;Memory Usage;CRITICAL;xi_service_notification_handler;CRITICAL - 2883 / 3829 MB (%) Free Memory, Used: 3709 MB, Shared: 0 MB, Buffers: 162 MB, Cached: 2763 MB
Service Notification 2015-12-01 10:12:54 SERVICE NOTIFICATION: davev;Rivendell;Memory Usage;CRITICAL;xi_service_notification_handler;CRITICAL - 2883 / 3829 MB (%) Free Memory, Used: 3709 MB, Shared: 0 MB, Buffers: 162 MB, Cached: 2763 MB


You can see where ronb and davev get sent the alert, but not rayl

Re: Active user not being sent notifications

Posted: Tue Dec 01, 2015 3:12 pm
by rkennedy
Can you navigate to the service status detail page for that specific service -> click the configure tab -> click 're-configure this service' -> post a screen shot of this page.

Are ronb, davev, and ray all using the same @domain.ext for a contact?

Additionally, what happens if you send a test email to Ray?

Re: Active user not being sent notifications

Posted: Wed Dec 02, 2015 7:40 am
by benningtonr
I think this is what you want, i will try to locate the send test email area and port the results.

Re: Active user not being sent notifications

Posted: Wed Dec 02, 2015 7:47 am
by benningtonr
yes, we are all part of the same email domain.
Sending a test email works fine, due to my account being the admin.
Myself and all other users are getting the notifications, just not rayl

Re: Active user not being sent notifications

Posted: Wed Dec 02, 2015 1:44 pm
by tgriep
Can you go in to Core Config Manager in the XI GUI, click on Contacts and click on the Floppy Icon for rayl, copy his settings and post them here?
Then click on Admin > Manage users, click in the Eye icon next to rayl user account to masquerade as his account.
Click on the Notification Preferences and Notification Methods and make sure the settings are enabled for that user.

Take a look at this link for more details for Notification settings
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Re: Active user not being sent notifications

Posted: Wed Dec 02, 2015 2:13 pm
by benningtonr
define contact {
contact_name Rayl
alias Rayl
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_period xi_timeperiod_24x7
service_notification_period xi_timeperiod_24x7
host_notification_options d,u,r,f,s,
service_notification_options w,u,c,r,f,s,
host_notification_commands notify-host-by-email,xi_host_notification_handler,xi_service_notification_handler
service_notification_commands notify-service-by-email,xi_service_notification_handler
email [email protected]
address1 [email protected]
use xi_contact_generic
}

Re: Active user not being sent notifications

Posted: Wed Dec 02, 2015 3:31 pm
by lmiltchev
Go to the CCM->Contacts and modify the Rayl contact to use the correct notification handlers. Basically, change this:

Code: Select all

host_notification_commands notify-host-by-email,xi_host_notification_handler,xi_service_notification_handler
service_notification_commands notify-service-by-email,xi_service_notification_handler
to this:

Code: Select all

host_notification_commands xi_host_notification_handler
service_notification_commands xi_service_notification_handler
Close, save and apply configuration. Let us know if this helped.