Sending email Alert

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
nerdintern2019
Posts: 2
Joined: Wed Jun 19, 2019 12:08 pm

Sending email Alert

Post 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.
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: Sending email Alert

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked