Not getting email alert
Posted: Mon Mar 30, 2026 11:23 am
I'm not getting an email alerting me that a monitored host is critical. I thought I wasn't understanding inheritance properly so I setup a new host and used the wizard to monitor it using ping. The host isn't in any other groups, and no other templates are applied to it so whatever the host settings are should be what Nagios follows - right?
Nagios XI 2026R1.3
grep enable_notifications /usr/local/nagios/etc/nagios.cfg
enable_notifications=1
define contact {
contact_name SNIP
alias Gagel, Kevin
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_period SNIP_notification_times
service_notification_period SNIP_notification_times
host_notification_options d,u,r,f,s
service_notification_options w,u,c,r,f,s
service_notification_commands check_acknowledgement_notify
email SNIP
use xi_contact_generic
}
###############################################################################
#
# Hosts configuration file
#
# Created by: Nagios CCM 3.1.9
# Date: 2026-03-30 11:23:51
# Version: Nagios Core 4.x
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios CCM will overwrite all manual settings during the next update if you
# would like to edit files manually, place them in the 'static' directory or
# import your configs into the CCM by placing them in the 'import' directory.
#
###############################################################################
define host {
host_name NAGIOSTEST.SNIP
address SNIP
check_command check_ping!100.0,50%!110.0,100%!!!!!!
initial_state u
max_check_attempts 1
check_interval 1
retry_interval 1
active_checks_enabled 1
passive_checks_enabled 1
check_period 24x7
contacts SNIP (contact defined above)
notification_interval 4
notification_period 24x7
notification_options d,u,r,
notifications_enabled 1
icon_image nsclient.png
statusmap_image nsclient.png
_xiwizard nsclient
register 1
}
###############################################################################
#
# Hosts configuration file
#
# END OF FILE
#
###############################################################################
/usr/local/nagios/var/nagios.log
[1774903795] HOST NOTIFICATION: SNIP;NAGIOSTEST.SNIP;DOWN;check_acknowledgement_notify;CRITICAL - Host Unreachable (SNIP)
Nagios XI 2026R1.3
grep enable_notifications /usr/local/nagios/etc/nagios.cfg
enable_notifications=1
define contact {
contact_name SNIP
alias Gagel, Kevin
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_period SNIP_notification_times
service_notification_period SNIP_notification_times
host_notification_options d,u,r,f,s
service_notification_options w,u,c,r,f,s
service_notification_commands check_acknowledgement_notify
email SNIP
use xi_contact_generic
}
###############################################################################
#
# Hosts configuration file
#
# Created by: Nagios CCM 3.1.9
# Date: 2026-03-30 11:23:51
# Version: Nagios Core 4.x
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios CCM will overwrite all manual settings during the next update if you
# would like to edit files manually, place them in the 'static' directory or
# import your configs into the CCM by placing them in the 'import' directory.
#
###############################################################################
define host {
host_name NAGIOSTEST.SNIP
address SNIP
check_command check_ping!100.0,50%!110.0,100%!!!!!!
initial_state u
max_check_attempts 1
check_interval 1
retry_interval 1
active_checks_enabled 1
passive_checks_enabled 1
check_period 24x7
contacts SNIP (contact defined above)
notification_interval 4
notification_period 24x7
notification_options d,u,r,
notifications_enabled 1
icon_image nsclient.png
statusmap_image nsclient.png
_xiwizard nsclient
register 1
}
###############################################################################
#
# Hosts configuration file
#
# END OF FILE
#
###############################################################################
/usr/local/nagios/var/nagios.log
[1774903795] HOST NOTIFICATION: SNIP;NAGIOSTEST.SNIP;DOWN;check_acknowledgement_notify;CRITICAL - Host Unreachable (SNIP)