Page 1 of 1

Sending email Alert

Posted: Wed Jul 31, 2019 1:56 pm
by nerdintern2019
Need help figuring out what I am doing wrong because nagios is not sending any email alerts. I set up my contacts and edited host and services to send notifications to that contact.

Re: Sending email Alert

Posted: Wed Jul 31, 2019 4:35 pm
by lmiltchev
We will need a lot more information in order to help you out...

What kind of mail program are you using - sendmail, postfix, etc.? Can you send a test email from the command line? Can your contact receive test emails? Did your host/service go to a HARD non-ok state? Was the host/service in a scheduled downtime? Was it flapping? Was the problem acknowledged? Can you show us the following configs?

- the host/service that you would like to receive notification about
- the contact/contacgroup that has been assigned to this object
- the notification commands that you are using
- any templates that are used by the host, service or contact

Do you see any clues in the mail log?

Code: Select all

tail -100 /var/log/maillog