Not receiving Email Notifications

Timothy Washburn tim.washburn at replacements.com
Mon Apr 11 21:16:52 CEST 2005


You hit the nail on the head when you said file permission.  The
nullmailer queue was not available under the nagios login.  I simply
gave nagios login rights to the folders needed and everything worked
fine.  Thanks for your help.  


-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc
Powell
Sent: Monday, April 11, 2005 1:14 PM
To: nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Not receiving Email Notifications



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Timothy Washburn
> Sent: Monday, April 11, 2005 11:43 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Not receiving Email Notifications
> 
> 
> 
> 
> 
> I have notifications setup but I have yet to receive an email.  I look
in
> the nagios.log file and see the following lines.
> 
> 
> 
> 1113237001 HOST NOTIFICATION: tim;********;DOWN;host-notify-by-
> email:/bin/ping -n -U -c 1 128.100.2.46
> 
> 1113237001 HOST NOTIFICATION: nagios;********;DOWN;host-notify-by-
> email:/bin/ping -n -U -c 1 128.100.2.46
> 
> 
> 
> 
> 
> I can take the command syntax from the misccomands.cfg file and send a
> mail from command line without any problems.  Anybody have any ideas
on
> how I can troubleshoot this or something I can chance.

When you test it, do you do so as the nagios user? It's likely that
there is some library or file that isn't accessible by that user. Is
there anything in your mail log files? Mailqueue? Without knowing what
your host-notify-by-email command looks like or your nagios version
you're only going to get vague answers. To troubleshoot you could change
that command to echo the information to a text file to verify that
you're using the correct macros and such...

Information is the key otherwise we're just shooting in the dark.

--
Marc


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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





More information about the Users mailing list