Module: check_mk
Branch: master
Commit: 7aeec6f8d84878b02c8ea76c5d9bfe3e0cb822e9
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7aeec6f8d84878…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Oct 27 16:15:57 2011 +0200
FIX: fix NagStaMon-creates-high-load-BUG
---
ChangeLog | 4 ++++
web/htdocs/htmllib.py | 4 +++-
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 5ebcb98..bc93ec8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -30,6 +30,10 @@
Checks & Agents:
* FIX: mk_oracle now also detects XE databases
* FIX: printer_alerts: handle 0-entries of Brother printers
+
+ Multisite:
+ * FIX: finally fixed long-wanted "NagStaMon create hundreds
+ of Apache processes" problem!
1.1.12:
diff --git a/web/htdocs/htmllib.py b/web/htdocs/htmllib.py
index d6f5c32..f56b964 100644
--- a/web/htdocs/htmllib.py
+++ b/web/htdocs/htmllib.py
@@ -147,7 +147,9 @@ def strip_tags(ht):
x = ht.find('<')
if x == -1:
break
- y = ht.find('>')
+ y = ht.find('>', x)
+ if y == -1:
+ break
ht = ht[0:x] + ht[y+1:]
return ht