Page 1 of 1

email notification error

Posted: Thu Aug 25, 2011 12:35 am
by nagiostool
Hi i'm totally new to nagios and i have installed nagios xi in linux machine which was loaded with CENTOS 5.0
i have configured it to send email notification when any service fails but i'm not able to recieve the mail and getting the following error as mail from mail deamon to my (root) mailbox

Return-Path: [email protected]
Received: from nagiostst.example.com (nagiostst.example.com [127.0.0.1])
by nagiostst.example.com (8.13.8/8.13.8) with ESMTP id p721U4LC022775
for [email protected]; Tue, 2 Aug 2011 07:00:12 +0530
Received: (from root@localhost)
by nagiostst.example.com (8.13.8/8.13.8/Submit) id p721U4Tq022773;
Tue, 2 Aug 2011 07:00:04 +0530
Date: Tue, 2 Aug 2011 07:00:04 +0530
Message-Id: [email protected]
From: [email protected](Cron Daemon)
To: [email protected]
Subject: Cron <root@nagiostst> /root/scripts/automysqlbackup
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>
Status: RO

Please help me in figuring this out

Re: email notification error

Posted: Thu Aug 25, 2011 11:51 am
by lmiltchev
Go to "Configure" and click on "My Account Settings" under "More Options" from the left panel menu. Make sure you have the proper e-mail address entered there.
Click on "Notification Preferences" under "Notification Options" and make sure that the "Enable Notifications" check box is marked and Notification Types and Times are setup.
Click on "Notification Methods" under "Notification Options" and make sure the Email check box is marked.
Click on "Admin" menu and then click on the "Manage Email Settings" under "System Config" from the left panel menu. Select your e-mail method, fill in your e-mail in the "Send Mail From" box in the format: "Nagios Admin <your_email>. If you are using SMTP, fill in all of the info under "SMTP Settings".
Click on "Send A Test Email"->"Send Test Email".
See if you are receiving e-mails.

Re: email notification error

Posted: Tue Sep 06, 2011 11:04 am
by nagiostool
Thanks for the reply it worked for me by going through the info once again