On 6/22/07, <b class="gmail_sendername">Daniel Bourque</b> <<a href="mailto:dbourque@weatherdata.com">dbourque@weatherdata.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



  
  

<div bgcolor="#ffffff" text="#000000">
Why would you not want the status to change ? Such a history log is
great for troubleshooting.</div></blockquote><div><br>I wouldn't want the status to change, because I'm essentially making it a two-part threshold; one part based on the hard-and-true numeric value, and another threshold based on the length of time. 
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div bgcolor="#ffffff" text="#000000">
if you don't want to be notified about it, just use this in the
hobbit-alerts.cfg<br>
<br>
Page=x<br>
    IGNORE HOST=foo SERVICE=cpu COLOR=red DURATION<5m</div></blockquote><div><br>Ahh, that's the sort of hobbit-alerts rule that would work for me, at least until (if?) there becomes a way to do what I'm looking for in 
hobbit-clients.cfg. <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div bgcolor="#ffffff" text="#000000">
if you don't want it to change the status color on the parent pages ,
then use NOPROPYELLOW:cpu in the bb-hosts file.<br>
<br>
if you REALLY don't want it to change status, increase the LOAD numbers
in the hobbit-clients.cfg file.</div></blockquote><div><br>The problem is that it is only a problem if the load is _sustained_ for more than 10 minutes or so.<br>If I set the red threshold to Y, and the load momentarily spikes to Y+1, it isn't a problem.  But if I raise the threshold to Y+2 and now I get a sustained load of Y+1, it would be a problem since I wouldn't get alerted.
<br><br>Essentially, I'm looking for a sort of time-based hysteretic monitoring.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
-Dan<div><span class="e" id="q_113540073be8ce3b_1"><br>
<br>
Gary Baluha wrote:
<blockquote cite="http://mid29f517690706220749u18a0abd5o8ea21d4b17d01e52@mail.gmail.com" type="cite">
  
Is there a [non-messy] way to set a DURATION rule for a specific host
alert?  Basically, what I'm thinking of is something like this:<br>
  <br>
In hobbit-clients.cfg<br>
HOST=myhost<br>
    LOAD 20 30 DURATION>5m<br>
  <br>
The effect being, the status of the "myhost" cpu alert will only change
to yellow/red if the load is above the appropriate threshold for more
than 5 minutes.<br>
  <br>
There are a few hosts that occasionally will spike above the cpu load
thresholds, but only for a few minutes (usually around 5 min at most),
and then recover on its own.  However, I don't want to raise the
thresholds, because a sustained load (more than 10 minutes) at this
level _is_ actually a critical event.  It's just not critical if it is
just a momentary spike.
  <br>
  <br>
My specific example is with cpu load, but it could be for other things
too, such as process counts, memory, or even in some situations, disk
space.<br>
</blockquote>
</span></div></div>

</blockquote></div><br>