Page 3 of 3
Re: Notifications for services not going out.
Posted: Fri Feb 05, 2016 1:29 pm
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.
Re: Notifications for services not going out.
Posted: Fri Feb 05, 2016 2:54 pm
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
Re: Notifications for services not going out.
Posted: Fri Feb 05, 2016 2:55 pm
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?
Re: Notifications for services not going out.
Posted: Fri Feb 05, 2016 6:31 pm
Everything is working now except alerts going to pagerduty.
Re: Notifications for services not going out.
Posted: Fri Feb 05, 2016 7:41 pm
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.
Re: Notifications for services not going out.
Posted: Tue Feb 09, 2016 8:22 pm
Now all are sending but not to pagerduty - only a few notifications.
Re: Notifications for services not going out.
Posted: Wed Feb 10, 2016 11:11 am
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?
Re: Notifications for services not going out.
Posted: Thu Feb 11, 2016 1:37 pm
check are now being sent but teh alerts to pagerduty are having issues.
Re: Notifications for services not going out.
Posted: Thu Feb 11, 2016 1:39 pm
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?