News for hackers. Stuff that matters.
Re:Django System Monitor by mhurron on Tuesday May 28, 2013 @10:33AM (#5780260)
Can I ask why? The information presented is really very basic. There are more in depth tools to get, and record, this information.

Personally, I would rather get system information from outside the running webapp.

Re:Django System Monitor by JosephRedfern on Tuesday May 28, 2013 @11:22AM (#5780536)
It's an easy way to keep an eye on things.

Site a little sluggish? This provides a way of quickly checking to see if it's anything obvious.

Re:Django System Monitor by jonknee on Tuesday May 28, 2013 @10:22AM (#5780194)
A related project that I find very useful is django-memcache-status:

https://github.com/bartTC/django-memcache-status

Update: though of course these both use the same hack to work (overriding admin.site.index_template) so they won't work at the same time.

Re:Django System Monitor by clubhi on Tuesday May 28, 2013 @10:49AM (#5780351)
Just incase anyone is wondering, psutil is the real magic behind these kind of projects. Those guys did a heroic job on making that app.
Re:Django System Monitor by kmfrk on Tuesday May 28, 2013 @10:29AM (#5780241)
I'd love to see this work with django-admin-bootstrapped: https://github.com/riccardo-forina/django-admin-bootstrapped.

I wonder if it'll be compatible with a future official update of the admin, though.

Re:Django System Monitor by OMBUG on Tuesday May 28, 2013 @10:22AM (#5780200)
I get NoSuchProcess exceptions whenever I try to access the admin with it enabled. I love the idea though.
Re:Django System Monitor by chrj on Tuesday May 28, 2013 @11:08AM (#5780452)
Usually you can inspect the frames of your stack trace and find out which program your are missing.
Re:Django System Monitor by mik4el on Tuesday May 28, 2013 @09:51AM (#5780006)
Nice, anyone tested?
Re:Django System Monitor by dangoldin on Tuesday May 28, 2013 @09:55AM (#5780032)
I'm also interested in what the overhead would be. I imagine it will only run the monitors when the admin page is open.
Re:Django System Monitor by sepeth on Tuesday May 28, 2013 @10:06AM (#5780099)
I think that is the case. As far as I see, it extends admin/index.html template, and calls some templatetags.
Re:Django System Monitor by vidar on Tuesday May 28, 2013 @09:56AM (#5780040)
Seems to work nicely with simple pip install.

Might be nice to be able to link processes to log files ...

Re:Django System Monitor by sepeth on Tuesday May 28, 2013 @09:54AM (#5780025)
Me here. The only thing you need to do is that adding one line to INSTALLED_APPS.
Re:Django System Monitor by fatiherikli on Tuesday May 28, 2013 @09:56AM (#5780043)
Plug and play.
Re:Django System Monitor by thromba on Tuesday May 28, 2013 @10:00AM (#5780062)
just tested it.

look super cool.

Re:Django System Monitor by vanwilder77 on Tuesday May 28, 2013 @10:49AM (#5780350)
works good! Awesome job