Man Page: nagios::config::file
Operating Environment: debian
Section: 3pm
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 |
|---|
| nagircbot(1) - debian |
| nagiosstats(8) - suse |
| nagios::object::config(3pm) - debian |
| nagios::plugin::performance(3pm) - debian |
| nagios::plugin::threshold(3pm) - debian |
| Similar Topics in the Unix Linux Community |
|---|
| Adding the individual columns of a matrix. |
| Introduction |
| Detecting unused variables... |
| One instance of comparing grep and awk |
| New UNIX and Linux History Sections |