Hi,
As always you are dead right. Tried sending mail by logging in as nagios user
and it gave error saying cannot write to /tmp directory. Thats strange as
currently I'm the only person working on this system. And saw that /tmp
permissions have changed.
Changed the same and I could manage to send emails.
Thought it would help someone having similar issue.
Thanks anyways.
Marc Powell <[EMAIL PROTECTED]> wrote:
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of sachin holikar
> Sent: Friday, March 07, 2008 7:44 AM
> To: [email protected]
> Subject: [Nagios-users] Email notification stopped!!
>
>
> Hi,
>
> We have configured Nagios 2.9 onto Linux Box recently. In the event of
an
> issue , Email notification is being sent to my mailbox. Everthing was
> setup so far.
> Suddenly the Email notifications have stopped coming.
>
> I checked the log files and found that notifications are getting sent
, it
> just that mail is not getting generated. This I checked from maillog.
Are you saying here that you see the notification attempt in nagios.log
but do not see any corresponding activity in /var/log/maillog? If so,
verify that you have not changed your notification commands and that
they work when run from the command line as the nagios user.
>
> See below,
> /var/log/nagios/nagios
>
> [1204896767] SERVICE ALERT: localhost;HTTP;WARNING;SOFT;1;HTTP
WARNING:
> HTTP/1.1 404 Not Found
> [1204896827] SERVICE ALERT: localhost;HTTP;WARNING;HARD;2;HTTP
WARNING:
> HTTP/1.1 404 Not Found
> [1204896827] SERVICE NOTIFICATION:
itsme;localhost;HTTP;WARNING;notify-by-
> email;HTTP WARNING: HTTP/1.1 404 Not Found
>
> Now whats gone wrong suddenly?
How can we know? Something was changed, what is it?
--
Marc
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null