Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Delivery has failed to these recipients or groups:
$@mycompany.com
The e-mail address you entered couldn't be found. Please check the recipient's e-mail address and try to resend the message. If the problem continues, please contact your helpdesk.
I check the "Notification" link and it does not show that any notification were sent out. Why would Nagios be sending random emails? The emails that it is sending is reporting that hosts or either up, or down and the hosts it is reporting on is random.
Do you have a contact with an invalid email address that might be causing this? Could you show an example of one of the emails? Also when these emails are being sent, is the host or service at that time actually down or recovering as the email states?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Nope, the host machines are fine. All contacts have valid emails address's
the NDR that is returned says: (yes, that dollar sign $ is what it really shows in the NDR)
my Nagios server = g1vpnag01
my Exchange server = G1VPEXC02
Delivery has failed to these recipients or groups:
$@mycomapany.com
The e-mail address you entered couldn't be found. Please check the recipient's e-mail address and try to resend the message. If the problem continues, please contact your helpdesk.
Diagnostic information for administrators:
Generating server: G1VPEXC02.mycompany.local
$@mycomapany.com
#550 5.1.1 RESOLVER.ADR.RecipNotFound; not found ##rfc822;$
Original message headers:
Received: from g1vpnag01.mycompany.local (10.100.1.227) by
G1VPEXC02.mycompany.local (10.100.1.107) with Microsoft SMTP Server id
14.2.347.0; Fri, 25 Jul 2014 08:59:50 -0700
Received: by g1vpnag01.mycompany.local (Postfix, from userid 501) id
1DBC914195E; Fri, 25 Jul 2014 08:59:50 -0700 (PDT)
Date: Fri, 25 Jul 2014 08:59:50 -0700
To: <$@mycomapany.com>
Subject: ** Host Alert: G1POSTAGE01 is UP **
User-Agent: Heirloom mailx 12.4 7/29/08
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Message-ID: <20140725155950.1DBC914195E@g1vpnag01.mycompany.local>
From: <nagios@mycomapany.com>
Return-Path: nagios@mycomapany.com
Also, if you are able to reproduce the problem, it might be helpful to turn on debugging and catch what is happening in the debug log.
In nagios.cfg set:
Interesting, let's check few places in the flat files:
grep -Ri '\$' /usr/local/nagios/etc/ <- probably will come up with a lot of results.
grep -Ri '\$\@' /usr/local/nagios/etc/
grep -Ri '\@companyname.com' /usr/local/nagios/etc/ <- obviously change companyname. This is to see if there are any empty addresses.
If both of those comeback clean we will need to look at user settings opposed to contact settings.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
I keep writing users, thinking this is the XI forum, my mistake. If the second one came back with a result, you should absolutely look into that one, as it is likely the culprit. Otherwise if you want to PM one of us the contacts.cfg we can certainly take a look. Being as this is core only, and no XI users to worry about, the only place contact definitions should be is in contacts.cfg unless you chose to make a second file to hold contacts.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.