Dear all,
I cannot send email alerts when I place a a hot or service in scheduled down time.
- All contact have "s" options configured
service_notification_options w,u,c,r,s
host_notification_options d,u,r,s
- All host or services I set in host downtime
notification_options d,u,r,s
To test the notification I schedule a 5 minute downtime for a host. No mail is being sent.
Any idea why this email is not sent? (nothing appears in Reports > Notifications)
Thank you
Scheduled Downtime - email not sent
-
amprantino
- Posts: 140
- Joined: Thu Apr 18, 2013 8:25 am
- Location: libexec
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Scheduled Downtime - email not sent
Can you please post your host, service, contact and command definitions so we can verify your configuration.
When viewing a host or service object, if you "Send custom xxx notification" do you receive that email?
When viewing a host or service object, if you "Send custom xxx notification" do you receive that email?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
amprantino
- Posts: 140
- Joined: Thu Apr 18, 2013 8:25 am
- Location: libexec
Re: Scheduled Downtime - email not sent
I have isolated the problem.
Downtime notifications will go out ONLY in case that downtime is scheduled inside "notification_period" of the host.
Otherwise nothing will be sent.
In other hosts, it worked fine.
Here is a working example:
Downtime notifications will go out ONLY in case that downtime is scheduled inside "notification_period" of the host.
Otherwise nothing will be sent.
In other hosts, it worked fine.
Here is a working example:
Code: Select all
define host {
host_name HQ_ServerRack3_SW
alias HQ SW @ Rack3
address 192.168.1.11
parents CoreSW
check_command check-host-alive
max_check_attempts 5
process_perf_data 0
retain_nonstatus_information 1
notification_interval 30
notification_period 24x7
notification_options d,u,r,s
contact_groups net-admins-priority
}
define contactgroup{
contactgroup_name net-admins-priority
alias Network Administrators
members admin1-priority.mail,admin2-priority.mail
}
define contact{
contact_name admin1-priority.mail
alias admin1 priority mail
service_notification_period 24x7
host_notification_period 24x7
service_notification_options w,u,c,r,s
host_notification_options d,u,r,s
service_notification_commands service-email-html-int-en-critical
host_notification_commands host-email-html-int-en-critical
email [email protected]
}Re: Scheduled Downtime - email not sent
Thanks for reporting back that you figured it out.
Shall we close and lock up the post?
Shall we close and lock up the post?
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
amprantino
- Posts: 140
- Joined: Thu Apr 18, 2013 8:25 am
- Location: libexec
Re: Scheduled Downtime - email not sent
Of course
Thank you
Thank you