On Thu, Dec 11, 2008 at 5:49 PM, Torsten Richter <span dir="ltr"><<a href="mailto:bb4@richter-it.net">bb4@richter-it.net</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
</div>Hi Henrik,<br>
<br>
thanks for the answers.<br>
<div class="Ih2E3d"><br>
Henrik Størner wrote:<br>
> In <<a href="mailto:49403EA2.7090906@richter-it.net">49403EA2.7090906@richter-it.net</a>> Torsten Richter <<a href="mailto:bb4@richter-it.net">bb4@richter-it.net</a>> writes:<br>
><br>
>> is it possible with Hobbit 4.2.0 to time alerts?<br>
>> I was asked this by colleagues. They want something that<br>
>> if a yellow alert is displayed for more than a configurable<br>
>> time that Hobbit/XYmon sets the state of this alert to red.<br>
><br>
> Not possible today. It has not come up until now, but it's<br>
> an interesting idea.<br>
<br>
</div>It was just a thought since Hobbit/XYmon is recording everything<br>
with a timestamp and this timestamp "just" needs to be evaluated.<br>
<div class="Ih2E3d"><br>
> I guess some people would also like a status to go blue if<br>
> it's been red for more than a day :-)<br>
<br>
</div>Please don't say that as it might be possible that my colleagues<br>
are reading this mailing list too and then they are going to tease<br>
me about integrating this kind of stuff :-/<br></blockquote></div><br>Actually, it's not hard to make something go blue after a certain length of time - I have that set up on a machine that's pinging some F5 BigIP  group members.  <br>
<br>What you do is, get the list of red things using hobbitdboard, then pipe it into a loop that checks the date/time.  If it's greater than your designated max, send a "disable until OK" message.<br><br>I'd post a copy of my script, except that the company laid me off at the beginning of last week, and I didn't think to keep a copy at home...  If anyone's interested I can recreate it from scratch...<br>
<br>Ralph Mitchell<br><br>