<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Nov 19, 2010, at 5:48 PM, C. Bensend wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br><blockquote type="cite">I had another question regarding adjusting these thresholds, this time on<br></blockquote><blockquote type="cite">localhost. It regards the Current Load parameter, which is giving me a<br></blockquote><blockquote type="cite">Critical Load average of -- 2.47, 3.43, and 4.06<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">in localhost.cfg, /usr/local/nagios/etc/objects/localhost.cfg, I have this<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">define service{<br></blockquote><blockquote type="cite">        use                             local-service         ; Name of<br></blockquote><blockquote type="cite">service template to use<br></blockquote><blockquote type="cite">        host_name                       localhost<br></blockquote><blockquote type="cite"> <span class="Apple-tab-span" style="white-space:pre">      </span>service_description             Current Load<br></blockquote><blockquote type="cite">        check_command<br></blockquote><blockquote type="cite">check_local_load!5.0,4.0,3.0!10.0,6.0,4.0<br></blockquote><blockquote type="cite"> <span class="Apple-tab-span" style="white-space:pre">   </span>}<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">which I actually went and adjusted to :<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">check_command<span class="Apple-tab-span" style="white-space:pre">   </span><span class="Apple-tab-span" style="white-space:pre">    </span><span class="Apple-tab-span" style="white-space:pre">    </span>check_local_load!7.0,4.0,3.0!10.0,6.0,4.0<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I restarted the Nagios service..but this didn't have any effect -- the<br></blockquote><blockquote type="cite">status information still reads the same -- Critical Load Average - 2.47,<br></blockquote><blockquote type="cite">3.43, 4.06<br></blockquote><br><blockquote type="cite">From the help for check_load (which I'm assuming you're using<br></blockquote>in the command definition):<br><br>Usage:check_load [-r] -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15<br><br>So, in your service definition, you're telling check_load that you<br>want to trigger a critical condition if the 15 minute average is 4.0.<br><br>Yours is 4.06.  So, yes, it's critical.  :)<br><br>WLOAD1  = 1 minute average warning threshold<br>WLOAD5  = 5 minute average warning threshold<br>WLOAD15 = 15 minute average warning threshold<br><br>CLOAD1  = 1 minute average critical threshold<br>CLOAD5  = 5 minute average critical threshold<br>CLOAD15 = 15 minute average critical threshold<br><br>If you want your 15 minute average to *not* trigger a critical, you<br>need to adjust that last value (4.0) to something higher.<br><br>Benny<br><br><br></div></blockquote><br></div><div>That sounds logical, and this is what I've adjusted:</div><div><b>check_command                   check_local_load!8.0,5.0,4.0!12.0,7.0,6.0</b></div><div><br></div><div>but I've restarted the nagios process and the alert still persists. I dont see anything in nagios.log or /var/log/messages related to this either.</div><div><br></div><div>what could I be missing?</div><br></body></html>