Return-path
Mario Sergio Candian
mscandian at FreeBSDBrasil.Com.Br
Thu May 5 18:07:52 CEST 2005
Hi Dan,
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. Now, its defined
nagios at cliente.com, and I wanna change for, eg: monitor at mydomain.com in
mail From. I put the -f option and doesnt resolve. Whant I need to do?
Atenciosamente,
Mario Sergio Candian
FreeBSD Brasil LTDA.
-
"Dreams as if you'll live forever. Live as if you'll die today" -- James Dean
On Wed, 4 May 2005, Dan Davis wrote:
>>
>> | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert -
>> $HOSTALIAS$/$SERVICEDESC$
>> is $SERVICESTATE$ **"
>>
>> then, I need to change for:
>>
>> | /usr/bin/mail -s -f address at somedomain.com "** $NOTIFICATIONTYPE$ alert
>> - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **"
>>
>
> Actually, the -s goes with the quoted text... should be:
>
> | /usr/bin/mail -f address at somedomain.com -s "** $NOTIFICATIONTYPE$ alert -
> $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **"
>
> -Dan
>
-------------------------------------------------------
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