NAME
Nagios::Generator::TestConfig - Perl extension for generating test nagios configurations
SYNOPSIS
use Nagios::Generator::TestConfig;
my $ngt = Nagios::Generator::TestConfig->new( 'output_dir' => '/tmp/test_nagios' );
$ngt->create();
DESCRIPTION
This modul generates test configurations for nagios. This can be useful if you want for doing load tests or testing nagios addons and plugins.
CONSTRUCTOR
- new ( [ARGS] )
-
Creates an
Nagios::Generator-TestConfig
object.new
takes at least the output_dir. Arguments are in key-value pairs.verbose verbose mode
METHODS
- create
-
create() generates and writes the configuration Returns true on success or undef on errors.
AUTHOR
Sven Nierlein, nierlein@cpan.org
COPYRIGHT AND LICENSE
Copyright (C) 2009 by Sven Nierlein
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 465:
You forgot a '=back' before '=head1'