Sven Nierlein > Monitoring-Generator-TestConfig-0.44 > create_test_config.pl

Download:
Monitoring-Generator-TestConfig-0.44.tar.gz

Annotate this POD

Website

View/Report Bugs
Source  

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>

syntax highlighting: