On Dec 11, 2007 4:05 PM, Charlie Schluting <[EMAIL PROTECTED]> wrote:
> I can't figure out how to disable this..
>
> I want some HTTP checks to allow 30 seconds to timeout, and I have
> configured them as such using the template for HttpMonitor. I've also
> tried editing zproperties in the device class and setting things like
> login and telnet timeouts to 30 seconds. I still get alerts after a
> 10-second timeout.
Wel, it appears that HttpMonitorDataSource.py isn't checking for the
fact that I've set the timeout. The check_http plugin takes a -t
option for timeout (and uses 10 seconds as the default), but '-t' does
not appear in the .py. The exact error I was getting appeared in
'strings' on check_http. When this is triggered, I get the error as an
alert, but the actual time it took doesn't make it into the graph
data.
I added (line 107):
if self.timeout:
parts.append('-t %s' % self.timeout)
...recompiled the pyc, restarted zenoss, created a local template and
set the timeout to 1 second.
It works!
-Charlie
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users