pmdasamba(1)

pmdasamba1

Samba performance metrics domain agent (pmda)

Overview

pmdasamba is a Performance Metrics Domain Agent (PMDA) which exports metric values from Samba, a Windows SMB/CIFS server for UNIX.

In order for values to be made available by this PMDA, Samba must have been built with profiling support (WITH_PROFILE in "smbd -b" output). This PMDA dynamically enumerates much of its metric hierarchy, based on the contents of "smbstatus --profile".

When the agent is installed (see below), the Install script will attempt to enable Samba statistics gathering, using "smbcontrol --profile".

Installation

If you want access to the names and values for the samba performance metrics, do the following as root:

        # cd $PCP_PMDAS_DIR/samba
        # ./Install

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

        # cd $PCP_PMDAS_DIR/samba
        # ./Remove

pmdasamba 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/samba/Install

installation script for the pmdasamba agent

$PCP_PMDAS_DIR/samba/Remove

undo installation script for the pmdasamba agent

$PCP_LOG_DIR/pmcd/samba.log

default log file for error messages from pmdasamba

Releases

5 releases since Debian 6.0 (Squeeze); the text changed 4 times.

  1. 6.0
  2. 8
  3. 10
  4. 13
  5. Arch

From pcp 7.2.2-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.