Not Receiving Notifications

James Pratt jpratt at norwich.edu
Wed May 28 16:06:27 CEST 2008


HI. Did you pre-load or substitute all those variables into the
environment prior to running that, or did you just run exactly what's
below? (For example, if $CONTACTEMAIL$ var was empty/null, I would think
the command below would not work at all.. :\

 

From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Tim Van
Caeyzeele
Sent: Wednesday, May 28, 2008 9:58 AM
To: Mark Baxter; nagios
Subject: Re: [Nagios-users] Not Receiving Notifications

 

Thanks for the feedback,

 

I executed the line I found in the commands.cfg 

No errors received, but no mail received neither L

 

root at sv0007:/usr/local/nagios/etc/objects# /usr/bin/printf "%b" "*****
Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService:
$SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState:
$SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional
Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$
Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **"
$CONTACTEMAIL$

root at sv0007:/usr/local/nagios/etc/objects#

 

Tim.

 

 

 

 

From: Mark Baxter [mailto:Mark.Baxter at visma.com] 
Sent: woensdag 28 mei 2008 15:54
To: Tim Van Caeyzeele; nagios
Subject: RE: [Nagios-users] Not Receiving Notifications

 

Have you tried running the command for sending out an alert from the
commandline? It is listed as the "command_line" option under
"notify-service-by-email" in commands.cfg.

 

It is where I would start.

 

________________________________

Mark Baxter
OnDemand Administrator, Visma Proceedo AB

Switchboard : +46 8 522 930 30 - Direct : +46 8 522 930 60 - Mobile :
+46 73 978 92 60 - Fax : +46 8 58 88 48 29

________________________________

________________________________

From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Tim Van
Caeyzeele
Sent: 28 May 2008 15:47
To: nagios
Subject: [Nagios-users] Not Receiving Notifications

 

Dear All,

 

I'm running Nagios 3.0.2, although I (assume) I configured everything
correctly for the notifications,

I'm not receiving any.

My email address is typed correctly in the contacts cfg file.

 

Where should I start troubleshooting ?

 

Regards,

 

Tim Van Caeyzeele

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080528/f28ad148/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- next part --------------
_______________________________________________
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