Scroll to navigation

PMDAVMWARE(1) Performance Co-Pilot PMDAVMWARE(1)

NAME

pmdavmware - VMware performance metrics domain agent (PMDA)

DESCRIPTION

pmdavmware is a Performance Metrics Domain Agent (PMDA) which exports metric values from a (possibly remote) VMware virtualisation host.

This implementation uses the VMare Perl API (refer to the online docs at http://www.vmware.com/support/developer/viperltoolkit). VIPerl is a prerequisite for this PMDA, it needs to be installed and configured before attempting to use this agent. It is highly recommended that you test your VIPerl installation using the demo programs that are shipped with VIPerl, before attempting to use this PMDA.

INSTALLATION

In order to access performance data using the VIPerl API, it is necessary to be able to login to the metrics source. Hence, a valid VMware server name, user name and pass word are needed by the PMDA. These can be passed in on the command line (via the pmcd.conf file) or via a vmware.conf file in the PMDA directory.

        # cd $PCP_PMDAS_DIR/vmware
        # [ edit vmware.conf ]

This file should contain three lines, such as:

        $server = 'vm.server.net';
        $username = 'XXXX';
        $password  = 'YYYY';

Once this is setup, you can access the names and values for the vmware performance metrics by doing the following as root:

        # cd $PCP_PMDAS_DIR/vmware
        # ./Install

If you want to undo the installation, do the following as root:

        # cd $PCP_PMDAS_DIR/vmware
        # ./Remove

pmdavmware is launched by pmcd(1) and should never be executed directly. The Install and Remove scripts notify pmcd(1) when the agent is installed or removed.

FILES

$PCP_PMDAS_DIR/vmware/vmware.conf
configuration file for the pmdavmware agent
$PCP_PMDAS_DIR/vmware/Install
installation script for the pmdavmware agent
$PCP_PMDAS_DIR/vmware/Remove
undo installation script for the pmdavmware agent
$PCP_LOG_DIR/pmcd/vmware.log
default log file for error messages from pmdavmware

SEE ALSO

pmcd(1).

Performance Co-Pilot 3.10.9