no email notifications
Carroll, Jim P [Contractor]
jcarro10 at sprintspectrum.com
Mon Oct 28 21:33:18 CET 2002
Yes and no. Depends on whether you prefer the monolithic approach
(reinventing the wheel) or the modular approach (UNIX).
MTAs such as Sendmail have a long legacy of problems which have been
resolved/minimized. Hence the growth in popularity of secure/high
performance MTAs such as Qmail and Postfix.
I'm sure if you wanted to avoid using Sendmail, you could hack together a
script using Expect and netcat. ;)
(Of course, then you'll need to ponder what to do when the upstream MTA is
down or backlogged, how to deal with the appropriate error codes, etc.
While you're at it, perhaps you wouldn't mind whipping up a little code to
replace the BIND libraries. ;)
jc
> -----Original Message-----
> From: Jeff McKeon [mailto:jsm at inpro.net]
> Sent: Monday, October 28, 2002 1:26 PM
> To: Carroll, Jim P [Contractor]
> Cc: Nagios List
> Subject: RE: [Nagios-users] no email notifications
>
>
> Good point but I didn't see it specified anywhere that an MTA was
> needed. An MTA could have been written into nagios...
>
> On Mon, 2002-10-28 at 13:09, Carroll, Jim P [Contractor] wrote:
> > Yup. If you don't use Sendmail, you need to use some MTA.
> How else will
> > the mail get from your Nagios host to another host?
> >
> > jc
> >
> > > -----Original Message-----
> > > From: Jeff McKeon [mailto:jsm at inpro.net]
> > > Sent: Monday, October 28, 2002 11:40 AM
> > > To: Nagios List
> > > Subject: [Nagios-users] no email notifications
> > >
> > >
> > > I've got nagios set up and monitoring several systems and
> services no
> > > problem. I am not however receiving any notifications
> over email. I
> > > can't seem to find any error messages about this on the system.
> > >
> > > Since the machine I'm testing nagios on is my personal desktop, I
> > > previously removed sendmail because it simply wasn't
> needed. Is this
> > > why no mail notifications are going out?
> > >
> > > Thanks,
> > >
> > > Jeff
> > >
> > > contents of contacts.cfg:
> > >
> > > ****snip****
> > >
> > > # 'jsm' contact definition
> > > define contact{
> > > contact_name jsm
> > > alias Jeff McKeon
> > > service_notification_period 24x7
> > > host_notification_period 24x7
> > > service_notification_options c,r
> > > host_notification_options d,r
> > > service_notification_commands notify-by-email
> > > host_notification_commands host-notify-by-email
> > > email jsm at inpro.net
> > > }
> > >
> > > ****snip****
> > >
> > > Contents of contactgroup.cfg
> > >
> > > # 'admins' contact group definition
> > > define contactgroup{
> > > contactgroup_name admins
> > > alias Administrators
> > > members nagios,jsm
> > > }
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This sf.net email is sponsored by:ThinkGeek
> > > Welcome to geek heaven.
> > > http://thinkgeek.com/sf
> > > _______________________________________________
> > > Nagios-users mailing list
> > > Nagios-users at lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
>
>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
More information about the Users
mailing list