Jump to content

Pulseway to monitor Plex Media Server service


Recommended Posts

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.

Link to post
Share on other sites
  • 1 month later...

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.

Link to post
Share on other sites
  • 4 years later...

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" />

Link to post
Share on other sites
  • 1 year later...

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

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...