<!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.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Looks like nobody has the answer ??? </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>-Sumit</FONT></DIV>
<BLOCKQUOTE dir=ltr
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=smalhotra@dataarmor.net href="mailto:smalhotra@dataarmor.net">Sumit
Malhotra</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 List</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, June 14, 2004 8:31 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Nagios-users] Checking
freshness Time period</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Can anybody help on this ????</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>-Sumit</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE dir=ltr
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=smalhotra@dataarmor.net href="mailto:smalhotra@dataarmor.net">Sumit
Malhotra</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 List</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, June 11, 2004 3:20
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Nagios-users] Checking
freshness Time period</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Hi ,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> I am using nagios 1.2 and nsca in
combination . Both works great together.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have configured for freshness check evrey 15
minutes( As shown below) . In case it fails an alert is genrated via command
noreport. It works fine for 24*7 monitoring of services</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Problem comes when i want some service to be
checked for 16*5 . I get alerts even when i have configured the service are
configured for 16*5(check period) ( Although i am able to suppress teh
alerts using notification period i.e. by setting it to 16*5) but still there
is a red alert in the web interface .I would have loved to get a wall of
"GREEN".</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial
size=2>##############################################</FONT></DIV>
<DIV><FONT face=Arial size=2>define service
{<BR>name
generic-service-passive ; The 'name' of this service template, referenced in
other service
definitions<BR>active_checks_enabled
0 ; Active service checks are
enabled<BR>passive_checks_enabled
1 ; Passive service checks are
enabled/accepted<BR>parallelize_check
1 ; Active service checks should be
parallelized (disabling this can lead to major performance
problems)<BR>obsess_over_service
1 ; We should obsess over this service
(if
necessary)<BR>check_freshness
1 ; Default is to NOT check service
'freshness'<BR>freshness_threshold
1800 ; default 15
minutes<BR>check_command
no-report<BR>notifications_enabled
1 ; Service notifications are
enabled<BR>event_handler_enabled
1 ; Service event handler is
enabled<BR>flap_detection_enabled
1 ; Flap detection is
enabled<BR>process_perf_data
1 ; Process performance
data<BR>retain_status_information
1 ; Retain status information across
program restarts<BR>retain_nonstatus_information
1 ; Retain non-status information across
program
restarts<BR>register
0 ; DONT REgISTER THIS DEFINITION - ITS
NOT A REAL SERVICE, JUST A TEMPLATE!<BR>}<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>define service
{<BR>use
generic-service-passive ;
Name of service template to
use<BR>host_name
Ababa<BR>service_description
Check
Oracle<BR>is_volatile
0<BR>check_period
16x5<BR>max_check_attempts
3<BR>normal_check_interval
3<BR>retry_check_interval
1<BR>contact_groups
admins<BR>notification_interval
120<BR>notification_period
16x5<BR>notification_options
w,u,c,r</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>}<BR>########################################</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Any Solutions ???</DIV></FONT>
<DIV><FONT face=Arial size=2>Thanks.</FONT></DIV>
<DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Sumit</DIV></FONT>
<DIV><FONT face=Arial
size=2> </DIV></BLOCKQUOTE></BLOCKQUOTE></FONT></BODY></HTML>