Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 16c5e5f8b5816c1b1037e59c9a2a8112 > files > 477

check-mk-docs-1.2.2-5.fc18.1.noarch.rpm

# Put this file into etc/check_mk/conf.d and you
# will get a number of virtual host monitoring
# the same data as 'localhost'. You might
# have to adapt the path to the cache file
# see below
#
# Why should that be usefull? Performance testing.
# GUI testing...

_num_zombies = 100


for _z in range(0, _num_zombies):
    _name = "zombie%04d" % _z
    all_hosts.append(_name + "|zombie")
    ipaddresses[_name] = "127.0.0.1"

datasource_programs = [
 ( "cat /var/lib/check_mk/cache/localhost", [ "zombie" ], ALL_HOSTS),
]