Notifications for services not going out.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Notifications for services not going out.

Post by hsmith »

Can you check your mail logs to be sure these are not getting filtered? Another way to test would be to set your email account to a gmail account, as gmail doesn't really filter.
Former Nagios Employee.
me.
[email protected]
Posts: 17
Joined: Thu Sep 13, 2012 5:54 pm

Re: Notifications for services not going out.

Post by [email protected] »

define contact {
contact_name reta
alias Reta Foley
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_period 24x7
service_notification_period 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
service_notification_commands notify-service-by-email,xi_service_notification_handler

retain_status_information 1
email [email protected]
use xi_contact_generic
}
added these two line ]host_notification_commands notify-host-by-email,xi_host_notification_handler
service_notification_commands notify-service-by-email,xi_service_notification_handler[

still no email
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Notifications for services not going out.

Post by hsmith »

hsmith wrote:Can you check your mail logs to be sure these are not getting filtered? Another way to test would be to set your email account to a gmail account, as gmail doesn't really filter.
Can you elaborate on whether or not you completed these steps?
Former Nagios Employee.
me.
[email protected]
Posts: 17
Joined: Thu Sep 13, 2012 5:54 pm

Re: Notifications for services not going out.

Post by [email protected] »

Everything is working now except alerts going to pagerduty.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Notifications for services not going out.

Post by tmcdonald »

I don't see any commands set up in your configs that mention Pager Duty - what guide did you follow to configure this? The one I usually see referenced is here: https://www.pagerduty.com/docs/guides/n ... ion-guide/

It specifies a notify-service-by-pagerduty command and a pd-nagios script.
Former Nagios employee
[email protected]
Posts: 17
Joined: Thu Sep 13, 2012 5:54 pm

Re: Notifications for services not going out.

Post by [email protected] »

Now all are sending but not to pagerduty - only a few notifications.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Notifications for services not going out.

Post by hsmith »

[email protected] wrote:Now all are sending but not to pagerduty - only a few notifications.
Are ANY of your pagerduty notifications working? What steps did you take to configure PagerDuty integration on your XI server? Did you read the guide that Trevor posted?
Former Nagios Employee.
me.
[email protected]
Posts: 17
Joined: Thu Sep 13, 2012 5:54 pm

Re: Notifications for services not going out.

Post by [email protected] »

check are now being sent but teh alerts to pagerduty are having issues.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Notifications for services not going out.

Post by rkennedy »

[email protected] wrote:check are now being sent but teh alerts to pagerduty are having issues.
To reiterate, can you please answer these questions so we know where you're at -
Are ANY of your pagerduty notifications working? What steps did you take to configure PagerDuty integration on your XI server? Did you read the guide that Trevor posted?
Former Nagios Employee
Locked