Notification Problem

I have two contacts set up to receive notifications when servers go down. Those are delivered ok but I get a extra bonus.

In my email postmaster account I get this: failure notice

Hi. This is the qmail-send program at
I’m afraid I wasn’t able to deliver your message to the following addresses.
This is a permanent error; I’ve given up. Sorry it didn’t work out.

<** PROBLEM alert - Cusomter Email/POP3 is CRITICAL **>:
Sorry, no mailbox here by that name. (#5.1.1)

— Below this line is a copy of the message.

Received: (qmail 932 invoked by uid 511); 12 May 2005 12:28:20 -0500
Date: 12 May 2005 12:28:20 -0500
Cc: recipient list not shown: ;

Notification Type: PROBLEM

Service: POP3
Host: Cusomter Email
Address: 65.5.8x.x

Date/Time: Thu May 12 12:28:20 CDT 2005


Edited ]

I suppose you changed the email address…
Any way check that the ** address exists AND that the domain is NOT defined as an inbound domain on the nagios server, in this case it would try a local delivery and not having the mailbox return an error.


This is still a problem. It is trying to send a email to the host

<Host DOWN for wickenburg_router!>:
Sorry, no mailbox here by that name. (#5.1.1)

wickenburn_router is in the host file. This is not in the contact list

You have messed up your .cfg file.
This is the definition in misccommands.cfg
define command{
command_name notify-by-email
command_line /usr/bin/printf “%b” “***** Nagios ***\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /bin/mail -s " $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **” $CONTACTEMAIL$ }

As you can see, the person that the email will be sent to is $CONTACTEMAIL$

Contacts.cfg has the definced contacts and there respective email address’. Hostgroups.cfg has the host group that the host belongs in.

Double check your syntax in misccommands.cfg and try to send yourself an email by command line, by using the same syntax.