<div>Hi,</div> <div> </div> <div>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.<BR>Changed the same and I could manage to send emails. </div> <div> </div> <div>Thought it would help someone having similar issue.</div> <div> </div> <div>Thanks anyways.</div> <div><BR><B><I>Marc Powell <marc@ena.com></I></B> wrote:</div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"><BR><BR>> -----Original Message-----<BR>> From: nagios-users-bounces@lists.sourceforge.net [mailto:nagios-users-<BR>> bounces@lists.sourceforge.net] On Behalf Of sachin holikar<BR>> Sent: Friday, March 07, 2008 7:44 AM<BR>> To: nagios-users@lists.sourceforge.net<BR>> Subject: [Nagios-users] Email notification
stopped!!<BR>> <BR>> <BR>> Hi,<BR>> <BR>> We have configured Nagios 2.9 onto Linux Box recently. In the event of<BR>an<BR>> issue , Email notification is being sent to my mailbox. Everthing was<BR>> setup so far.<BR>> Suddenly the Email notifications have stopped coming.<BR>> <BR>> I checked the log files and found that notifications are getting sent<BR>, it<BR>> just that mail is not getting generated. This I checked from maillog.<BR><BR>Are you saying here that you see the notification attempt in nagios.log<BR>but do not see any corresponding activity in /var/log/maillog? If so,<BR>verify that you have not changed your notification commands and that<BR>they work when run from the command line as the nagios user.<BR><BR>> <BR>> See below,<BR>> /var/log/nagios/nagios<BR>> <BR>> [1204896767] SERVICE ALERT: localhost;HTTP;WARNING;SOFT;1;HTTP<BR>WARNING:<BR>> HTTP/1.1 404 Not Found<BR>> [1204896827] SERVICE ALERT:
localhost;HTTP;WARNING;HARD;2;HTTP<BR>WARNING:<BR>> HTTP/1.1 404 Not Found<BR>> [1204896827] SERVICE NOTIFICATION:<BR>itsme;localhost;HTTP;WARNING;notify-by-<BR>> email;HTTP WARNING: HTTP/1.1 404 Not Found<BR>> <BR>> Now whats gone wrong suddenly?<BR><BR>How can we know? Something was changed, what is it?<BR><BR>--<BR>Marc<BR><BR>-------------------------------------------------------------------------<BR>This SF.net email is sponsored by: Microsoft<BR>Defy all challenges. Microsoft(R) Visual Studio 2008.<BR>http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/<BR>_______________________________________________<BR>Nagios-users mailing list<BR>Nagios-users@lists.sourceforge.net<BR>https://lists.sourceforge.net/lists/listinfo/nagios-users<BR>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. <BR>::: Messages without supporting info will risk being sent to /dev/null<BR></BLOCKQUOTE><BR><p>
<hr size=1>Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. <a href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ "> Try it now.</a>