Psdash: A linux system information web dashboard using Psutils and Flask
github.com
github.com
My sysadmin brain is always looking to reduce the dependencies and the attack surface. Ideally I want less services running on less ports. Less software to install, maintain and secure. As a result I stick to ssh and shell most of the time. Generally any admin tool that has big library dependencies (eg anything python, node.js or ruby) is on my shit list. I am a bit more sympathetic to Go because of the single static exe but otherwise I prefer plain old shell.
I understand historical graphs are nice to look at and time series data is one of the areas where web tools are a win. Though I am probably more likely to look at alerts based on triggers than watch a graph in real time. I don't understand what advantage tables of process stats in html offers over the same in the cli.
And in the end; all devs aren't devops so it's easier to have it web-based.
Who knows, with time, maybe this tool can be extended to be useful for your purposes as well.
Do you mean that you did that without actually passing /etc/passwd to as a --log arg to psdash? If so it's definitely a bug. The intent is to only allow viewing logs that was explicitly passed to psdash.
And as mhurron said; it shouldn't really be public anyway.
getent passwd
Reading /etc/shadow is a real problem, /etc/passwd is really not a huge issue.
Do these things have a harder time pulling such figures off of VPSs?
I could add an option that disables the auto-updating. The only thing that's currently polled by a background thread is some network information from /proc/net/dev.