nagios generated email.
rob.moss at uk.bnpparibas.com
rob.moss at uk.bnpparibas.com
Tue Sep 5 11:47:10 CEST 2006
Sorry about top posting, but i'm using Notes and it sucks
Nagios just uses /bin/mailx which also relies on local
sendmail/qmail/whatever to be configured properly.. I built my own perl
emailer to connect directly to a configured mail server, use a configured
FROM address and send TO an address passed to it by Nagios. This script
also formats the alert output so it's reasonably easy to change to suit
your purposes..
I have just uploaded it to Nagios Exchange here:
http://www.nagiosexchange.org/Utilities.16.0.html?&tx_netnagext_pi1[p_view]=698
Enjoy!
Rob Moss / mossko
|------------------------------------------>
| Internet |
| muaddib at databit7.com |
| |
| |
| Sent by: |
| nagios-users-bounces at lists.sourc|
| eforge.net |
| |
| 04/09/2006 19:23 |
|------------------------------------------>
>---------------------------------------------------------------------------------------------------------------|
| |
| |
| To|
| nagios-users |
| cc|
| |
| Subject|
| [Nagios-users] nagios generated email. |
| |
| |
| |
| |
| |
| |
>---------------------------------------------------------------------------------------------------------------|
Where do i configure the FROM address for nagios's outbound emails?
bash-3.1# cat qfk8436oNG006748
V8
T1157339509
K1157393302
N31
P2730634
I4/0/122148
MDeferred: Connection timed out with mail.tmail.com.
Fwbs
$_localhost [IPv6:::1]
$rESMTP
$sgw-jfk-0-0.kb3ien
${daemon_flags}OO
S<nagios at gw-jfk-0-0.kb3ien>
MDeferred: Connection timed out with mail.example.com.
rRFC822; kb3ien at example.com
RPFD:<kb3ien at tmail.com>
H?P?Return-Path: <g>
H??Received: from gw-jfk-0-0.kb3ien (localhost [IPv6:::1])
by gw-jfk-0-0.kb3ien (8.13.7/8.13.3) with ESMTP id k8436oNG006748
for <kb3ien at example.com>; Mon, 4 Sep 2006 03:11:49 GMT
H??Received: (from nagios at localhost)
by gw-jfk-0-0.kb3ien (8.13.7/8.13.3) id k7V5Doue012529
for kb3ien at example.com.; Thu, 31 Aug 2006 05:13:50 GMT
H??Date: Thu, 31 Aug 2006 05:13:50 GMT
H??From: nagios at gw-jfk-0-0.kb3ien
H??Message-Id: <200608310513.k7V5Doue012529 at gw-jfk-0-0.kb3ien>
H??To: kb3ien at tmail.com
H??Subject: ** PROBLEM alert - Andromeda Email/Shell/Web Server/PING6 is
CRITICAL **
..
yes, these arnt the real addresses, but i want to change,
H??From: nagios at gw-jfk-0-0.kb3ien
to something else. seems to be pulling the name of the effectiveuserid and
the `hostname`. joins them together with a @, and hopes for the best.
Robin-David Hammond KB3IEN
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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 message and any attachments (the "message") is
intended solely for the addressees and is confidential.
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified.
**********************************************************************************************
BNP Paribas Private Bank London Branch is authorised
by CECEI & AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in
the United Kingdom.
BNP Paribas Securities Services London Branch is authorised
by CECEI & AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in
the United Kingdom.
BNP Paribas Fund Services UK Limited is authorised and
regulated by the Financial Services Authority
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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