GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Nagios::Config(3) User Contributed Perl Documentation Nagios::Config(3)

Nagios::Config - 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();

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

Al Tobey <tobeya@cpan.org>

Nagios::Config::File, Nagios::Object::Config, Nagios::Object
2022-04-09 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.