Hello all, I've recently installed nagios 2.0 on Redhat 9, and I believe I have all configs setup correctly. Pre-flight check comes up ok and I check the nagios logs and the alerts show up, but for some reason I am not receiving any emails. I left the defaults for the "notify-by-email" command as described below:
# 'notify-by-email' command definition
command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS
$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /bin/mail -s "** $NOTIFICATION
TYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$
Here is the context of my contacts.cfg:
I have cronjobs that send mail to me, and my sendmail is definitely turned on...what else could I be missing???