Plex Alerting Script - Log and Send Push Alerts On New Sessions

Hi

 

I whipped up this quick script to notify me whenever a new session is started on my Plex Server. I use it to monitor shared user activity. It is written in Python and uses https://pushover.net for alerting. The script has been tested on Plex Media Server 0.9.8.0 running on OS X. I have it scheduled to run periodically and so far it seems to work well. I'd be happy to hear any suggestions or feedback.

 

Github: https://github.com/vwieczorek/plexMon

 

Regards

hi


i like your idea.


will test it in the next days :slight_smile:


greets

Very nice idea indeed. Thank you for sharing.



Sent from my iPad using Tapatalk HD

Hi, I tried this on OSX Mavericks running Plex 0.9.8.6 and it doesn't seem to do anything.  I entered all the values as indicated, bought the pushover app for iPhone, I then run the script via Terminal "python /location/of/Plexmon.py".  

Any ideas?

thanks.

Hi, I tried this on OSX Mavericks running Plex 0.9.8.6 and it doesn't seem to do anything.  I entered all the values as indicated, bought the pushover app for iPhone, I then run the script via Terminal "python /location/of/Plexmon.py".  

Any ideas?

thanks.

I'm not sure if Victor is still maintaining this script or not but plexWatch was created based off of this script. Here are the links for plexWatch.

I'm not sure if Victor is still maintaining this script or not but plexWatch was created based off of this script. Here are the links for plexWatch.

This script has been happily replaced by the great work of eleese and ljunkie at the links above!

its there something im doing wrong?

syntaxError: invalid syntax

imac:plexmon-master RMAC$ python plexmon.py

  File "plexmon.py", line 29

    server =urllib2.urlopen (http://127.0.0.1:32400/status/sessions) # Replace the IP and Port with those of your server

its there something im doing wrong?

syntaxError: invalid syntax

imac:plexmon-master RMAC$ python plexmon.py

  File "plexmon.py", line 29

    server =urllib2.urlopen (http://127.0.0.1:32400/status/sessions) # Replace the IP and Port with those of your server

I would highly suggest that you switch to using plexWatch found here: http://forums.plexapp.com/index.php/topic/72552-plexwatch-plex-notify-script-send-push-alerts-on-new-sessions-and-stopped/

plexMon is no longer being maintained.

PlexNotify is way nicer/easier IMO.https://forums.plex.tv/topic/93952-plex-notify-in-development/?view=findpost&p=576339&hl=%2Bplex+%2Bnotify

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.