<br><br><div class="gmail_quote">On Mon, Mar 18, 2013 at 11:08 AM, Jones, Elizabeth <span dir="ltr"><<a href="mailto:Ejones@egov.com" target="_blank">Ejones@egov.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">








<div>
<font face="Calibri, sans-serif">
<div> </div>
<div><font face="Calibri, sans-serif">I’m apparently doing something extremely wrong trying to set a time window for alerts for a specific server. This server burns up cpu every night and we don’t want to see alarms for it, so I tried doing this to block those
alarms in my hosts.cfg file –</font></div>
<div> </div>
<div><font face="Calibri, sans-serif">IP   servername # conn NKTIME=*:0800:2200</font></div>
<div><font face="Calibri, sans-serif"> </font></div>
<div><font face="Calibri, sans-serif">I thought this was working but all of a sudden this weekend we got a ton of alarms from it again during the night.</font></div>
<div> </div>
<div> </div>
<div> </div>
</font>
</div>

<br>_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
<br></blockquote></div><br>NKTIME won't do what you want. It only selects when something shows up on a critical systems page (and is deprecated anyway).  <br><br>Instead ...<br><br>If you want to inhibit the high cpu 
showing up on the web pages (and therefore inhibit the alert) use the 
TIME= parameter on a high LOAD value for that host in analysis.cfg. 
E.G.:<br><br>LOAD 1200 1500 HOST=<a href="http://db.foo.com" target="_blank">db.foo.com</a> TIME=2200:0800<br><br>If
 you just want to inhibit the alerts (but let the red icon still show up
 on the web pages) you can do it in the alerts.cfg file.<br>
<br>HOST=<a href="http://db.foo.com" target="_blank">db.foo.com</a> SERVICE=cpu<br>  MAIL recipient TIME=0800:2200<br><br>Which means that alerts will only be sent for cpu on <a href="http://db.foo.com" target="_blank">db.foo.com</a> to recipient between 8AM and 10PM. <br>


<br clear="all">Steve Holmes<br>Purdue<br><br>