# Network Status Page

**URL:** <https://forums.plex.tv/t/network-status-page/45853>\
**Category:** Dev/API Corner\
**Tags:** other-dev\
**Created:** [November 1, 2013, 12:53am UTC](https://forums.plex.tv/t/network-status-page/45853 "2013-11-01T00:53:35Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ryan\_C](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ryan_c/32/96053_2.png) [@Ryan\_C](https://forums.plex.tv/u/Ryan_C)\
**Post date:** [November 1, 2013, 12:53am UTC](https://forums.plex.tv/t/network-status-page/45853/1 "2013-11-01T00:53:35Z")

</div>

Designed to monitor a local server and network with forecast.io, Plex, and pfSense integration.

&nbsp;[https://status.d4rk.co/](https://status.d4rk.co/) Live site&nbsp; [Source Code](https://github.com/d4rk22/Network-Status-Page "Link: https://github.com/d4rk22/Network-Status-Page")

&nbsp;Features

- Responsive web design viewable on desktop, tablet and mobile web browsers

- Designed using&nbsp;[Bootstrap 3](http://getbootstrap.com/)

- Uses jQuery to provide near real time feedback

- Optimized for OS X Mavericks (Tested on OS X 10.9 and Safari 7.0 and iOS 7.0.3 on iPhone/iPad.)

- Displays the following:

- Weather forecast only shows while viewing from local network

- Now Playing section adjusts scrollable height on the fly depending on browser window height

&nbsp;

Screenshots

[sharedmedia=core:attachments:20405]

![post-71812-0-85986700-1383266502.jpg|690x461](upload://m1oSKPDlDFm0Jgs0isXOfGwImrV.jpg)

&nbsp;

Previous PlexPass only post:&nbsp;[http://forums.plexapp.com/index.php/topic/82978-showing-off-whats-possible-with-plex/](http://forums.plexapp.com/index.php/topic/82978-showing-off-whats-possible-with-plex/)

&nbsp;

Several members in the PlexPass only area contributed ideas and code and I'd like to thank them for that:

[member='dashbad']

[member='A.J']

[member='\*=Matt=\*']

&nbsp;Feel free to take the code and tinker with it or contribute feature ideas here and or questions here.

---

<div class="post-metadata">

**Author:** ![kappaknight](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/kappaknight/32/360_2.png) [@kappaknight](https://forums.plex.tv/u/kappaknight)\
**Post date:** [November 7, 2013, 5:19am UTC](https://forums.plex.tv/t/network-status-page/45853/2 "2013-11-07T05:19:05Z")

</div>

This looks really cool. What does it look like when multiple media/streams are playing?

---

<div class="post-metadata">

**Author:** ![Ryan\_C](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ryan_c/32/96053_2.png) [@Ryan\_C](https://forums.plex.tv/u/Ryan_C)\
**Post date:** [November 7, 2013, 6:07am UTC](https://forums.plex.tv/t/network-status-page/45853/3 "2013-11-07T06:07:59Z")

</div>

> This looks really cool. What does it look like when multiple media/streams are playing?

It stacks them in the middle section and then you can scroll the middle section independently from the main page view. On iOS it's just one long column of course. Here is a screenshot of it scrolled half way between two items playing at the same time.

[http://d.pr/i/lYQ](http://d.pr/i/lYQ)

![post-71812-0-25717000-1383804420.jpg|620x500](upload://5xuSGHN8iEDd981yffAx4U4gNUh.jpg)

And the from an iPhone it looks like:

[http://d.pr/i/Sl76](http://d.pr/i/Sl76)

![post-71812-0-73434800-1383804637.png|281x500](upload://uS1pfW7RqG4R1C69PyEzqxrFpU.png)

---

<div class="post-metadata">

**Author:** ![kappaknight](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/kappaknight/32/360_2.png) [@kappaknight](https://forums.plex.tv/u/kappaknight)\
**Post date:** [November 7, 2013, 4:43pm UTC](https://forums.plex.tv/t/network-status-page/45853/4 "2013-11-07T16:43:21Z")

</div>

Love it... would love to set this up once I get the replacement mini. :D

The 2009 served valiantly for years but now that we're sharing with more mobile devices, we finally need something better.

---

<div class="post-metadata">

**Author:** ![Ryan\_C](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ryan_c/32/96053_2.png) [@Ryan\_C](https://forums.plex.tv/u/Ryan_C)\
**Post date:** [November 8, 2013, 1:23am UTC](https://forums.plex.tv/t/network-status-page/45853/5 "2013-11-08T01:23:03Z")

</div>

I used to have a 2009 mini as well. The performance increase when going to a 2012 Mac mini was massive. I think you’ll be quite pleased with the results. Are you going to pick one up soon or wait? It seems like we won’t see a new Mac mini until next year sometime.

---

<div class="post-metadata">

**Author:** ![Ryan\_C](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ryan_c/32/96053_2.png) [@Ryan\_C](https://forums.plex.tv/u/Ryan_C)\
**Post date:** [November 11, 2013, 4:16am UTC](https://forums.plex.tv/t/network-status-page/45853/6 "2013-11-11T04:16:58Z")

</div>

**Network Status Page - Update 0.1.1**

&nbsp;

Download and documentation&nbsp;[here](https://github.com/d4rk22/Network-Status-Page "External link").

&nbsp;

**New:**

- Hovering over hard drives now shows the amount of free / total space instead of used / total space (this is closer to how OS X 10.7+ reports space in About this Mac -\> More info -\> Storage)

- Added option in config.ini to set number of CPU cores so load calculates correctly out of the box.

- printDiskBar() now automatically uses GB or TB display when appropriate.

- Added new autoByteFormat()

- Rewrote how the myPlex token is retrieved and stored for speed.&nbsp;

&nbsp;

**Fixes:**

- Renamed Disk Space to Storage&nbsp;

- Removed unused functions after rewriting printDiskBar().

- Disabled Memory display. I left the function in the code but OS X uses memory uniquely compared to other OS’s rendering the display of used ram essentially pointless.

- Summaries are now being truncated on both movies and tv episodes if they need to be instead of just on movies.

- Renamed misc folder to caches

- Added more commenting to help out people not familiar with php

- Found more places where config.ini variables weren’t being used

- Fixed up SABthrottle.php a bit

- Removed unused files

&nbsp;

---

<div class="post-metadata">

**Author:** ![Ryan\_C](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ryan_c/32/96053_2.png) [@Ryan\_C](https://forums.plex.tv/u/Ryan_C)\
**Post date:** [November 16, 2013, 11:09pm UTC](https://forums.plex.tv/t/network-status-page/45853/7 "2013-11-16T23:09:44Z")

</div>

I just caught a glaring bug in the new plex token caching and pushed it to github. If you were running 0.1.1 grab the latest functions.php or check the commit to see it.

---

<div class="post-metadata">

**Author:** ![dcpdad](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dcpdad/32/3116_2.png) [@dcpdad](https://forums.plex.tv/u/dcpdad)\
**Post date:** [November 17, 2013, 6:11pm UTC](https://forums.plex.tv/t/network-status-page/45853/8 "2013-11-17T18:11:11Z")

</div>

This looks **VERY** cool!

I will take a look at installing it. Any ideas of how to get it up and running on a Linux (Mint 15) machine? I think I have all the pre-req's already installed.

Thx!

---

<div class="post-metadata">

**Author:** ![Ryan\_C](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ryan_c/32/96053_2.png) [@Ryan\_C](https://forums.plex.tv/u/Ryan_C)\
**Post date:** [November 17, 2013, 6:17pm UTC](https://forums.plex.tv/t/network-status-page/45853/9 "2013-11-17T18:17:30Z")

</div>

> This looks **VERY** cool!  
> &nbsp;  
> I will take a look at installing it. Any ideas of how to get it up and running on a Linux (Mint 15) machine? I think I have all the pre-req's already installed.  
> &nbsp;  
> Thx!

&nbsp;  
There is a linux optimized version that&nbsp;[member='dashbad']&nbsp;created located [here](https://github.com/dashbad/plex-server-status/tree/linux). He's pretty good about integrating any improvements from my builds.

---

<div class="post-metadata">

**Author:** ![Mirabis](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/mirabis/32/8526_2.png) [@Mirabis](https://forums.plex.tv/u/Mirabis)\
**Post date:** [December 5, 2013, 9:20pm UTC](https://forums.plex.tv/t/network-status-page/45853/10 "2013-12-05T21:20:58Z")

</div>

This looks brilliant, will try and get it to work on windows server'12 !

---

<div class="post-metadata">

**Author:** ![kenm1chaud](https://avatars.discourse-cdn.com/v4/letter/k/d26b3c/32.png) [@kenm1chaud](https://forums.plex.tv/u/kenm1chaud)\
**Post date:** [December 16, 2013, 12:10am UTC](https://forums.plex.tv/t/network-status-page/45853/11 "2013-12-16T00:10:47Z")

</div>

> This looks brilliant, will try and get it to work on windows server'12 !

Any luck getting it working on Windows? I'm mostly a Windows guy and plan on trying to adapt this.

---

<div class="post-metadata">

**Author:** ![kenm1chaud](https://avatars.discourse-cdn.com/v4/letter/k/d26b3c/32.png) [@kenm1chaud](https://forums.plex.tv/u/kenm1chaud)\
**Post date:** [December 16, 2013, 2:50am UTC](https://forums.plex.tv/t/network-status-page/45853/12 "2013-12-16T02:50:37Z")

</div>

I ended up installing this on my linux box. I have 3 servers on my network that stream Plex, plus 2 NAS boxes (Synology DS413j + FreeNAS). Has anyone set this up to monitor resources on other servers?

---

<div class="post-metadata">

**Author:** ![AntiTrust](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/antitrust/32/299170_2.png) [@AntiTrust](https://forums.plex.tv/u/AntiTrust)\
**Post date:** [December 22, 2013, 10:38pm UTC](https://forums.plex.tv/t/network-status-page/45853/13 "2013-12-22T22:38:19Z")

</div>

Would love to get this up and running on my WS2012 setup. I can tinker a bit with code, but not this much. Got the site up and running with XAMPP, but it displays near nothing, just same frames and logos.

---

<div class="post-metadata">

**Author:** ![Mirabis](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/mirabis/32/8526_2.png) [@Mirabis](https://forums.plex.tv/u/Mirabis)\
**Post date:** [December 29, 2013, 8:27pm UTC](https://forums.plex.tv/t/network-status-page/45853/14 "2013-12-29T20:27:24Z")

</div>

I'd be willing to donate/pay if u/someone could fork this for Windows :)  
  
Can't wait to get it to work on Windows Server 2012 xD

---

<div class="post-metadata">

**Author:** ![secretdk](https://avatars.discourse-cdn.com/v4/letter/s/e79b87/32.png) [@secretdk](https://forums.plex.tv/u/secretdk)\
**Post date:** [January 4, 2014, 1:06am UTC](https://forums.plex.tv/t/network-status-page/45853/15 "2014-01-04T01:06:35Z")

</div>

> I'd be willing to donate/pay if u/someone could fork this for Windows :)  
> Can't wait to get it to work on Windows Server 2012 xD

  
Likewise. Been dieing to get this working with IIS.

---

<div class="post-metadata">

**Author:** ![SkuiD87](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/skuid87/32/201343_2.png) [@SkuiD87](https://forums.plex.tv/u/SkuiD87)\
**Post date:** [January 7, 2014, 9:33am UTC](https://forums.plex.tv/t/network-status-page/45853/16 "2014-01-07T09:33:47Z")

</div>

This looks very, very cool.

I've managed to install but I'm having trouble getting things to work.

I've looked at the config file and tried filling in details where appropriate (plex server ip, etc)

Can somebody help with a friendly step by step guide on how to get this configured?

Also, I'd like to monitor bandwidth but I have no idea how to use pfSense. Is this router specific? Will it work with an Apple Time Capsule/Airport device?

Thanks in advance for help.

---

<div class="post-metadata">

**Author:** ![ekadosh](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ekadosh/32/5018_2.png) [@ekadosh](https://forums.plex.tv/u/ekadosh)\
**Post date:** [January 7, 2014, 7:11pm UTC](https://forums.plex.tv/t/network-status-page/45853/17 "2014-01-07T19:11:11Z")

</div>

> This looks very, very cool.
> 
> I've managed to install but I'm having trouble getting things to work.
> 
> I've looked at the config file and tried filling in details where appropriate (plex server ip, etc)
> 
> Can somebody help with a friendly step by step guide on how to get this configured?
> 
> Also, I'd like to monitor bandwidth but I have no idea how to use pfSense. Is this router specific? Will it work with an Apple Time Capsule/Airport device?
> 
> Thanks in advance for help.

Are you running your plex on a mac or linux?&nbsp;

I've modified the bandwidth monitor to work with ifstat (which uses local monitoring vs router monitoring), but thats for my Linux setup.

What part have you gotten to work already? Do you see any information or nothing? I'll do my best to walk you through the config.

If your using the default code (from ryanc) theres a few more things that need to be modified aside from the config file. You also need to change some settings in assets/php/functions.php. The hard drives volumes listed there are all his, so you'll need to modify that to reflect your current setup.

---

<div class="post-metadata">

**Author:** ![SkuiD87](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/skuid87/32/201343_2.png) [@SkuiD87](https://forums.plex.tv/u/SkuiD87)\
**Post date:** [January 8, 2014, 3:07pm UTC](https://forums.plex.tv/t/network-status-page/45853/18 "2014-01-08T15:07:13Z")

</div>

> Are you running your plex on a mac or linux?&nbsp;
> 
> I've modified the bandwidth monitor to work with ifstat (which uses local monitoring vs router monitoring), but thats for my Linux setup.
> 
> What part have you gotten to work already? Do you see any information or nothing? I'll do my best to walk you through the config.
> 
> If your using the default code (from ryanc) theres a few more things that need to be modified aside from the config file. You also need to change some settings in assets/php/functions.php. The hard drives volumes listed there are all his, so you'll need to modify that to reflect your current setup.

Ah that makes sense. I was wondering why none of my drives were showing up.

I'm running on my Mac (OSX 10.9) which is where my PMS is hosted too. I'm running the site locally using XAMPP.

Would I be able to use local monitoring too? Here's a screenshot of what I see at the moment:

![ScreenShot2014-01-08at150426_zps4d61be81](http://i12.photobucket.com/albums/a248/SkuiD87/Plex/ScreenShot2014-01-08at150426_zps4d61be81.png)

Looking forward to your reply. Thanks for you help!!

---

<div class="post-metadata">

**Author:** ![SkuiD87](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/skuid87/32/201343_2.png) [@SkuiD87](https://forums.plex.tv/u/SkuiD87)\
**Post date:** [January 8, 2014, 3:34pm UTC](https://forums.plex.tv/t/network-status-page/45853/19 "2014-01-08T15:34:41Z")

</div>

OK, I've updated the 'functions.php' file and amended the drives to reflect my own setup.

```
function makeTotalDiskSpace()
{
	$du = getDiskspaceUsed("/") + getDiskspaceUsed("/Volumes/My Book") + getDiskspaceUsed("/Volumes/My Book 3TB");
	$dts = disk_total_space("/") + disk_total_space("/Volumes/My Book") + getDiskspaceUsed("/Volumes/My Book 3TB");
	$dfree = $dts - $du;
	printDiskBar(sprintf('%.0f',($du / $dts) * 100), "Total Capacity", $dfree, $dts);
}
```

and

```
function makeDiskBars()
{
	// For special drives like my Drobos I have to set the total disk space manually.
	// That is why you see the total space in bytes.
	printDiskBar(getDiskspace("/"), "Macintosh HD", disk_free_space("/"), disk_total_space("/"));
	printDiskBar(getDiskspace("/Volumes/My Book"), "My Book", disk_free_space("/Volumes/My Book"), disk_total_space("/Volumes/My Book"));
	printDiskBar(getDiskspace("/Volumes/My Book 3TB"), "My Book 3TB", disk_free_space("/Volumes/My Book 3TB"), disk_total_space("/Volumes/My Book 3TB"));
}
```

That seems to have done the trick for disk storage.&nbsp;

 ![ScreenShot2014-01-08at153307_zpse5689bee](http://i12.photobucket.com/albums/a248/SkuiD87/Plex/ScreenShot2014-01-08at153307_zpse5689bee.png)

---

<div class="post-metadata">

**Author:** ![ekadosh](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ekadosh/32/5018_2.png) [@ekadosh](https://forums.plex.tv/u/ekadosh)\
**Post date:** [January 8, 2014, 4:19pm UTC](https://forums.plex.tv/t/network-status-page/45853/20 "2014-01-08T16:19:21Z")

</div>

Awesome- glad that part is working. You can comment out any services your not using in assets/php/services\_ajax.php so you're not seeing offline on the bottom left column.&nbsp;

Did you set the config.ini file location in functions.php?

You can edit&nbsp;left\_column\_top\_ajax.php to change the links on the top left column.

[Next page](https://forums.plex.tv/t/network-status-page/45853.md?page=2)
