<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1522" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi Mark,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>On my log checks, I needed to set
max_check_attempts to 1. This is because on the first pass, it would see the
error. Unless the error occurs again in passes 2-<your
max_check_attempts>, you won't get notified. I also set it to not notify me
on a "recovery", since I merely need to know if the string has occurred within
my logfile. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Todd</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=mark.limburg@gmail.com href="mailto:mark.limburg@gmail.com">Mark
Limburg</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=Nagios-users@lists.sourceforge.net
href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, November 09, 2005 11:54
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Nagios-users] Problems with
Notification</DIV>
<DIV><BR></DIV>Howdy,<BR><BR>I'm missing something here I'm sure.<BR><BR>Nag
is working well, but I can't seem to force an email from a logcheck. It
comes up with a warning (manually triggering the logcheck by inserting lines),
but its not emailing .. <BR><BR># CHECK LOCAL, TEST LOG<BR><BR>define
service{<BR>
use
generic-service<BR>
host_name
ADL0805<BR>
service_description
LOCAL TEST LOG WARN <BR>
is_volatile
0<BR>
check_period
24x7<BR>
max_check_attempts
4<BR>
normal_check_interval
3<BR>
retry_check_interval
1<BR>
contact_groups
sysadmins, trumps-admins<BR>
notification_interval
960<BR>
notification_period
24x7<BR>
check_command
check_nrpe!check_testlog<BR> }
<BR><BR>I can get emails to trigger on *some* other checks (and state
restores), but all checks pretty much use the same default settings (at the
moment) so I'm pretty lost.<BR><BR>Any ideas to point me in the right
direction? <BR><BR>Mark<BR></BLOCKQUOTE></BODY></HTML>