I've got a rough build running on an Apache server on my Windows box. UPS stats and Bandwidth stats are both getting SSHed out to the appropriate boxes, but those are likely not functions that will be running on a native Windows box (well apcupsd might, but that function should work as is but I've yet to test it locally). I'm going to add some more user configurable options and then push out a test build for Windows users. The codebase at this point is able to identify what the OS is that it sits on and run the appropriate functions where needed.
Windows support! Probably buggy, but I have everything running in my test instance with no issues.
https://www.dropbox.com/s/x3y91a43spngnex/PlexMonitor-master.zip?dl=0
Let me know how it goes. If this picks up this thread a bit I'll probably start a new thread as I do have some other enhancement ideas and forking the thread might be wise. We'll see.
Maybe a small tutorial to how to set it up and get it running? That would be awesome!
i mean i got the website running but i guess my config is not correct.
whats needs/can be edited?
also how would i remove things i don't use. for example i don't have a ups. so how do i get it to not show up? Thanks
+1
Treat the config like a template. Change any field in there that pertains to you. I'll write up an install guide later this evening. I've created a ticket in my code repository to look at creating a settings page in the app to streamline setup in the future. Removing things you don't use isn't really supported due to the way the code is written. I'll create a quick and dirty template option as soon as I can and in the future I'll look for a cleaner way to hide modules in the UI.
Treat the config like a template. Change any field in there that pertains to you. I'll write up an install guide later this evening. I've created a ticket in my code repository to look at creating a settings page in the app to streamline setup in the future. Removing things you don't use isn't really supported due to the way the code is written. I'll create a quick and dirty template option as soon as I can and in the future I'll look for a cleaner way to hide modules in the UI.
yeah a settings page would be ideal. could you not have the settings page add/remove items that are not needed? cant wait!
Well I could, but again the code isn't written that way right now and I've got a ton of actual rewrites to do so it can do that. At this point I'm trying to get the original codebase to the point it's fully cross platform and everything user specific is editable via the config.ini file. Yes, the setup has a higher learning curve that way, but until I get time to rip the code apart further that's the best I can do. I'm working on my setup instructions now, so that should allow you to get everything setup. Once that is done I'll obviously be here for questions.
I've decided to officially fork this project and take my ideas a new direction. I've started a new thread here https://forums.plex.tv/topic/154409-plexmonitor-in-development/. The end result will be a network and server monitoring tool that is tuned for Plex, easily customizable, and 100% cross platform. Please see this new thread for further updates.
Since I’ve noticed the OP has stopped supporting this or even replying I hope I’m not intruding by posting this here but I’ve converted almost the whole project from PHP to nodejs and I’m adding in socket.io support and other features like a settings page and the option to add movie and show requests.
Here’s the repo for anyone that’s interested.
Not sure who to use
Theres 3 active forks of this script.
github.com/Jarvl/Network-Status-Page
github.com/scytherswings/Network-Status-Page
github.com/OmgImAlexis/Network-Status-Page
I think Jarvl and scytherswings should merge their projects.
I’d really like to see a complete walk thru for noobs on OS X. I’ve seen the windows for dummies one. If anyone wants to do a write up i would very appreciative
@mediastreamers I’m actually busy building an entire new project that will build on what Network-Status-Page has. I think that once my project gets going (just released the beta-v0.1-don’t-actually-use-preview-thing a few minutes ago) it will be able to be much easier to use and easier to set up than Network-Status-Page ever was. If you’re interested in watching my development, my shameless self-plug project can be found here: github.com/scytherswings/Plex-Board
Looks promising scytherwings. This would be great dockerized to allow any and everyone to use it.
@munrotm it has been dockerized! https://hub.docker.com/r/gostlund/plex-board/
Updated to 0.2.1 at the request of Plex devs. They pointed out that my Plex token caching was broken and this was causing quite a bit of high traffic to their authentication server. If you use my original code please pull these fixes into your working code. Requires the ‘cache’ folder that now comes with the other files in the git repo. If you use your own fork please double check that your tokens are actually being cached properly. Live site has moved to https://status.d4rk.co and source code is still at https://github.com/d4rk22/Network-Status-Page.
installed the latest release 0.2.1 on windows; using windows xampp apache / php. main index page displays no information, but a few boxes / placeholders for weather, services, storage.
changed only the plex media server location and username / password. moved the config.ini file and edited the path in the index.php page. that seems to be working fine.
any other changes i need to make for a windows environment?
linux ubuntu using nginx just gives me a 404 error page, not even loading any placeholders.
linux synology using web station loads some elements; but all 0 data values. loads trackt, and service status icons. so the below comments are related to this working environment.
are there specific php version requirements for this application?
most services show up as offline; nothing in config.ini to point them to respective locations.
editing /assets/php/services.class.php i changed localhost to the ip of where all my services are run, and the only one that populated was for plex. although i have sabnzbd and others there.
services show that i am running a vanilla minecraft server; i’m not.
sabnzbd service set with correct ip, and full access api key with and without single quotes in config file as well as setting /assets/php/serviceSAB.class.php localhost to the correct ip of my sabnzbd install still shows offline for status.
hovering over services icons shows the wrong url; and or sub domain url. i changed the domain name in the config.ini file but it does not change the url in all areas of the application. Editing /assets/php/services_ajax.php for each url can correct this issue, but should be reflected as a setting in config.ini. Changes to the URL, as well as local IP settings in this file show services as online correctly.
editing the both index.php and /assets/php/functions.php and changing the config.ini path on both files corrected several issues with nothing populating the placeholders. fixed partial data for weather, fixed load data, shows real time updates. fixed trackt from basic placeholder to showing that it requires vip api key.
biggest issue though, with all plex settings correct, the code specifies that if plex is offline, then just show trackt placeholder. so, thats what i get. even though the ip and port are correct. i suspect a token handling problem maybe?
@m1e1w1 said:
installed the latest release 0.2.1 on windows; using windows xampp apache / php. main index page displays no information, but a few boxes / placeholders for weather, services, storage.changed only the plex media server location and username / password. moved the config.ini file and edited the path in the index.php page. that seems to be working fine.
any other changes i need to make for a windows environment?
linux ubuntu using nginx just gives me a 404 error page, not even loading any placeholders.
linux synology using web station loads some elements; but all 0 data values. loads trackt, and service status icons. so the below comments are related to this working environment.
are there specific php version requirements for this application?
most services show up as offline; nothing in config.ini to point them to respective locations.
editing /assets/php/services.class.php i changed localhost to the ip of where all my services are run, and the only one that populated was for plex. although i have sabnzbd and others there.
services show that i am running a vanilla minecraft server; i’m not.
sabnzbd service set with correct ip, and full access api key with and without single quotes in config file as well as setting /assets/php/serviceSAB.class.php localhost to the correct ip of my sabnzbd install still shows offline for status.
hovering over services icons shows the wrong url; and or sub domain url. i changed the domain name in the config.ini file but it does not change the url in all areas of the application. Editing /assets/php/services_ajax.php for each url can correct this issue, but should be reflected as a setting in config.ini. Changes to the URL, as well as local IP settings in this file show services as online correctly.
editing the both index.php and /assets/php/functions.php and changing the config.ini path on both files corrected several issues with nothing populating the placeholders. fixed partial data for weather, fixed load data, shows real time updates. fixed trackt from basic placeholder to showing that it requires vip api key.
biggest issue though, with all plex settings correct, the code specifies that if plex is offline, then just show trackt placeholder. so, thats what i get. even though the ip and port are correct. i suspect a token handling problem maybe?
PHP 5.4 is required. Beyond that the cache folder needs to be writable by whatever is running the web server. The services don’t have config.ini values. You need to manually edit the php file for services. It’s another todo item but I haven’t touched the code in two years and just did this latest update to fix bugs in regards to the token so that the existing installs don’t have to hammer the authentication server. Back when I originally released this on Github it was more of a “look at this cool page I made, you can use the code and make your own” release.
In regards to why your Plex is showing as offline, there is a debug file that should being written to ./cache/php-errors.txt. If you don’t see that file trying changing permissions on the cache folder and then refreshing the main index page.
I will change the out of the box path for the config file location. It should work out of the box and simply recommend that you place it outside of the root directory.
Alright.
I will check permission on the cache folder. other then plex not showing up, a few other items are still broken but i’m looking into making corrections to the code with some research to resolve them myself.
the php-errors.txt repeats with “Writing new Plex token” on each page refresh.
The concept for this i think is very valid, as the existing versions of 3rd party applications are not able to talk to each other to show such things as status conditions to a public / no login user base.
Anyone running unRAID and have this running properly? I’m running this on an Apache docker but can’t get it to work for some reason. Edited the config.ini file and no luck so far. Also using pfSense
has anyone got this hosted on their synology?
