Siebel::Srvrmgr - utilities to be used with the Siebel srvrmgr program
The distribution Siebel-Srvrmgr was created to define a set of tools to interact with the srvrmgr program from Siebel.
srvrmgr
It was started initially to create a parser for the project Siebel Monitoring Tools (http://code.google.com/p/siebel-monitoring-tools/) and later was grown to a set of more generic functionality, thus making sense to be published at CPAN.
This package used to be only Pod, but since release 0.09 it has a logging feature. See logging_cfg for details.
Since release 0.15, this distribution breaks API compabitility with previous releases. Consider yourself warned.
Returns a string with the configuration to be used by a Log::Log4perl instance.
The configuration of Log::Log4perl is available after the __DATA__ code block of this package. Logging is disabled by default, but it can be enabled by only commenting the line:
__DATA__
log4perl.threshold = OFF
with the default "#" Perl comment character.
Logging is quite flexible (see Log::Log4perl for details) but the default configuration uses only FATAL level printing messages to STDOUT.
It is also possible to set a different Log::Log4perl configuration file by setting the environment variable SIEBEL_SRVRMGR_DEBUG with the complete location to the configuration file. This module will look first for this variable configuration and if found, will try to use the configuration from there.
This method returns a Log::Log4perl::Logger object as defined by the logging_cfg method.
logging_cfg
It expects as parameters the following items:
package: string with the name of the package that wants a logger. This is a required parameter.
The configuration will not be read again after initialization.
The classes below might give you a introduction of the available classes and features:
Siebel::Srvrmgr::Daemon
Siebel::Srvrmgr::ListParser
The project web page at https://github.com/glasswalk3r/siebel-monitoring-tools/ contains more information about project features and state.
PPM package: if you are a Active Perl user, you might be happy to know that there are PPM packages created automatically from this distribution at https://code.activestate.com/ppm/Siebel-Srvrmgr/.
Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>
This software is copyright (c) 2012 of Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>
This file is part of Siebel Monitoring Tools.
Siebel Monitoring Tools is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Siebel Monitoring Tools is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Siebel Monitoring Tools. If not, see <http://www.gnu.org/licenses/>.
To install Siebel::Srvrmgr, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Siebel::Srvrmgr
CPAN shell
perl -MCPAN -e shell install Siebel::Srvrmgr
For more information on module installation, please visit the detailed CPAN module installation guide.