Jump to content

Pulseway to monitor Plex Media Server service


Recommended Posts

Posted

Hi guys,

 

I'm new to Pulseway ans i must say that it's a great software. I'm using the Ubuntu version.

 

I'd like to monitor (and restart if necessary) my plex media server process. I can't figure out how the config.xml "services" section works.

I'm using "sudo service plexmediaserver start" to start Plex ...

 

Can anyone help me with that issue ? Thanks

 

Best regards,

 

Thibault.

  • 1 month later...
Posted

This is a few days old, so I don't know if you figured this out yet, but I will post this anyway.

 

1. Make sure your add your username and password to this line:

<Account Username="" Password="" UseCustomServer="false" CustomServerAddress="" />

 

2. Add your hostname to this line:

<ComputerInformation Name="" Group="Default" />

 

3. in the  <MonitoredServices> section add the line:

<Service Name="plexmediaserver" DisplayName="Plex Media Server" IsDaemon="true" DaemonType="UPSTART" Path="" StartParameters="" CanBeStopped="true" Enabled="true" />

 

If the service shows it's not started in Pulseway, then change DaemonType to SYSVINIT. a couple years ago there was a problem when Ubuntu switched to upstart. I haven't used Plex in a few years, so I don't know if they made a upstart version for Ubuntu. Newer versions of Ubuntu will run most sysv inits just fine and it doesn't hurt to try to see which one works.

  • 4 years later...
Posted

I have been trying to figure this out for a wile and I finally figured it out and this seems to be the only post I can find that talks about Pulseway montering the PLEX service so I figured I would share for others trying to do the same.

Set the DaemonType to SYSTEMD

<Service Name="plexmediaserver" DisplayName="Plex Media Server" IsDaemon="true" DaemonType="SYSTEMD" Path="" StartParameters="" CanBeStopped="true" Enabled="true" />

  • 1 year later...
Posted

Sorry for reviving an old thread, but I am having issues getting Pulseway to detect the plexmediaserver service. I have tried all of the above configurations but none have worked.

Ubuntu 20.04 LTS

Posted

Here's the line I use: 

<Service Name="plexmediaserver" DisplayName="Plex Media Server" IsDaemon="true" DaemonType="SYSVINIT" Path="" StartParameters="" CanBeStopped="true" Enabled="true"/>

This works for me on Ubuntu 20.10.
 

20210220_154844000_iOS.jpg

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...