Module: check_mk
Branch: master
Commit: 32b2c078c89231d5d7de04877458e12395bad4b2
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=32b2c078c89231…
Author: Florian Heigl <fh(a)mathias-kettner.de>
Date: Sun Jan 22 21:54:47 2012 +0100
Add more benchmark results.
---
doc/opt/benchmark/bench.cfg | 33 ++++++++++++++++++++++-----------
doc/opt/benchmark/cmkbench.sh | 16 ++++++++--------
2 files changed, 30 insertions(+), 19 deletions(-)
diff --git a/doc/opt/benchmark/bench.cfg b/doc/opt/benchmark/bench.cfg
index 54d3632..8a6a483 100644
--- a/doc/opt/benchmark/bench.cfg
+++ b/doc/opt/benchmark/bench.cfg
@@ -1,23 +1,34 @@
# Config datei fuer Check_MK benchmark
# pingonly deaktiviert "services"
-_pingonly="yes"
+_pingonly="no"
_livecheck="yes"
_livecheck_helpers=30
_central="zentrale"
-_sites=12
-_hosts=1800
+_sites=8
+_hosts=800
_pnp="off"
_delay_precompile=False
# E5640 stats pingonly, livecheck
-# Sites: 6H800 = 4800serv/s 80host/s 4890live/s - sched rate: 8080/s
-# CPU CPU Usage Sites Hosts SvcCh/s HostsCh/s LiveCh/s ScheduledCheck/s
-# E5640 ~30% 6 800 4800 80 4890 8080
-# E5640 ~30% 12 400 4800 80 4880 8080
-# E5640 ~40% 6 1600 9650 160 9819 16160
-# E5640 ~35% 3 3200 9220 160 9500 16160
-# E5640 ~50% 3 6400 8000 320 8100 32000
+# CPU CPU Usage Sites Hosts SvcCh/s HostsCh/s LiveCh/s
+# E5640 ~30% 6 800 4800 80 4890
+# E5640 ~30% 12 400 4800 80 4880
+# E5640 ~40% 6 1600 9650 160 9819
+# E5640 ~35% 3 3200 9220 160 9500
+# E5640 ~50% 3 6400 8000 320 8100
# E5640 ~90% 12 1600 17500 320 17800
-#
+
+
+# E5640 stats tcp services, livecheck + 17check_mk checks + 1 extra active check
+# 2 services != OK
+# CPU CPU Usage Sites Hosts SvcCh/s HostsCh/s LiveCh/s
+# E5640 70% 8 800 1450/s 135/s 350/s
+# E5640 32% 8 400 730/s 83/s 192/s
+# E5640 40% 8 500 930/s 104/s 239/s
+
+# E5640 stats tcp services, livecheck + 10check_mk checks (all OK)
+# CPU CPU Usage Sites Hosts SvcCh/s HostsCh/s LiveCh/s
+E5640 62% 8 800 1070/s 105/s 212/s
+
diff --git a/doc/opt/benchmark/cmkbench.sh b/doc/opt/benchmark/cmkbench.sh
index 7849db6..b7a779a 100755
--- a/doc/opt/benchmark/cmkbench.sh
+++ b/doc/opt/benchmark/cmkbench.sh
@@ -168,11 +168,11 @@ EOF
cat <<ZXY > /omd/sites/$site/etc/check_mk/conf.d/service.mk
extra_service_conf["normal_check_interval"] = [
# ( "0.0166", ALL_HOSTS, [ "Dummy" ] ),
- ( "0.0166", ALL_HOSTS, [ "Ping" ] ),
+# ( "0.0166", ALL_HOSTS, [ "Ping" ] ),
]
legacy_checks += [
# (( "check-mk-vapor", "Dummy", True), ALL_HOSTS),
- (( "check-mk-ping", "Ping", True), ALL_HOSTS),
+# (( "check-mk-ping", "Ping", True), ALL_HOSTS),
]
extra_nagios_conf += r"""
define command {
@@ -194,14 +194,14 @@ checks += [
(ALL_HOSTS, "cpu.threads", None, threads_default_levels),
(ALL_HOSTS, "df", '/', {}),
(ALL_HOSTS, "df", '/opt', {}),
- (ALL_HOSTS, "diskstat", 'SUMMARY', diskstat_default_levels),
- (ALL_HOSTS, "kernel", 'Context Switches',
kernel_default_levels),
- (ALL_HOSTS, "kernel", 'Major Page Faults',
kernel_default_levels),
- (ALL_HOSTS, "kernel", 'Process Creations',
kernel_default_levels),
+# (ALL_HOSTS, "diskstat", 'SUMMARY',
diskstat_default_levels),
+# (ALL_HOSTS, "kernel", 'Context Switches',
kernel_default_levels),
+# (ALL_HOSTS, "kernel", 'Major Page Faults',
kernel_default_levels),
+# (ALL_HOSTS, "kernel", 'Process Creations',
kernel_default_levels),
(ALL_HOSTS, "kernel.util", None, kernel_util_default_levels),
(ALL_HOSTS, "mem.used", None, memused_default_levels),
- (ALL_HOSTS, "mounts", '/', ['data=ordered',
'errors=remount-ro', 'relatime', 'rw']),
- (ALL_HOSTS, "mounts", '/opt', ['attr2',
'noatime', 'nobarrier', 'nodiratime', 'noquota',
'rw']),
+# (ALL_HOSTS, "mounts", '/', ['data=ordered',
'errors=remount-ro', 'relatime', 'rw']),
+# (ALL_HOSTS, "mounts", '/opt', ['attr2',
'noatime', 'nobarrier', 'nodiratime', 'noquota',
'rw']),
(ALL_HOSTS, "omd_status", 'zentrale', None),
(ALL_HOSTS, "tcp_conn_stats", None, tcp_conn_stats_default_levels),
(ALL_HOSTS, "uptime", None, None),