Humm, it seems to avoid that 2min kill I have to add "startTimeOut" to the
zenprocess.conf file.
Code:
monitor localhost
parallel 4
watchdog True
startTimeOut 900
Now, I found a problem as that option throws up "TypeError: unsupported operand
type(s) for +: 'float' and 'str'"
Code:
2009-02-19 10:08:01 ERROR watchdog: unsupported operand type(s) for +: 'float'
and 'str'
Traceback (most recent call last):
File "/usr/local/zenoss/zenoss/Products/ZenUtils/Watchdog.py", line 217, in
run
self._runOnce()
File "/usr/local/zenoss/zenoss/Products/ZenUtils/Watchdog.py", line 157, in
_runOnce
if not self._readWait(sock, self.startTimeout):
File "/usr/local/zenoss/zenoss/Products/ZenUtils/Watchdog.py", line 119, in
_readWait
endTime = time.time() + timeout
TypeError: unsupported operand type(s) for +: 'float' and 'str'
2009-02-19 10:08:18 ERROR watchdog: Restarting zenprocess
2009-02-19 10:08:19 ERROR watchdog: unsupported operand type(s) for +: 'float'
and 'str'
Traceback (most recent call last):
File "/usr/local/zenoss/zenoss/Products/ZenUtils/Watchdog.py", line 217, in
run
self._runOnce()
File "/usr/local/zenoss/zenoss/Products/ZenUtils/Watchdog.py", line 157, in
_runOnce
if not self._readWait(sock, self.startTimeout):
File "/usr/local/zenoss/zenoss/Products/ZenUtils/Watchdog.py", line 119, in
_readWait
endTime = time.time() + timeout
TypeError: unsupported operand type(s) for +: 'float' and 'str'
I hacked into "/usr/local/zenoss/zenoss/Products/ZenUtils/Watchdog.py" to force
the option to be of type integer:
Code:
endTime = time.time() + int(timeout)
--
Florian Deckert
SopraGroup - France
-------------------- m2f --------------------
Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=31514#31514
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users