email notice problem

admin at lctn.org admin at lctn.org
Fri Feb 16 16:17:26 CET 2007


I am running 2.7 on an Ubuntu server, with sendmail. I have read the docs,
but am having trouble here. According to the examples given I have "define
contact" set up correctly. I also have an alias "nagiosadmin" in
/etc/aliases. Here is my config, and the error I am getting below. The
error is occuring when it reaches the "email" line. Any ideas how to
resolve this?


define contact{
        contact_name                    nagiosadmin
        alias                           Nagios Admin
        service_notification_period     24x7
        host_notification_period        24x7
        service_notification_options    w,u,c,r
        host_notification_options       d,r
        service_notification_commands   notify-by-email
        host_notification_commands      host-notify-by-email
        email                           admin at domain.com
        }







Host Unreachable (10.10.4.89)\n\nDate/Time: Fri Feb 16 09:10:01 CST
2007\n" |  -s "Host DOWN alert for relay-1.domain.com!" admin at domain.com"
resulted in a return code of 127.  Make sure the script or binary you are
trying to execute actually exists...


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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