|
Hi Mark,
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.
Todd
----- Original Message -----
Sent: Wednesday, November 09, 2005 11:54
PM
Subject: [Nagios-users] Problems with
Notification
Howdy,
I'm missing something here I'm sure.
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 ..
# CHECK LOCAL, TEST LOG
define
service{
use
generic-service
host_name
ADL0805
service_description
LOCAL TEST LOG WARN
is_volatile
0
check_period
24x7
max_check_attempts
4
normal_check_interval
3
retry_check_interval
1
contact_groups
sysadmins, trumps-admins
notification_interval
960
notification_period
24x7
check_command
check_nrpe!check_testlog }
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.
Any ideas to point me in the right
direction?
Mark
|