<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>nsca query</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Hi,</FONT>
<BR><FONT SIZE=2 FACE="Arial">I have setup nsca and I can send alerts to nagios OK. Here is the problem I have-</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">1. send critical/warning alert to nagios</FONT>
<BR><FONT SIZE=2 FACE="Arial">2. confirm alert is displayed</FONT>
<BR><FONT SIZE=2 FACE="Arial">3. send OK status to nagios</FONT>
<BR><FONT SIZE=2 FACE="Arial">4. confirm nagios displays status OK</FONT>
<BR><FONT SIZE=2 FACE="Arial">5. time passes</FONT>
<BR><FONT SIZE=2 FACE="Arial">6. nagios displays the item in warning status with alarm message from 1. previously.</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Arial">I have pasted the section out of the nagios services.cfg below (it's basically straight out of the doco...) </FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">What I really want nagios to do at point 6 is to keep on displaying what-ever it was sent last until I send it something else. (I have over 200 hosts with many services and I don't want all of them polling nagios every x minutes). Is there are a configuration option to do thist?</FONT></P>
<P><FONT SIZE=2 FACE="Arial">thanks for your help</FONT>
<BR><FONT SIZE=2 FACE="Arial">Cheers</FONT>
<BR><FONT SIZE=2 FACE="Arial">Murray</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">define service {</FONT>
<BR><FONT SIZE=2 FACE="Arial"> use generic-service</FONT>
<BR><FONT SIZE=2 FACE="Arial"> name passive_service</FONT>
<BR><FONT SIZE=2 FACE="Arial"> active_checks_enabled 0</FONT>
<BR><FONT SIZE=2 FACE="Arial"> passive_checks_enabled 1</FONT>
<BR><FONT SIZE=2 FACE="Arial"> flap_detection_enabled 0</FONT>
<BR><FONT SIZE=2 FACE="Arial"> register 0</FONT>
<BR><FONT SIZE=2 FACE="Arial"> is_volatile 0</FONT>
<BR><FONT SIZE=2 FACE="Arial"> check_period 24x7</FONT>
<BR><FONT SIZE=2 FACE="Arial"> max_check_attempts 1</FONT>
<BR><FONT SIZE=2 FACE="Arial"> normal_check_interval 1</FONT>
<BR><FONT SIZE=2 FACE="Arial"> retry_check_interval 1</FONT>
<BR><FONT SIZE=2 FACE="Arial"> check_freshness 0</FONT>
<BR><FONT SIZE=2 FACE="Arial"> contact_groups unixteam</FONT>
<BR><FONT SIZE=2 FACE="Arial"> check_command check_dummy!0</FONT>
<BR><FONT SIZE=2 FACE="Arial"> notification_interval 120</FONT>
<BR><FONT SIZE=2 FACE="Arial"> notification_period 24x7</FONT>
<BR><FONT SIZE=2 FACE="Arial"> notification_options w,u,c,r</FONT>
<BR><FONT SIZE=2 FACE="Arial"> stalking_options w,c,u</FONT>
<BR><FONT SIZE=2 FACE="Arial">}</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">define service {</FONT>
<BR><FONT SIZE=2 FACE="Arial"> use passive_service</FONT>
<BR><FONT SIZE=2 FACE="Arial"> service_description DiskCheck</FONT>
<BR><FONT SIZE=2 FACE="Arial"> hostgroup_name lws</FONT>
<BR><FONT SIZE=2 FACE="Arial">}</FONT>
</P>
</BODY>
</HTML>