<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/1.1.5">
</HEAD>
<BODY>
<BR>
Running the preflight check, with nagios v1.1, I get an error from line 33 in command.cfg:<BR>
<BR>
Line 33 is:<BR>
<BR>
command[notify-by-email]=/bin/printf "$OUTPUT$" | /bin/mail -s '$SERVICESTATE$ alert for $HOSTALIAS$/$SERVICEDESC$' $CONTACTEMAIL$<BR>
<BR>
I have qmail running on this host (RH v8), so my question is what is the syntax for sending this notify to qmail. I have tried /usr/sbin/sendmail -> /var/qmail/bin/sendmail, but then it does not like the -s switch.<BR>
<BR>
Any help would be great<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>--
william f guyton jr
senior network engineer
informs
334.277.0372x133</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>