NAME

Siebel::Srvrmgr::ListParser::Output::ListServers - subclass to parse list servers command

SYNOPSIS

See Siebel::Srvrmgr::ListParser::Output for examples.

DESCRIPTION

This subclass of Siebel::Srvrmgr::ListParser::Output parses the output of the command list servers.

ATTRIBUTES

attribs

An array reference with the attributes of each Siebel Server listed by list servers command.

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_attribs

Returns the array reference stored in the types_attribs attribute.

parse

Parses the data stored in the raw_data attribute, setting the parsed_lines attribute.

The raw_data will be set to a reference to an empty array at the end of the process.

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/>.