NAME

create_test_config.pl - create a test configuration

SYNOPSIS

./create_test_config.pl [ -h ] [ -v ] [ -b <monitoring binary> ] [ -p <prefix> ] [ -l layout ] [ <directory> ]

DESCRIPTION

this script generates a valid test configuration

ARGUMENTS

script has the following arguments

help
-h

print help and exit

verbose
-v

verbose output

prefix
-p

add this prefix to all exported hosts and services

binary
nagios/icinga binary to use

will search for nagios, nagios3 and icinga in path if not set

layout
use nagios or icinga
directory
output directory for export

EXAMPLE

./create_test_config.pl -p test1 /tmp/test-config/

AUTHOR

2009, Sven Nierlein, <nierlein@cpan.org>