Skip to content

Latest commit

 

History

History
82 lines (51 loc) · 2.8 KB

README.md

File metadata and controls

82 lines (51 loc) · 2.8 KB

netdata-chart-sqm

Description

Netdata chart for displaying SQM statistics.

Acknowledgements

Adapted for Netdata based on the existing sqm_collectd script. (Credit: ldir-EDB0)

Requirements

OpenWrt Packages:

bash
coreutils-timeout
curl
netdata

Installation

Choose either the Local or Remote method below based on whether your OpenWrt device has git and git-http installed. These can be installed on OpenWrt via opkg update; opkg install git git-http if desired. Otherwise, use the Remote method to clone the project down on another host and push the project to your OpenWrt device.

OpenWrt Local (with git + git-http on OpenWrt device)

# git clone https://github.com/Fail-Safe/netdata-chart-sqm.git
# cd netdata-chart-sqm
# sh ./install.sh

OpenWrt Remote

Clone project and scp it to the remote OpenWrt device:

# git clone https://github.com/Fail-Safe/netdata-chart-sqm.git
# scp -r "$(pwd)/netdata-chart-sqm" root@<OpenWrt device IP here>:~

Log into the remote OpenWrt device and execute:

# cd netdata-chart-sqm
# sh ./install.sh

Validate and Test

After completing the above steps (whether local or remote), reload your Netdata web interface and confirm if "SQM" appears in the list of charts.

Settings

Common settings are to be modified in: /etc/netdata/charts.d/sqm.conf

Values

  • sqm_ifc - Modify to match the interface(s) where your SQM configuration is applied. Each interface names should be placed in quotes and separated by a space. e.g. for eth0 and eth1: declare -a sqm_ifc=("eth0" "eth1") [default: "eth0"]
  • sqm_priority - Modify to change where the SQM chart appears in Netdata's web interface. [default: 90000]

Screenshots

Example: diffserv4

SQM_netdata2 SQM_netdata3

Example: diffserv3

SQM_netdata5

Example: diffserv8

SQM_netdata4

References