Nagios::Config
Parser for the Nagios::Object set of perl modules
- Provided by: libnagios-object-perl (Version: 0.21.20-2)
- Report a bug
Parser for the Nagios::Object set of perl modules
Ties all of the Nagios::Object modules together, doing all the parsing and background stuff so you don't have to.
All of the methods of Nagios::Object::Config and Nagios::Config::File are inherited by this module.
my $nagios_cfg = Nagios::Config->new( "nagios.cfg" ); my @host_objects = $nagios_cfg->list_hosts();
my $cf = Nagios::Config->new( Filename => $configfile );
my $cf = Nagios::Config->new( Filename => $configfile, Version => 1 );
my $cf = Nagios::Config->new( Filename => $configfile, Version => 2 );
Al Tobey <tobeya@cpan.org>
Nagios::Config::File, Nagios::Object::Config, Nagios::Object