Back to Netdata

SMB Server Shares

src/collectors/windows.plugin/integrations/smb_server_shares.md

2.11.03.7 KB
Original Source
<!--startmeta custom_edit_url: "https://github.com/netdata/netdata/edit/master/src/collectors/windows.plugin/integrations/smb_server_shares.md" meta_yaml: "https://github.com/netdata/netdata/edit/master/src/collectors/windows.plugin/metadata.yaml" sidebar_label: "SMB Server Shares" learn_status: "Published" learn_rel_path: "Collecting Metrics/Collectors/Storage and Filesystems" keywords: ['windows', 'microsoft', 'smb', 'share', 'file sharing'] message: "DO NOT EDIT THIS FILE DIRECTLY, IT IS GENERATED BY THE COLLECTOR'S metadata.yaml FILE" endmeta-->

SMB Server Shares

Plugin: windows.plugin Module: PerflibSMB

Overview

Monitor SMB server share activity and throughput counters on Windows systems.

It queries the 'SMB Server Shares' object from Perflib in order to gather the metrics.

This collector is only supported on the following platforms:

  • windows

This collector only supports collecting metrics from a single instance of this integration.

Default Behavior

Auto-Detection

This collector is enabled by default and automatically detects all available SMB share instances and metrics. On systems where the 'SMB Server Shares' object is not available, no SMB metrics are collected.

Limits

The default configuration for this integration does not impose any limits on data collection.

Performance Impact

The default configuration for this integration is not expected to impose a significant performance impact on the system.

Setup

Prerequisites

No action required.

Configuration

Options

OptionDescriptionDefaultRequired
update everyData collection frequency.1no

via File

The configuration file name for this integration is netdata.conf. Configuration for this specific integration is located in the [plugin:windows:PerflibSMB] section within that file.

The file format is a modified INI syntax. The general structure is:

ini
[section1]
    option1 = some value
    option2 = some other value

[section2]
    option3 = some third value

You can edit the configuration file using the edit-config script from the Netdata config directory.

bash
cd /etc/netdata 2>/dev/null || cd /opt/netdata/etc/netdata
sudo ./edit-config netdata.conf
Examples

There are no configuration examples.

Alerts

There are no alerts configured by default for this integration.

Metrics

Metrics grouped by scope.

The scope defines the instance that the metric belongs to. An instance is uniquely identified by a set of labels.

Per SMB Share

These metrics refer to SMB shares.

Labels:

LabelDescription
shareSMB share name as exposed by the Windows SMB Server Shares performance object.

Metrics:

MetricDescriptionDimensionsUnit
smb.server_shares_current_open_file_countCurrent total count of open files on the SMB share.openfiles
smb.server_shares_write_requestsWrite requests on the SMB share.writesrequests/s
smb.server_shares_read_requestsRead requests on the SMB share.readsrequests/s
smb.server_shares_metadata_requestsMetadata requests on the SMB share.metadatarequests/s
smb.server_shares_files_openedFiles opened on the SMB share.openedfiles/s