New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
A simple web dashboard to monitor your linux server !
I see this days many pro services, but i don't see use of paying for services like this. What you get extra from them, if you ask me, nothing that you will need for one LET or LES server, but that is what i think.
Ok this is solution that will provide you with good self hosted monitoring for free.
Comments
looks good.. except for the fact i have exec() disabled.. but.. half decent
Any good sec dude can bypass and disable exec functions in php. I don't know if they fixed that in few last php versions, but before it was possible.
i've well and truly disabled them for a reason.. i might just use this on one of my RPi's i have to see how it goes.. but on my production servers exec() and most other functions that i wouldn't normally use.., are gone completely
I have been using http://phpsysinfo.github.io/phpsysinfo/ for a long time.
Yep i saw this one in 2013 i think so. Thank you for posting. And your blog is good place to check
.
I like PhpSysInfo cause it's been update regularly
Sexy.
Cool!
Prefer simple myself
http://pastebin.com/Sya9qknN
That's a much better way of going about it. Both with regard to security and resources
Shiny. You could even put that being a password prompt or only accessible via https. Because it runs everything via bash and not PHP, there is little risk unless your server gets owned, of course.
The green hurts my eyes too bad. I can't even look at the page for too long to see the details of the product.
Also, you can stick it on a DNS or mail server without PHP. Just need a tiny httpd server to serve the static page.
Stayin' Alive... http://23.92.90.110/status.html
I wrote it as an exercise in learning bash. Didn't really set out to write a monitoring script, it just went that way
Would it be alright if I played around with it and customized it to my needs? Also: Do you recommend a lightweight httpd server specifically for serving a small page like that? I was thinking Nginx, but I use Nginx for everything.
You're welcome to do whatever you like with it.
Nginx is also my favourite. There's the nginx-light variant which saves a little memory.
fancy
Awesome script, but what could I possible be doing wrong for it not to work?
/bin/sh: /X/Y/status.sh: Permission denied
chmod it to have the execution flag, like so
chmod +x /X/Y/status.sh
would expect you to know this shovey ;-)
Did you just... wtf. I thought you once, errr.., ran shovehost?
Shovehost, I killed it.
I know how to do that I already did that no luck.
tough boy.
If you're using PHP, then I'm another vote for phpsysinfo http://phpsysinfo.github.io/phpsysinfo/ https://github.com/phpsysinfo/phpsysinfo
Nice one, I might borrow bits of this for something I am working on.
Beware a divide by 0 error in the network transfer calculations... can happen when the network counters roll over. There's an attempted fix in there that doesn't work.
Hmm.. very nice sleddog. I'm sure one could also have multiple servers rsync the home report a single webserver/webpage in some graceful way.
That's what tabs are for
Put 'em in a bookmark folder then 'Open All'.
I am also working on something for fun.
Probably a lot of people have the same ideas but who cares. Just doing it for fun and to expand my PHP knowledge.
Really early development stage:

Yep, I suck at design. Going to take a lot of time to get it looking how I want.