Email notification not working

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
mheroux
Posts: 1
Joined: Fri Oct 28, 2016 10:18 am

Email notification not working

Post by mheroux »

I made several changes the other day with *.cnf files and cannot figure out why Nagios is no longer sending emails notifications. I can tell before the change their were emails messages being generated in /var/log/mail.log such as:

Code: Select all

Oct 24 10:13:28 sentinel postfix/qmgr[779]: 83DB53022F1: removed
Oct 24 10:13:28 sentinel postfix/smtp[30241]: 8C25E3009B1: to=<[email protected]>, relay=smtp.domain.com[x.x.x.x]:25, delay=0.3, delays=0.16/0/0/0.14, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 99B5A2E0042)
Oct 24 10:13:28 sentinel postfix/qmgr[779]: 8C25E3009B1: removed
Oct 24 10:13:28 sentinel postfix/smtp[30242]: 946DA3004C2: to=<[email protected]>, relay=smtp.domain.com[x.x.x.x]:25, delay=0.35, delays=0.2/0/0/0.14, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as A49482E0043)
Oct 24 10:13:28 sentinel postfix/qmgr[779]: 946DA3004C2: removed
Oct 24 10:18:12 sentinel postfix/master[776]: terminating on signal 15
However, since I changed contacts.cfg, templates.cfg, and timeperiod.conf there have been no postfix logs added since the change. I restored the old contacts.cfg file. Any suggestions on how to troubleshoot this issue.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Email notification not working

Post by dwhitfield »

Can you post the three files you changed, scrubbing anything private? Alternatively, you could PM them.
Locked