Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Latest commit

 

History

History
34 lines (28 loc) · 541 Bytes

README.md

File metadata and controls

34 lines (28 loc) · 541 Bytes

collectd-plex

A Plex plugin for collectd.

Examples

<LoadPlugin python>
  Globals true
</LoadPlugin>

<Plugin python>
  ModulePath "/path/to/plugin"
  Import "plex"

  # Count all videos in a section
  <Module plex>
    Host "localhost"
    Port 32400
    Section 1
    Instance tv_shows
    SumLeaf false
  </Module>

  # Count all leaf videos (e.g. episodes) in a section
  <Module plex>
    Host "localhost"
    Port 32400
    Section 1
    Instance episodes
    SumLeaf true
  </Module>
</Plugin>