<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2654.45">
<TITLE>RE: [Nagios-users] several sendmail processes lingering</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Thanks Marc,</FONT>
</P>

<P><FONT SIZE=2>After reading your comments, I looked in the logs and show that mail to nagios-admin@localhost were undeliverable.  There is no nagios-admin user.</FONT></P>

<P><FONT SIZE=2>Thanks for the direction.</FONT>
</P>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Marc Powell [<A HREF="mailto:marc@ena.com">mailto:marc@ena.com</A>]</FONT>
<BR><FONT SIZE=2>Sent: Tuesday, December 16, 2003 10:47 AM</FONT>
<BR><FONT SIZE=2>To: Blackshear, Lisa; nagios-users@lists.sourceforge.net</FONT>
<BR><FONT SIZE=2>Subject: RE: [Nagios-users] several sendmail processes lingering</FONT>
</P>
<BR>

<P><FONT SIZE=2>Ah, interesting, a fellow Tennessean ;)</FONT>
</P>

<P><FONT SIZE=2>Nagios doesn't actually use sendmail at all. It's going to be whatever program you have configured in your notify-by-email command (probably /bin/mail) which probably calls sendmail for final delivery. Can you show us your notify-by-email command so that we can verify that there's nothing unusual about it? Beyond that, there must be something else, outside of nagios, that's causing a problem. Is there anything in the sendmail log file? Perhaps it's having problems doing DNS resolution or difficulties connecting to the remote SMTP server. If there's nothing in the maillog you could always look at the queue files (/var/spool/mqueue/qf*). They might have information on failures. Also, most newer versions of sendmail show useful information in ps like --</FONT></P>

<P><FONT SIZE=2>root      1477 22927  0 10:38 ?        00:00:00 sendmail: server chatbox-smtp-out6.apple.com [17.254.6.17] cmd read                 </FONT></P>

<P><FONT SIZE=2>Do the ones that are hanging out show anything like that? If you're running sendmail as a daemon on that machine it's not unusual to have multiple sendmail children hanging out.</FONT></P>

<P><FONT SIZE=2>--</FONT>
<BR><FONT SIZE=2>Marc</FONT>
</P>

<P><FONT SIZE=2>________________________________________</FONT>
<BR><FONT SIZE=2>From: Blackshear, Lisa [<A HREF="mailto:lblackshear@shopathometv.com">mailto:lblackshear@shopathometv.com</A>] </FONT>
<BR><FONT SIZE=2>Sent: Tuesday, December 16, 2003 10:02 AM</FONT>
<BR><FONT SIZE=2>To: 'nagios-users@lists.sourceforge.net'</FONT>
<BR><FONT SIZE=2>Subject: [Nagios-users] several sendmail processes lingering</FONT>
</P>

<P><FONT SIZE=2>Hello, </FONT>
<BR><FONT SIZE=2>Could someone tell me how to get nagios to closes the sendmail processes it spans?  I have several sendmail processes that accumulate until I kill them.  Why is this?</FONT></P>

<P><FONT SIZE=2>Lisa Blackshear </FONT>
<BR><FONT SIZE=2>Unix Administrator, Shop at Home Network, LLC </FONT>
<BR><FONT SIZE=2>(615) 263-8333 | lblackshear@sath.com </FONT>
<BR><FONT SIZE=2>www.shopathometv.com </FONT>
</P>

</BODY>
</HTML>