Please - Notification by e-mail
Hugo Rebello
hugo.rebello at br.danzas.com
Thu Mar 6 20:24:30 CET 2003
Are you using this command to send smtp e-mail ?
What smtp server are you using ?
Thank you.
Hugo
-----Original Message-----
From: Tom Welsh [mailto:twelsh at square-box.com]
Sent: quinta-feira, 6 de março de 2003 07:25
To: 'Hugo Rebello'; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Please - Notification by e-mail
Firstly can you mail from the command line to another account, If this
doesn't work then you have a problem with the mail system and not
nagios.
My mail command for nagios is as follows. This is from my debian machine
(wrapped for readability)
# 'notify-by-email' command definition (ORIGINAL)
define command{
name notify-by-email ; The name of this command definition - can be used
for template recursion/resolution
command_name notify-by-email ; The name of this command, as
used/recognized by Nagios
command_line /usr/bin/echo -e 'Notification Type:
$NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost:
$HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time:
$DATETIME$\n\nAdditional Info:\n\n$OUTPUT$' | /usr/bin/mail -s '
$NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ '
$CONTACTEMAIL$
Hope this helps
Tom Welsh
twelsh at square-box.com
-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Hugo
Rebello
Sent: 06 March 2003 17:49
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Please - Notification by e-mail
Please, anybody help me ?
I can´t get to send notification by e-mail using "mail command"
Some sugestion ?
Thank you.
Hugo Rebello
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The
debugger
for complex code. Debugging C/C++ programs can leave you feeling lost
and
disoriented. TotalView can help you find your way. Available on major
UNIX
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
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
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
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