Email Alerts not sending

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
m1kew1lson
Posts: 1
Joined: Tue Oct 11, 2011 8:57 am

Email Alerts not sending

Post by m1kew1lson »

I am working with a new Nagios Core 3.3.1 setup on freebsd 8.2. I am using sendmail for email alerts. I can send emails from a command line however when nagios fires an alert I never get the emails sent. I see this when I tail the maillog. I see the config for the contacts correct. Has anyone seen this before? I am guessing the to=$ is where the unknown user is coming from

Oct 11 10:40:34 gmt-nag01 sendmail[67348]: p9BEeYfO067348: from=nagios, size=220, class=0, nrcpts=1, msgid=<201110111440.p9BEeYfO067348@gmt-nag01.somedomain.net>, relay=nagios@localhost
Oct 11 10:40:34 gmt-nag01 sm-mta[67349]: p9BEeYSS067349: <$@gmt-nag01.somedomain.net>... User unknown
Oct 11 10:40:34 gmt-nag01 sendmail[67348]: p9BEeYfO067348: to=$, ctladdr=nagios (181/181), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30220, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
Oct 11 10:40:34 gmt-nag01 sm-mta[67349]: p9BEeYSS067349: from=<nagios@gmt-nag01.somedomain.net>, size=220, class=0, nrcpts=0, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1]
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Email Alerts not sending

Post by jsmurphy »

Are you able to post your send email command definition from nagios as well?
Locked