System Information Data Collector for HP-UX



DESCRIPTION
System Information Data Collector is a tool for collecting information from a HP-UX operating system and some HP hardware and software. System Information Data Collector is a free software and provided by the author 'AS IS' under terms of the GNU General Public License.

Support engineers and system administrators can use System Information Data Collector to obtain a system configuration and troubleshoot problems. To get system information System Information Data Collector script calls specified modules. The modules of System Information Data Collector are located in the 'modules' directory.

The following modules is available in version 0.1:

- disks
Collects disk information (default).

- lvm
Collects LVM information (default).

- etc
Collects /etc configuration files (default).

- init
Collects /sbin/init.d and /sbin/rc? scripts (default).

- logs
Collects /var/adm/syslog file and dmesg output (default).

- net
Collects network information and network device information (default).

- sw
Collects software depot information (default).

- sysconf
Collects system configuration information (default).

- mcsg
Collects HP MC/Service Guard information. This module does not run by default.

- npar
Collects npar configuration information. This module does not run by default.

- dp
Collects HP Data Protector software information. This module does not run by default.

- default
Run all default modules.

The System Information Data Collector writes output to 'output' directory in the following format:

sysinfo-dc.machine_ident.hostname-date

Where
"machine_ident" is an output of 'getconf _CS_MACHINE_IDENT' command,
"hostname" is an output of 'hostname' command,
"date" is an output of 'date "+%Y.%m.%d.%H.%M.%S"' command.

HOW TO USE
1. Download the latest release of System Information Data Collector

Download

2. Unpack archive to some directory (for example /tmp)

root@hostname # cd /tmp; gzcat sysinfo-dc.ver.tar.gz|tar -xvf -

3. Run sysinfo-dc.sh script

root@hostname # sh sysinfo-dc.sh [-V] [-d] [-m module,module,...]

For example:

sysinfo-dc -d -m default,mcsg

4. Look in 'output' directory

List of the sysinfo-dc.sh command line options:

-V Provide version information
-d Run script in verbose mode
-m Execute only selected modules

POSSIBLE PROBLEMS
The System Information Data Collector has been tested on several HP-UX 11.11 and 11.23 hosts. There was no problems detected with software or hardware during the time the script has been running. But it is not good idea to run script on production michines, because it has not been tested in all possible HP-UX environments.



TODO
The following features are planned to add in 0.2 version of SysInfo-DC:

1. Possibility to send collected data to specified e-mail address or put output to some directory of specified ftp server.

2. Module for collecting data from Management Processor (MP) via telnet or ssh.

3. Module for collecting Virtual Partitions configuration.

4. Module for collecting Psets configuration.

5. Module for collecting PRM configuration.

6. Module for collecting WLM configuration.

7. Possibility to specify detailed machine owner information during the first running time.

8. Software depot.



If you have notices or proposals about System Information Data Collector please send it to the author via following e-mail address: Alexander Haidukov <ahaidukov@gmail.com>

(R) HP-UX is registered trademark of Hewlett-Packard Company.
(R) HP MC/Service Guard is registered trademark of Hewlett-Packard Company.
(R) HP Data Protector is registered trademark of Hewlett-Packard Company.
SourceForge.net Logo