Mail Notification problem
Posted: Mon May 27, 2019 5:01 am
I have the following configuration
when memory hits warning or critical status i still getting notified via email even if i commented the notification command at the service check.
Why this happens?
Code: Select all
define host{
host_name PorApp1
address 10.0.2.11
contacts nagiosadmin,systemadmin
check_command check-host-alive
max_check_attempts 5
check_interval 1
retry_interval 1
parents SMCSW
check_period 24x7
hostgroups KDS PHYSICAL SERVERS, KDS Linux Servers
statusmap_image rack-server.gd2
notification_interval 0
notification_options d,u,r,s
notification_period 24x7
}
define host{
host_name PorApp2
address 10.0.2.12
contacts nagiosadmin,systemadmin
check_command check-host-alive
max_check_attempts 5
check_interval 1
retry_interval 1
parents SMCSW
check_period 24x7
hostgroups KDS PHYSICAL SERVERS, KDS Linux Servers
statusmap_image rack-server.gd2
notification_interval 0
notification_options d,u,r,s
notification_period 24x7
}
define service{
host_name PorApp1,PorApp2
service_description Memory Use
check_command check_nrpe!check_mem
max_check_attempts 5
check_interval 1
retry_interval 1
check_period 24x7
servicegroups Memory Use
# notification_interval 0
# notification_options w,u,c,r,s
}Why this happens?