On Oct 16, 2008, at 7:28 AM, chris king wrote:
> my mail.log
>
> Oct 16 07:32:15 nagios sendmail[2578]: m9GCWFwB002578: from=nagios,
> size=226, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]
> >, [EMAIL PROTECTED]
> Oct 16 07:32:15 nagios sm-mta[2579]: m9GCWFPm002579: <[EMAIL PROTECTED]
> >... User unknown
> Oct 16 07:32:15 nagios sendmail[2578]: m9GCWFwB002578: to=$,
> ctladdr=nagios (104/104), delay=00:00:00, xdelay=00:00:00,
> mailer=relay, pri=30226, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1,
> stat=User unknown
> Oct 16 07:32:15 nagios sm-mta[2579]: m9GCWFPm002579: from=<[EMAIL PROTECTED]
> >, size=226, class=0, nrcpts=0, proto=ESMTP, daemon=MSP-v4,
> [EMAIL PROTECTED] [127.0.0.1]
>
> my contact-by-email command:
>
> define command {
> command_name notify-host-by-email
> command_line /usr/bin/printf "%b" "***** Nagios *****\n
> \nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState:
> $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/
> Time: $LONGDATETIME$\n" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$
> Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$
> }
Please post the host, contactgroup and contact definitions. Is there
something interesting about the contact's e-mail? Does it contain a $?
--
Marc
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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