Email Notifications

Stanley Hopcroft Stanley.Hopcroft at ipaustralia.gov.au
Thu Mar 13 04:57:00 CET 2003


Dear Sir,

I am writing to thank you for your letter and say,

On Wed, Mar 12, 2003 at 06:28:20PM -0500, Wilcox, Chris wrote:
> Problem.
>  
> Using nullmailer.  When an example email is sent to nullmailer from the
> command line it works fine.  But when Nagios generates an email it doesn't
> get to me.

  ....
>  
> This line when executed from the command line works.
>  
> Host#/bin/printf "Nagios 1.0" | /bin/mail -s "Host alert for hosta"
> emailaddress at mydomain.com <mailto:emailaddress at mydomain.com> 
>  

Are you sure about this command from the CLI ?

When I try 

tsitc> /usr/bin/printf "Nagios 1.0" | /usr/bin/mail -s "Host alert for
hosta"  Stanley.Hopcroft at IPAustralia.Gov.AU
<mailto:Stanley.Hopcroft at IPAustralia.Gov.AU>

Ambiguous input redirect.
tsitc>

/bin/csh complains about the '<' characters.

If your $CONTACTMAIL$ macro contains <mailto:emailaddress at mydomain.com>, 
you may be having the same problem.

If I quote the '<mailto:..>' then the mail is delivered to 
<mailto:Stanley.Hopcroft at IPAustralia.Gov.AU>, 
Stanley.Hopcroft at IPAustralia.Gov.AU


> Any help here appreciated.
>  
> Chris Wilcox
> Manager Network Services
> Troy Corporation
> 973-443-4200 x2545
>

Yours sincerely.  

-- 
------------------------------------------------------------------------
Stanley Hopcroft
------------------------------------------------------------------------

'...No man is an island, entire of itself; every man is a piece of the
continent, a part of the main. If a clod be washed away by the sea,
Europe is the less, as well as if a promontory were, as well as if a
manor of thy friend's or of thine own were. Any man's death diminishes
me, because I am involved in mankind; and therefore never send to know
for whom the bell tolls; it tolls for thee...'

from Meditation 17, J Donne.


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
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