Module: check_mk
Branch: master
Commit: 43f70e0b3672179c16f1a6d60975654e708ead83
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=43f70e0b367217…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Sun Dec 14 21:02:05 2014 +0100
Declare painters for PNP graphs as unprintable
---
web/plugins/views/painters.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/web/plugins/views/painters.py b/web/plugins/views/painters.py
index fe896e2..1dfe48c 100644
--- a/web/plugins/views/painters.py
+++ b/web/plugins/views/painters.py
@@ -716,6 +716,7 @@ multisite_painters["svc_pnpgraph" ] = {
"columns" : [ "host_name", "service_description" ],
"options" : [ 'pnp_timerange' ],
"paint" : lambda row: paint_pnpgraph(row["site"],
row["host_name"], row["service_description"]),
+ "printable" : False,
}
def paint_check_manpage(row):
@@ -1067,7 +1068,8 @@ multisite_painters["host_pnpgraph" ] = {
"short" : _("PNP graph"),
"columns" : [ "host_name" ],
"options" : [ 'pnp_timerange' ],
- "paint" : lambda row: paint_pnpgraph(row["site"],
row["host_name"])
+ "paint" : lambda row: paint_pnpgraph(row["site"],
row["host_name"]),
+ "printable" : False,
}
def paint_host_black(row):