<!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.1458" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi !</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have configured my system to receive SNMP-traps
from my network-equipment. Everything seem ok, Except for nagios not notifying
me via mail. When enabling "active checks" on the service i receive emails, but
only for the active check, not the passive.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>My service config is :</FONT></DIV>
<DIV><FONT face=Arial size=2>define
service{<BR>
use
generic-service<BR>
host_name
*<BR>
service_description
TRAP<BR>
is_volatile
1<BR>
check_period
24x7<BR>
contact_groups
linux-admins<BR>
passive_checks_enabled
1<BR>
active_checks_enabled
0<BR>
max_check_attempts
1<BR>
normal_check_interval
100000000<BR>
retry_check_interval
1<BR>
notification_interval
120<BR>
notification_period
24x7<BR>
notification_options
w,u,c,r<BR>
notifications_enabled
1<BR>
check_command
check_ping!100.0,20%!500.0,60%<BR>}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Nagios.log says :</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[1094480336] EXTERNAL COMMAND:
PROCESS_SERVICE_CHECK_RESULT;10.0.48.40;TRAP;WARNING;10.0.48.5 login/logout with
3</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>And in the webinterface the Trap shows up ok, but
the Service state info says "Last service notification : N/A".....</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am out of ideas for what can be wrong..
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Any suggestions appreciated !</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Best regards,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Johan</FONT></DIV></BODY></HTML>