Query: nagios::config::file
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Nagios::Config::File(3pm) User Contributed Perl Documentation Nagios::Config::File(3pm)NAMENagios::Config::File - Base class for Nagios configuration filesSYNOPSISuse Nagios::Config ; my $nc = new Nagios::Config("/usr/local/nagios/etc/nagios.cfg") ; my $resource = $nc->get_resource_cfg() ; print $resource->get_attr('$USER1$') . " " ;DESCRIPTION"Nagios::Config::File" is the base class for all Nagios configuration files. You should not need to create these yourself.CONSTRUCTORnew ([FILE]) Creates a "Nagios::Config::File".METHODSget ([NAME], [SPLIT]) Returns the value of the attribute "NAME" for the current file. If "SPLIT" is true, returns a list of all the values split on /s*,s*/. This is useful for attributes that can have more that one value. filename() Returns the filename for the current object. dump () Returns a scalar with the full configuration text ready to parse again.AUTHORPatrick LeBoutillier, patl@cpan.org Al Tobey, tobeya@cpan.orgSEE ALSONagios::Config, Nagios::Config::Object perl v5.12.4 2011-10-22 Nagios::Config::File(3pm)
Related Man Pages |
---|
nagios(8) - suse |
config::model::exception(3pm) - debian |
nagios::object::config(3pm) - debian |
nagios::plugin::config(3pm) - debian |
nagios::statuslog(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
Adding the individual columns of a matrix. |
awk or sed - Convert 2 lines to 1 line |
Is UNIX an open source OS ? |
Weird 'find' results |
A (ksh) Library For and From UNIX.com |