PerfStat - Perl Systems Monitoring Framework
This document contains information about the following: version control, installation of perfmon tool, and configuration summary.
Installing perfmon is a simple process. There are two different types of installation (Client or Server). The server installation requires the rrdtool, perl 5.005 (or higher), added perl modules, and the PerfStat application. The client installation requires perl 5.005 (or higher), added perl modules, and the PerfStat application.
Install the RRDTOOL (Server Only):
- Build Makefile sh configure If you prefer to install RRDTOOL in another location besides default: /usr/local/rrdtool, use sh configure --prefix=/some/other/RRDtool-dir
- Compile RRDTOOL make
- Install RRDTOOL make install
Verify/Install perl 5.005 (or higher) (Client/Server)
- Check version of Perl. perl -v.
Install Required Perl Modules (Client/Server):
- Under the /path/to/perfmon/install directory extract all tar files. tar xvf
- Change directory to newly formed directory.
- Build makefile perl Makefile.PL
- Compile Perl Module make
- Test Compile of Perl Module make test
- Install Perl Module make install
- Repeat steps 2-6 for every Perl Module.
Install the PerfStat application (Client and Server):
- Create desired base directory for PerfStat ie: /usr/local/perfmon
- Copy tarfile to above directory
- When installing PerfStat you will be asked the following: a. Location of the PerfStat application b. location of the RRDTOOL Lib Directory. Usually located under /path/to/rrdtool/lib/perl. c. The PerfStat user/group uid/gid that you wish to run the PerfMon application.
- Execute the perf-install.sh script located under /path/to/perfmon/install
- Check the install.log under the install directory to ensure no errors were generated.
Configuring PerfStat is very simple for both client and server. Follow the below steps after the client/server installation is complete.
- Edit the perf-profile.pl under /path/to/perfmon/etc. Enter the IP of your PerfStat server in the $perfserver variable (Client/Server).
- Edit the perf-hosts file located under /path/to/perfmon/etc. You need to enter the IP and Hostname of all hosts in the perfmon environment (Server only).
- Start PerfStat application by executing the following command located under /path/to/perfmon: perf.sh (start|restart|stop) (Client/Server).