Return-path
Brian T. O'Neill
btoneill at misplaced.net
Thu May 5 22:42:26 CEST 2005
Use -r not -f.
Brian
Quoting Mario Sergio Candian (mscandian at FreeBSDBrasil.Com.Br) from :
>
> Hi list,
>
> I change my misccommands.cfg, and I put the -f option with an
> address at somedomain.com. But, I continued receive notification by email with
> other address at somedomain. Eg:
>
> Date: Thu, 5 May 2005 09:32:01 -0300 (BRT)
> From: Nagios pseudo-user <nagios at cliente.com>
> To: suport at mydomain.com
> Subject: Host DOWN alert for ns4.domain.com.br!
>
> ***** Nagios *****
>
> Notification Type: PROBLEM
> Host: ns4.domain.com.br
> State: DOWN
> Address: ns4.domain.com.br
> Info: CRITICAL - Plugin timed out after 11 seconds
>
> In this email, I wanna to change the mail From "Nagios pseudo-user
> <nagios at cliente.com>". Now, I wanna to define it for ns5 at mydomain.com.
> I put the -f option and doesnt resolve. Whant I need to do?
>
> My miscommands.cfg:
>
> | /usr/bin/mail -f address at somedomain.com -s "** $NOTIFICATIONTYPE$
> alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **"
>
> What I need to do to change this?
>
> Mario Sergio Candian
> -
> "Dreams as if you'll live forever. Live as if you'll die today" -- James
> Dean
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games.
> Get your fingers limbered up and give it your best shot. 4 great events, 4
> opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
> _______________________________________________
> 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
--
btoneill at misplaced.net
****************************************************************************
UNIX is simple and coherent, but it takes a genius (or at any rate a
programmer) to understand and appreciate the simplicity." - Dennis Ritchie
****************************************************************************
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
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