create_test_config.pl - create a test configuration
./create_test_config.pl [ -h ] [ -v ] [ -b <monitoring binary> ] [ -p <prefix> ] [ -l layout ] [ <directory> ]
this script generates a valid test configuration
script has the following arguments
-h
print help and exit
-v
verbose output
-p
add this prefix to all exported hosts and services
nagios/icinga binary to use
will search for nagios, nagios3 and icinga in path if not set
use nagios or icinga
output directory for export
./create_test_config.pl -p test1 /tmp/test-config/
2009, Sven Nierlein, <nierlein@cpan.org>
To install Monitoring::Generator::TestConfig, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Monitoring::Generator::TestConfig
CPAN shell
perl -MCPAN -e shell install Monitoring::Generator::TestConfig
For more information on module installation, please visit the detailed CPAN module installation guide.