Notification problem (3rd attempt)

Michael Gale michael.gale at utilitran.com
Wed Feb 18 17:29:57 CET 2004


What are the permissions on the /bin/mail command ?

Michael.


On Wed, 18 Feb 2004 10:57:24 -0500
nagios at acmecargo.com wrote:

> Does anyone at least have an idea for me please?
> 
> I am having a problem getting my notifications working. I see the service 
> notification go through on the log but I never see the message being sent 
> through the outgoing mail log file nor do I get the email of course.
> Feb  6 17:39:15 src at sysmon nagios: SERVICE NOTIFICATION: 
> contactname;temp_probe1;Central DC temp;WARNING;notify-phone-by-email;Temp 
> Warning: Probe 3 = 71.1 F
> 
> I can send a message manually simulating what is in my misccommands.cfg. 
> The actual line says:
> /usr/bin/printf "%b $NOTIFICATIONTYPE$ $SERVICEDESC$ $HOSTALIAS$ 
> $SERVICESTATE$ $DATETIME$ Info:$OUTPUT$" | /bin/mail -s ALERT $CONTACTEMAIL$
> I try the following:
> /usr/bin/printf "This is a test" | /bin/mail -s "Test Subject" user at domain.com
> and I see it process in my mail log and I receive the email.
> 
> Why is it that Nagios is logging the Service Notification but it is never 
> submitted to the local sendmail daemon?
> 
> Dylan
> 
> 
> 
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&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
> 
> 
> 
> 


-- 
Michael Gale
Network Administrator
Utilitran Corporation


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&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