Module: check_mk
Branch: master
Commit: 39366884fca31cac34861c53ba61dd272be5987e
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=39366884fca31c…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Mar 24 12:58:47 2015 +0100
For host graphs always use pnp
---
web/plugins/icons/builtin.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/plugins/icons/builtin.py b/web/plugins/icons/builtin.py
index 0471e1e..893718a 100644
--- a/web/plugins/icons/builtin.py
+++ b/web/plugins/icons/builtin.py
@@ -195,7 +195,7 @@ def pnp_icon(row, what):
url = ""
import metrics
- if not hasattr(metrics, 'render_graph_html'):
+ if not hasattr(metrics, 'render_graph_html') or what == 'host':
# Directly ask PNP for all data, don't try to use the new graph fetching
mechanism
# to keep the number of single requests low
hover_content_func = 'pnp_hover_contents(\'%s\')' %
pnp_popup_url(row, what)