<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
That would be a solution, only if the check_freshness funtion has it's
own check_command parameter which isn't the case.<br>
<br>
If we have the following:<br>
<br>
define service{<br>
                             host_name                            test<br>
                             service_description               test<br>
                             active_checks_enabled          1<br>
                             normal_check_interval          10<br>
                             check_period                       
24x7_but_monday<br>
                             check_command                  
do_whatever_check<br>
                             check_freshness                    1<br>
                             freshness_threshold               1200<br>
                             check_command                   [a command
that echo's "shop is closed today" and exits 3]<br>
 }<br>
<br>
<br>
<strong><font><strong></strong></font></strong>I want to be able to
mark the "status information field" with "shop is closed today".<br>
And all the other days I get the info of do_whatever_check in the
"status information field"<br>
<br>
<br>
Ok maybe this isn't possible, but any other tricks or tips,<br>
<br>
thanks,<br>
<br>
<br>
<br>
<br>
<br>
Marc Powell wrote:
<blockquote
 cite="midA7B0A9F02975A74A845FE85D0B95B8FAE99CCA@misex01.ena.com"
 type="cite">
  <pre wrap="">
  </pre>
  <blockquote type="cite">
    <pre wrap="">-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:nagios-users-admin@lists.sourceforge.net">nagios-users-admin@lists.sourceforge.net</a> [<a class="moz-txt-link-freetext" href="mailto:nagios-users">mailto:nagios-users</a>-
<a class="moz-txt-link-abbreviated" href="mailto:admin@lists.sourceforge.net">admin@lists.sourceforge.net</a>] On Behalf Of js
Sent: Wednesday, July 27, 2005 1:36 PM
To: <a class="moz-txt-link-abbreviated" href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a>
Subject: [Nagios-users] Questions Check_period and passive check

Hi all,

Is there a way to send a passive check to a service on the moment the
service goes out of his check_period?
This way when a service is not being checked because it finds itself
outside his check_periode, we can put in the status information field
something like "Service outside check period"
This way it's clear on the "service detail" overview that this
particular service is not being checked.
Visually you are unable to see when a service is outside his
check_period.  The only way to see this is on the detail of a service
"next scheduled active check" which isn't intuitive.
When you schedule downtime yourself there are the little ZZZzzzz's
    </pre>
  </blockquote>
  <pre wrap=""><!---->which
  </pre>
  <blockquote type="cite">
    <pre wrap="">is a nice visual feature.


Any tips, tricks, advice or feedback?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Look at the documentation on freshness checks. It's referenced quite
often in the passive check documentation.

--
Marc


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * <a class="moz-txt-link-freetext" href="http://www.sqe.com/bsce5sf">http://www.sqe.com/bsce5sf</a>
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null

  </pre>
</blockquote>
</body>
</html>


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null