What's new
PGBlitz.com

Register Now! Find useful tips, Interact /w Community Members and join the part the Best Community on the Internet!

Ideas Tautulli Multi Server edition

M

MrDoob

Guest
Actually I work on an "Tautulli Multi Server Edition"

If any one would help or test.

Please post here ..

@H1f0x ;)
 
M

MrDoob

Guest
That's here an really really ALPHA Tautulli

If any fails please past the failed code !!

This one is not yet pushed to GitHube.

That's my first owned / self-created docker file !! The rest of my docker.yml files is was only recreate.

But this one is really high level creating.

Please give me feedback !!!




1. ) cd /opt/mycontainers/
2. ) nano multi-tautilli.yml
3.) past the code below

Bash:
#!/bin/bash
#
# Title:      PGBlitz (Tautulli - Multi Server Edition )
# Author(s):  MrDoob
# URL:        https://pgblitz.com - http://github.pgblitz.com
# GNU:        General Public License v3.0
################################################################################
---
- hosts: localhost
  gather_facts: false
  tasks:
    # FACTS #######################################################################
    - name: 'Set Known Facts'
      set_fact:
        pgrole: 'multitautulli'
        intport: '8181'
        extport: '8188'
        image: 'mrdoob/tatulli-multi:latest'

    # CORE (MANDATORY) ############################################################
    - name: 'Including cron job'
      include_tasks: '/opt/coreapps/apps/_core.yml'
      
    - name: 'Including plugins '
      include_tasks: '/opt/coreapps/apps/_plugins.yml'
      
    - name: 'Checking for existing app data'
      stat:
        path: /opt/appdata/multitautulli/config.ini
      register: confcheck

    # LABELS ######################################################################
    - name: 'Adding Traefik'
      set_fact:
        pg_labels:
          traefik.enable: 'true'
          traefik.port: '{{intport}}'
          traefik.frontend.auth.forward.address: '{{gauth}}'
          traefik.frontend.rule: 'Host:plexpy.{{domain.stdout}},{{pgrole}}.{{domain.stdout}},{{tldset}}'

    - name: 'Setting PG Volumes'
      set_fact:
        pg_volumes:
          - '/opt/appdata/{{pgrole}}:/config'
          - '/opt/appdata/plex/database/Library/Application Support/Plex Media Server/Logs:/logs'
          - '/opt/appdata/{{pgrole}}/scripts:/scripts'
          - '/etc/localtime:/etc/localtime:ro'

    - name: 'Setting PG ENV'
      set_fact:
        pg_env:
          PUID: '1000'
          PGID: '1000'
          TZ: '${TZ}'  

    # MAIN DEPLOYMENT #############################################################
    - name: 'Deploying {{pgrole}}'
      docker_container:
        name: '{{pgrole}}'
        image: '{{image}}'
        pull: yes
        published_ports:
          - '{{ports.stdout}}{{extport}}:{{intport}}'
        volumes: '{{pg_volumes}}'
        env: '{{pg_env}}'
        restart_policy: unless-stopped
        networks:
          - name: plexguide
            aliases:
              - '{{pgrole}}'
        state: started
        labels: '{{pg_labels}}'

    # AFTER ########################################################################
    - name: 'Configuring {{pgrole}} for first time use'
      block:
        - name: 'Waiting for {{pgrole}} to start'
          wait_for:
            path: '/opt/appdata/multitautulli/config.ini'
            state: present

        - name: Stop Container
          docker_container:
            name: '{{pgrole}}'
            state: stopped

        - name: Restart {{pgrole}}
          docker_container:
            name: '{{pgrole}}'
            state: started

      when: not confcheck.stat.exists
4.) pgblitz

5.) 5 - 2 - 1 - multitautulli - deploy

6.) https://multitautulli.yourdomain.anyelse
 
M

MrDoob

Guest
Dockerhub log :

Successfully built 14175254e508

Successfully tagged mrdoob/tatulli-multi:latest

