Module: check_mk
Branch: master
Commit: 597c1307f693f587a26c437a3e2b0d88540cb7a9
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=597c1307f693f5…
Author: Bernd Stroessenreuther <bs(a)mathias-kettner.de>
Date: Tue Mar 25 13:58:25 2014 +0100
ibm_svc_host: removed commente code
---
checks/ibm_svc_host | 1 -
pnp-templates/check_mk-ibm_svc_host.php | 28 ----------------------------
2 files changed, 29 deletions(-)
diff --git a/checks/ibm_svc_host b/checks/ibm_svc_host
index ac53e8b..e648061 100644
--- a/checks/ibm_svc_host
+++ b/checks/ibm_svc_host
@@ -32,7 +32,6 @@ def inventory_ibm_svc_host(info):
return [(None, None)]
def check_ibm_svc_host(item, _no_params, info):
- #import pprint; pprint.pprint(info)
degraded=0
offline=0
active=0
diff --git a/pnp-templates/check_mk-ibm_svc_host.php
b/pnp-templates/check_mk-ibm_svc_host.php
index 4b86be8..81050ca 100644
--- a/pnp-templates/check_mk-ibm_svc_host.php
+++ b/pnp-templates/check_mk-ibm_svc_host.php
@@ -47,31 +47,3 @@ $def[1] = ""
. "GPRINT:other:AVERAGE:\"% 6.0lf Hosts avg\" "
. "GPRINT:other:LAST:\"% 6.0lf Hosts last\\n\" "
. "";
-
-
-#$opt[2] = "--vertical-label 'Events per second' -X0 -l0 --title \"OMD
site $site / Livestatus performance\" ";
-#$ds_name[2] = "Livestatus performance";
-#
-#$def[2] = ""
-# . "DEF:connects=$RRDFILE[4]:$DS[4]:MAX "
-# . "DEF:requests=$RRDFILE[5]:$DS[5]:MAX "
-# . "AREA:requests#abc:\"Livestatus Requests \" "
-# . "GPRINT:requests:AVERAGE:\"% 6.1lf/s avg\" "
-# . "GPRINT:requests:LAST:\"% 6.1lf/s last\\n\" "
-# . "AREA:connects#678:\"Livestatus Connects \" "
-# . "GPRINT:connects:AVERAGE:\"% 6.1lf/s avg\" "
-# . "GPRINT:connects:LAST:\"% 6.1lf/s last\\n\" "
-# . "";
-#
-#$opt[3] = "--vertical-label 'Requests per Connect' -X0 -l0 --title
\"OMD site $site / Livestatus connection usage\" ";
-#$ds_name[3] = "Livestatus connection usage";
-#
-#$def[3] = ""
-# . "DEF:connects=$RRDFILE[4]:$DS[4]:MAX "
-# . "DEF:requests=$RRDFILE[5]:$DS[5]:MAX "
-# . "CDEF:rpcs=requests,connects,/ "
-# . "AREA:rpcs#8a3:\"Requests per Connection\" "
-# . "GPRINT:rpcs:AVERAGE:\"% 6.1lf/s avg\" "
-# . "GPRINT:rpcs:LAST:\"% 6.1lf/s last\\n\" "
-# . "";
-#