Siebel::Params::Checker - Perl module to extract and show Siebel component parameters between servers
This modules provides a interface to a Siebel Enterprise to search and extract parameters from a specific Siebel component from all Siebel Server it is available.
The recover_info function is the only one exported by demand.
recover_info
This functions connects to the Siebel Enterprise and retrieve the parameters values of the desired component.
It expects as parameters:
A string of the complete path to a configuration file that is understandle by Config::Tiny (a INI file).
A compile regular expression with qr that will be use to search which Siebel Server have the desired component configured. The match will be tried at the component alias.
qr
Check the section "Configuration file" of this Pod for details about how to create and maintain the INI file.
It returns a reference to following data structure:
{ server1 => { parameter1 => value1, parameter2 => value2, parameter3 => value3, parameter4 => value4, }, server2 => { parameter1 => value1, parameter2 => value2, parameter3 => value3, parameter4 => value4, }, serverN => { parameter1 => value1, parameter2 => value2, parameter3 => value3, parameter4 => value4, }, };
All the parameters corresponding to the desired Siebel component.
The configuration file must have a INI format, which is supported by the Config::Tiny module.
Here is an example of the required parameters with a description:
[GENERAL] # the Siebel Gateway hostname and port, for example gateway=foobar:1055 # the Siebel Enterprise name enterprise=MyEnterprise # the Siebel user with administrative privileges user=sadmin # the password from the user with administrative privileges password=123456 # the field delimiter used to separate the output fields of srvrmgr field_delimiter=| # the complete pathname to the program srvrmgr srvrmgr= /foobar/bin/srvrmgr [SEARCH] # the parameters you want to check the values separated by a comma parameters=MaxTasks,MaxMTServers,MinMTServers,BusObjCacheSize # the advanced parameters you want to check the values separated by comma advanced=MaxSharedDbConns,MinSharedDbConns
Siebel::Srvrmgr
Config::Tiny
Siebel::Srvrmgr::Util::IniDaemon
Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>
This software is copyright (c) 2015 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::Params::Checker, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Siebel::Params::Checker
CPAN shell
perl -MCPAN -e shell install Siebel::Params::Checker
For more information on module installation, please visit the detailed CPAN module installation guide.