Reg: [Nagios-User] Change_Email_FromID

Abad Uriarte, Arkaitz arkaitz.abad at ehu.es
Wed Jan 19 08:34:59 CET 2011


Hello;

In commands.cfg you specifies the mail comand are Nagios using.

#command_line	/usr/bin/printf "%b" "***** Nagios *****\n\nNotification  
Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState:  
$HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time:  
$LONGDATETIME$\n" | /bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert:  
$HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$


I do not know how you could change with mail comand the from, or how  
you could change "from" for the nagios user in your system... but that  
is the solution:
change in system or in mail comand of command.cfg

Answer is not completed but is a little help.

Excuse me my English

Arkaitz
----------------------------------------------------------------------
ARKAITZ ABAD URIARTE

Euskal Herriko Unibertsitatea              Email: arkaitz.abad @ehu.es
Bizkaiko I.I.S.I.G                         Tel. : 94 601 8390
----------------------------------------------------------------------
Aurreztu papera. E-posta hau inprimatu beharra daukazu?



Rajesh Kumar <ras.kumar01 at gmail.com> escribió:

> Hi All
>
>
>       I used Nagios Core in my CentOS Server. It?s working fine. I need to
> change notification alert from my mail id. Now am getting mail id from
> nagios at monitor.server The monitor.server is my CentOS host id. How to switch
> to my mail id, (ras.kumar01 at gmail.com) in nagios.
>
>
> Regards
>
> B.Rajeshkumar
>





------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
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