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.
Status page scripts
I know in the past, I've asked folks about their status page scripts. I just wanted to start a thread with my us linking to the ones that we know of.
What reminded me about this was that over in my neck of the woods, I've had a few clients having problems with gmail today. I haven't received a new email for about 11 hours now when I'm supposed to be getting hourly server status reports. their status page is here:
http://www.google.com/appsstatus#hl=en
Anyone want to show off their scripts?
Comments
First, I want to recommend the @sleddog's scripts
vpsinfo http://www.labradordata.ca/home/13
and
http://goo.gl/VTuNl the good status.html
I use https://github.com/nikkiii/status for http://status.d3vm.net
i use http://status2k.com/
Does Status2k offer free version?
I use http://linfo.sourceforge.net/ , kind of incomplete but lightweight.
For my buyvm test vps, wrote something basic = http://status.thisfile.com/ just to be able to local/remote grab the stats for my siegebench.sh stress testing script i'm writing.
Basically siegebench.sh after each concurrency level tests grabs and outputs status script outputted page like http://status.thisfile.com/ (this page is fully cached via APC for 10s TTL while mysqlreport has 15-45min TTL intervals).
http://www.landofdaniel.com/?p=status
Pretty simply use fsockopen on either port 80, 21 or 22
I just coded my own script but I've been testing SCRD but I can't get the status page to work for the life of me.
I think maybe folks may have misunderstood. I was hoping for a discussion on your own home brew scripts. Not services that you use.
I wrote my own lightweight in C, not released it to the public yet.
Here's my poorly written status page. It sorta just halts when a VPS is down...which is often with LEBs =D
http://status.georgeloo.com/
can you make it public? looks good
I did make one however it takes ages to load as I see with your one. I managed to get in a bit of AJAX so it loads faster.
Made a few years ago and never completed: http://cdn.infinitymedia.org.uk/servers.php
Thats because, one of the servers if offline (its actually a ClubUptime VPS (no surprise)), and it gives each server a maximum of 5 seconds to respond,
Hehe, ClubUptime. I like the look of it loading via AJAX anyway http://cdn.infinitymedia.org.uk/servers.php :P
@Infinity So, I can't see anything but a login screen
@herbyscrub Your scripts are cool!!! Can you share them? :P (LOL at 123suck)
Huh? Oh, lemme make that public..
That page requires a user & pass
Yep, I just need to find my VPS's password lol. It's too long to remember so I wrote it down..
EDIT: Fixed, and removed most non-existent servers. But TBH, I'll only have two servers if I do so :. Plus I still haven't implemented the load, disk, memory etc.
A wise old Linux guru one said to me: "every monitoring system has an impact on the system being monitored."
That's why I built my publicly-accessible monitoring script to be cron-based: to minimize the impact of monitoring on the system. So nefarious users can flog away at the static HTML page at http://linux.dashed.ca/status.html with minimal impact to the system.
There's always an abuser lurking out there. Don't build a publicly-accessible monitoring system than might bring your server down through abuse.
Just 2 cents
Thats exactly what I did, except I haven't finished coding mine :P
I ran ab -c 50 -n 50000 http://status.d3vm.net/ and it only effected the VPS running the status page. My biggest complaint with it is scrd uses ~3mb RAM. My old system using thttpd used less.
@Infinity
I like the background of your site :P blue to white
Quick photoshop job, feel free to copy the whole layout if you feel. I can give you PSD's to the logo if I can find it. The layout was designed by me
same, my status page is fully cached by APC and mysqlreport runs from cron to txt file which status page reads. Before doing this, running siegebench.sh concurrency test on status page drove the cpu load up ALOT!
Thanks for the link Yomero, this literally took less than 2 minutes to install and another 5 minutes to put in a shout-out to Doug.
http://xendemo.kiloserve.com/xen.html
I like the static nature of the page.
Cool
No transfer data though. Is the IFACE var set correctly? The default value is 'venet0' (for OpenVZ). For Xen you probably need 'eth0'.
Yep, I noticed that too. Probably kiloserve wanted to hide it? :P
Then I'd suggest commenting it out in the output
You can read minds. This server holds our download test file so not sure we want to share that info publicly.
I should have just commented it out as sleddog pointed out.
No, I didn't change it. I left it off because I was hesitant to show the data. Commenting it out works cleaner lol.
Amazing view "out your window", I can see how you come up with new coding ideas just staring out the window.