Re: Not everybody in a Contact group was notified
Posted: Wed Apr 20, 2016 10:20 am
ps -ef | grep bin/nagios
The user has gotten other notifications, so his email address is correct.
Also.... Yesterday, somebody here had mentioned that I should use the generic notify host, of notify service when using SMTP..... So I changed it on mine for testing
Did the same changes used for email and texting..... I got the text notifications just fine, but no emails.
Code: Select all
root 14749 8816 0 08:00 pts/0 00:00:00 grep bin/nagios
nagios 30705 1 0 Apr19 ? 00:04:20 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 30707 30705 0 Apr19 ? 00:00:21 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 30708 30705 0 Apr19 ? 00:00:21 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 30709 30705 0 Apr19 ? 00:00:21 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 30710 30705 0 Apr19 ? 00:00:21 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 30711 30705 0 Apr19 ? 00:00:21 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 30712 30705 0 Apr19 ? 00:00:21 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 30743 30705 0 Apr19 ? 00:00:02 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
Code: Select all
define host {
host_name G1VPEXC02
use xiwizard_exchange_host
alias G1VPEXC02
display_name G1VPEXC02
address G1VPEXC02
hostgroups Virtual,Windows-Servers
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
contact_groups G1VPEXC0X
notification_interval 60
notification_period xi_timeperiod_24x7
notes Exchange Server
notes_url
icon_image exchange2010.png
statusmap_image exchange2010.png
register 1
}
###############################################################################
#
# Host configuration file
#
# END OF FILE
#
###############################################################################Code: Select all
define contact {
contact_name John Liter
alias John Ler
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_period litrj.adm_notification_times
service_notification_period literj.adm_notification_times
host_notification_options d,u,r,f,s,
service_notification_options w,u,c,r,f,s,
host_notification_commands xi_host_notification_handler
service_notification_commands xi_service_notification_handler
email [email protected]
pager 541-244-XXXX
use xi_contact_generic
}