<br><font size=2 face="sans-serif">Cell: 281-734-6965<br>
</font>
<br>
<br><tt><font size=2>nagios-users-bounces@lists.sourceforge.net wrote on
11/29/2007 02:30:20 AM:<br>
<br>
> All,<br>
> <br>
> I'm trying to deal with a bunch of servers that generate some high
load<br>
> during the night. That is, between 00:00 and 06:00 a series of job
is<br>
> run that will generate load from 10 to 15. Outside this windows, load<br>
> should be no more than 3.<br>
> <br>
> I have read all the documentation, but I cant find a way to implement<br>
> this in Nagios. I have found 2 options:<br>
> - defining 2 services (load_daily and load_nightly) with different<br>
> tresholds. This will make 2 services show up in nagios that are<br>
> essential the same<br>
> - using escalations to supress messages during the night. This will<br>
> however still show errors in the webinterface and spoil you reports
with<br>
> fake errors<br>
> <br>
> How can I tell Nagios that during the day the load should be max 3<br>
> (warning) and max 5 (critical) but during the night, it's ok if they
are<br>
> 8 (warning) and 10 (critical)? I'm sure other people have ran into
this<br>
> same problem and found a solution for it? Please share!<br>
> <br>
> I'm running Nagios 2.10<br>
> <br>
> Thanx for the help.<br>
> <br>
> Met vriendelijke groet/With kind regards, <br>
> <br>
> Jasper Filon<br>
> <br>
> CAIWAY Business<br>
> <br>
<SNIP></font></tt>
<br>
<br><tt><font size=2>Jasper,</font></tt>
<br>
<br><tt><font size=2>I have sort of the same issue and you have already
stated the most expedient, and indeed only, solution that I found. Two
services with different time periods for checking. It's doesn't look as
pretty in the web interface but it works like a charm. The other method
would be to write a wrapper that performs the check and alerts on the value
you set based on time. This wouldn't be hard to do to be honest but it
seems like re-inventing the wheel to some degree. The other question I
have is if the servers are capable of withstanding a load that high why
not just have your high threshold set the same all time? My situation isn't
load based but with the standard Nagios plugin you can alert on any of
the three points that uptime returns (here I make the assumption you are
monitoring *nix boxen). If the situation calls for being able to be alerted
to spikes during normal operating hours then you will either need two checks
and time period for each or a wrapper that checks the time and returns
an alert based on the time and load.</font></tt>
<br>
<br><tt><font size=2>Best Regards,</font></tt>
<br>
<br><tt><font size=2>Mark L. Potter<br>
</font></tt>