nagios don't send mail for individual hosts
Hi,
It does not send mail if I only add contact_groups in host definition. Code:
Code:
define service{ Any ideas ? |
You need to add these options in your hosts definitions (and services):
Code:
notification_interval 30 A timeperiod is defined like this: Code:
# '24x7' timeperiod definition Hope this helps. |
Thanks for your reply, but options you gave are only about when and who to contact.
Should it not send an email regardless, from host definition structure? Because it does send email once I put it in service structure. |
Well there may be a place to set a default value somewhere, but I have always set it for each host and service. I have over 100 hosts and over 500 services monitored by Nagios and I have something like 10 groups. Some get e-mails 24x7, some don't care if the copier goes down at 3 AM. I have never had a problem.
If you don't define Code:
notification_interval 120 |
All times are GMT -5. The time now is 07:19 PM. |