<div>Probably a newbie error here bur I can't figure out what I'm doing wrong.</div>
<div> </div>
<div>I have a "dummy" machine set up upon which I'm creating alerts to test notifications.  This is what appears in the log yet the email</div>
<div>does not go out -- does not show up in the mailllog file.  It just seems to hit /dev/null.</div>
<div> </div>
<div>
<p>[1165522038] SERVICE EVENT HANDLER: Tech-Con-4;check-cpu-load-win;CRITICAL;SOFT;1;host-notify-by-email<br>[1165522054] SERVICE ALERT: Tech-Con-4;check-xp-memory;OK;SOFT;3;Memory usage: total:2400.24 Mb - used: 1128.06
 Mb (47%) - free: 1272.18 Mb (53%)<br>[1165522054] SERVICE EVENT HANDLER: Tech-Con-4;check-xp-memory;OK;SOFT;3;host-notify-by-email</p>
<p> Herre is my command definition:</p>
<p> </p>
<p>define command {<br>                command_name                    host-notify-by-email<br>                command_line                    /bin/echo Service state:  $SERVICEOUTPUT$ | /bin/mail -s '$SERVICESTATE$ alert for $HOSTALIAS$' $CONTACTEMAIL$
<br>}</p>
<p> </p>
<p>I've tried different iterations to this to no avail.  I don't think it is mail on the machine as it is delivering other mail.</p>
<p> </p>
<p>OS is RHEL3.</p>
<p> </p>
<p>Thanks,</p>
<p>Fred</p>
<p> </p></div>