[Nagiosplug-devel] [ nagiosplug-Patches-672841 ] utils.pm patch to read Nagios config file

SourceForge.net noreply at sourceforge.net
Wed Jan 22 21:07:02 CET 2003


Patches item #672841, was opened at 2003-01-22 16:48
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=672841&group_id=29880

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Steven Grimm (koreth)
Assigned to: Nobody/Anonymous (nobody)
Summary: utils.pm patch to read Nagios config file

Initial Comment:
This patch adds a new externally accessible subroutine
"config_value" to utils.pm, so scripts that want to
read the Nagios config file (e.g. to find out the
location of the command file) can do so without knowing
the config file's location.

Examples:

@cfg_files = &utils::config_value('cfg_file');
$resource_file = &utils::config_value('resource_file');


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=672841&group_id=29880




More information about the Devel mailing list