NAME
Siebel::Srvrmgr::ListParser::Output::Tabular::ListServers - subclass to parse list servers command
SYNOPSIS
See Siebel::Srvrmgr::ListParser::Output::Tabular for examples.
DESCRIPTION
This subclass of Siebel::Srvrmgr::ListParser::Output::Tabular parses the output of the command list servers
.
This class expectes the following order and configuration of fields from list servers
command:
srvrmgr> configure list servers
SBLSRVR_NAME (31): Siebel Server name
SBLSRVR_GROUP_NAME (46): Siebel server Group name
HOST_NAME (31): Host name of server machine
INSTALL_DIR (256): Server install directory name
SBLMGR_PID (16): O/S process/thread ID of Siebel Server Manager
SV_DISP_STATE (61): Server state (started, stopped, etc.)
SBLSRVR_STATE (31): Server state internal (started, stopped, etc.)
START_TIME (21): Time the server was started
END_TIME (21): Time the server was stopped
SBLSRVR_STATUS (101): Server status
Anything different from that will generate exceptions when parsing
ATTRIBUTES
All from parent class.
METHODS
All methods from superclass plus some additional ones described below.
The hash reference returned by get_data_parsed
will look like that:
siebfoobar' => HASH
'end_time' => ''
'host_name' => 'siebfoobar'
'install_dir' => '/app/siebel/siebsrvr'
'sblmgr_pid' => 20452
'sblsrvr_group_name' => ''
'sblsrvr_state' => 'Running'
'sblsrvr_status' => '8.1.1.7 [21238] LANG_INDEPENDENT'
'start_time' => '2013-04-22 15:32:25'
'sv_disp_state' => 'Running'
where the keys are the Siebel servers names, each one holding a reference to another hash with the keys shown above.
get_lc_fields
Returns an array reference with all the expected fields names in lowercase.
SEE ALSO
AUTHOR
Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>.
COPYRIGHT AND LICENSE
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/.