Pushing index.docker.io/mrdoob/tatulli-multi:latest...

Done!

Build finished
 
M

MrDoob

Guest
Yes really :p .

That's Tautulli version can handle more then one PMS :) .

The original creator made only a standalone version for nginx and not as a docker version,

Some users here have more then one PM - Server, so now they can use one Tautulli to monitoring multiple PMS Sessions ;)
 
M

MrDoob

Guest
but its really an alpha version of the docker .

We need some test before we / I push this to GitHube for all user .

I don't want an app that's not work or fails created in the complete PG system.

I hade this really.
 

H1f0x

Administrator
Project Manager
Donor
Mah man! I will test this tomorrow and give you feedback :D i'm exited to test this! :D
 

greystarnetworks

Junior Member
To clarify, it this ONLY for multiple PMS under the SAME login? I have a few PMS but they are using different Plex usernames on each server. Will this work in that scenario?
 

antigravity

Respected Member
Wow this is incredible... I run two servers and running two Tautulli's sucks.

How does this handle scripts? Does it give you the option to chose which servers the scripts act on?
 

antigravity

Respected Member
To clarify, it this ONLY for multiple PMS under the SAME login? I have a few PMS but they are using different Plex usernames on each server. Will this work in that scenario?
Just set it up now, and it looks like it'll only pickup Plex servers running under the same Plex username.

Im in the same boat as you - I have two Servers running under two Plex usernames... This doesn't pick that up unfortunately.
 
M

MrDoob

Guest
Why you use multiple PMServer under multiple username...

That's weird.. you can create 10000000 pmserver under 1 username ..

So that's you fail not the Tautulli fail.
 
M

MrDoob

Guest
To clarify, it this ONLY for multiple PMS under the SAME login? I have a few PMS but they are using different Plex usernames on each server. Will this work in that scenario?
Why you use different plex accounts

That's terrible . So you must run for each account each Tautulli ..
 

antigravity

Respected Member
Why you use multiple PMServer under multiple username...

That's weird.. you can create 10000000 pmserver under 1 username ..

So that's you fail not the Tautulli fail.
Because you're limited to 15 home users per Plex Account.

I want to share my Plex Server with family and friends, without them having to set up their own Plex Accounts - and then pay for a Plex Pass themselves or pay for the Plex Mobile Apps.

So instead I create a Plex Account, with Plex Pass, and share it with 15 people. Then they dont have to pay for the mobile apps, or for seperate Plex Passes. They all get Plex Pass benefits under the one account.
 

Admin9705

Administrator
Project Manager
Because you're limited to 15 home users per Plex Account.

I want to share my Plex Server with family and friends, without them having to set up their own Plex Accounts - and then pay for a Plex Pass themselves or pay for the Plex Mobile Apps.

So instead I create a Plex Account, with Plex Pass, and share it with 15 people. Then they dont have to pay for the mobile apps, or for seperate Plex Passes. They all get Plex Pass benefits under the one account.
Plex is 100 and emby is 15 u less I'm missing something.
 
M

MrDoob

Guest
Plex is 100 and emby is 15 u less I'm missing something.
Plex Home Features
Enabling or joining a Plex Home gives you several features.

  • You may have up to 15 members total in your Home (any combination of Managed Users or regular Plex Accounts, which includes your admin/owner account).
 

antigravity

Respected Member
Yeah so I have 15 home users under a single plex account. Means we all get Plex Pass under one payment.

All good I just rolled out two Tautulli's
 

fa99x24

Full Member
This is brilliant @MrDoob, I can't thank you enough :) Might just be reason enough to switch back from emby to plex :cool:

Feedback: installed and started without any problems. Finds all plex servers automagically and with a few clicks everything's up and running!

Now I assume it would be better to stop the original tautulli?
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads


Development Donations

 

Top NZB NewsGroups!

Members - Up To a 58% Discount!

Trending

Online statistics

Members online
8
Guests online
481
Total visitors
489
Top