Collects data about your Plex server and sends it to InfluxDB
Switch branches/tags
Nothing to show
Clone or download
Latest commit 12cb0ce Sep 20, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Examples Small tweaks Aug 31, 2018
plexcollector Make section dynamic Sep 18, 2018
README.md General cleanup Sep 7, 2018
config.ini More detail in config Sep 20, 2018
plexcollector.py Small sweaks Aug 31, 2018
requirements.txt Added requests to requirements Sep 5, 2018

README.md

Plex Data Collector For InfluxDB

Screenshot

This is a tool for collecting some basic info about your Plex server and sending it to InfluxDB. This is ideal for displaying Plex specific information in a tool such as Grafana.

Usage

Enter your desired information in config.ini and run plexcollector.py

Please Note: If you have authentication enable in InfluxDB the provided user must be an admin

Configuration within config.ini

GENERAL

Key Description
Delay Delay between updating metrics
ReportCombined When using multiple servers report total streams over all servers

INFLUXDB

Key Description
Address Delay between updating metrics
Port InfluxDB port to connect to. 8086 in most cases
Database Database to write collected stats to
Username User that has access to the database
Password Password for above user
Verify_SSL Disable SSL verification for InfluxDB Connection

PLEX

Key Description
Username Plex username
Password Plex Password
Servers A comma separated list of servers you wish to pull data from.
HTTPS Connect to server using HTTPS
Verify_SSL Disable SSL verification (Use this if you have a self sign SSL)

LOGGING

Key Description
Level Minimum type of message to log. Valid options are: critical, error, warning, info, debug

Requirements

  • Python 3.x
  • InfluxDB server

Run pip install -r requirements.txt

Python Packages