That was an issue I had to work through.. First, we use http://www.authsmtp.com/ to send mail for us. This is actually a really awesome service for sending mail. Postfix has been reconfigured to relay mail (see http://pauldowman.com/2008/02/17/smtp-mail-from-ec2-web-server-setup/).
The real trick was making nagios' notification scripts work with postfix to set a reasonable sender. On CentOS systems, if you use /usr/bin/Mail, it uses Sendmail and you can't really set an envelop sender. Your emails come from nag...@$hostname. This is bad for Authsmtp. I ultimately replaced /usr/bin/Mail with a shell script that used sendmail.postfix to queue the outgoing message. Postfix then set the correct sender info. On Mon, Feb 22, 2010 at 1:20 PM, Ronald Cotoni <[email protected]> wrote: > Out of curiosity, how do you handle the fact that all of ec2 and many > cloud providers is on a few blacklists? Do you use a smarthost > somewhere else? Also have you run into the issue with amazon rate > limiting your ec2 instance? > > On Mon, Feb 22, 2010 at 2:25 PM, Gary Richardson > <[email protected]> wrote: > > Yup, I have a set of custom control scripts for launching instances. Part > of > > the process is using the Opsview API to add the new instances for > monitoring > > and removing them on shutdown. > > I also run my Opsview on a c1.medium instance. I'm able to comfortably > > monitor 20+ machines with about 150 services. I suspect it'll be able to > > handle much more (in fact, it has when we've had many more machines > > running). > > > > On Mon, Feb 22, 2010 at 11:08 AM, James Peel <[email protected]> > wrote: > >> > >> Just wondered whether anyone else is using Opsview to monitor Amazon EC2 > >> or similar compute cloud services? > >> -- > >> James > >> > >> > >> > >> > >> _______________________________________________ > >> Opsview-users mailing list > >> [email protected] > >> http://lists.opsview.org/lists/listinfo/opsview-users > >> > > > > > > _______________________________________________ > > Opsview-users mailing list > > [email protected] > > http://lists.opsview.org/lists/listinfo/opsview-users > > > > > _______________________________________________ > Opsview-users mailing list > [email protected] > http://lists.opsview.org/lists/listinfo/opsview-users >
_______________________________________________ Opsview-users mailing list [email protected] http://lists.opsview.org/lists/listinfo/opsview-users
