Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Nagios::Config(3)     User Contributed Perl Documentation    Nagios::Config(3)

NAME
       Nagios::Config -	Parser for the Nagios::Object set of perl modules

DESCRIPTION
       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.

SYNOPSIS
	my $nagios_cfg = Nagios::Config->new( "nagios.cfg" );

	my @host_objects = $nagios_cfg->list_hosts();

METHODS
       new()
	   Create a new	Nagios::Config object, which will parse	a Nagios main
	   configuration file and all of it's object configuration files.  The
	   resource configuration file is not parsed - for that, use
	   Nagios::Config::File.

	    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	);

AUTHOR
       Al Tobey	<tobeya@cpan.org>

SEE ALSO
       Nagios::Config::File, Nagios::Object::Config, Nagios::Object

perl v5.32.0			  2020-08-10		     Nagios::Config(3)

NAME | DESCRIPTION | SYNOPSIS | METHODS | AUTHOR | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Nagios::Config&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help