Module: check_mk
Branch: master
Commit: 995ce8cce99d17d85a41f04bc22945f280c3158a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=995ce8cce99d17…
Author: Florian Heigl <fh(a)mathias-kettner.de>
Date: Fri Jan 20 23:57:41 2012 +0100
doc/opt/benchmark: Update script and include results.
---
doc/opt/benchmark/bench.cfg | 16 ++++++++++++++--
doc/opt/benchmark/cmkbench.sh | 12 ++++++++++--
2 files changed, 24 insertions(+), 4 deletions(-)
diff --git a/doc/opt/benchmark/bench.cfg b/doc/opt/benchmark/bench.cfg
index ba53018..54d3632 100644
--- a/doc/opt/benchmark/bench.cfg
+++ b/doc/opt/benchmark/bench.cfg
@@ -5,7 +5,19 @@ _pingonly="yes"
_livecheck="yes"
_livecheck_helpers=30
_central="zentrale"
-_sites=6
-_hosts=800
+_sites=12
+_hosts=1800
_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
+# E5640 ~90% 12 1600 17500 320 17800
+#
diff --git a/doc/opt/benchmark/cmkbench.sh b/doc/opt/benchmark/cmkbench.sh
index a1e5336..7849db6 100755
--- a/doc/opt/benchmark/cmkbench.sh
+++ b/doc/opt/benchmark/cmkbench.sh
@@ -167,11 +167,19 @@ EOF
cat <<ZXY > /omd/sites/$site/etc/check_mk/conf.d/service.mk
extra_service_conf["normal_check_interval"] = [
- ( "0.01", ALL_HOSTS, [ "Ping" ] ),
+# ( "0.0166", ALL_HOSTS, [ "Dummy" ] ),
+ ( "0.0166", ALL_HOSTS, [ "Ping" ] ),
]
legacy_checks += [
- (( "check-mk-ping", "Ping", True), ALL_HOSTS),
+# (( "check-mk-vapor", "Dummy", True), ALL_HOSTS),
+ (( "check-mk-ping", "Ping", True), ALL_HOSTS),
]
+extra_nagios_conf += r"""
+define command {
+ command_name check-mk-vapor
+ command_line /usr/bin/printf OK
+}
+"""
ZXY
if [ $pingonly = "no" ]; then