Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Status page scripts
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.

Status page scripts

drmikedrmike Member
edited September 2011 in Help

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?

«13

Comments

  • yomeroyomero Member
    edited September 2011

    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

    Thanked by 2TigersWay Steve81
  • Does Status2k offer free version?

  • I use http://linfo.sourceforge.net/ , kind of incomplete but lightweight.

    Thanked by 1Ixape
  • 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).

  • MrAndroidMrAndroid Member
    edited September 2011

    http://www.landofdaniel.com/?p=status

    Pretty simply use fsockopen on either port 80, 21 or 22

  • KuJoeKuJoe Member, Host Rep

    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

  • InfinityInfinity Member, Host Rep
    edited September 2011

    Daniel said: Pretty simply use fsockopen on either port 80, 21 or 22

    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

  • Infinity said: 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.

    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,

  • InfinityInfinity Member, Host Rep

    Daniel said: 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

  • yomeroyomero Member
    edited September 2011

    @Infinity So, I can't see anything but a login screen

    @herbyscrub Your scripts are cool!!! Can you share them? :P (LOL at 123suck)

  • InfinityInfinity Member, Host Rep

    yomero said: @Infinity So, I can't see anything but a login screen

    Huh? Oh, lemme make that public..

  • Infinity said: Made a few years ago and never completed: http://cdn.infinitymedia.org.uk/servers.php

    That page requires a user & pass

  • InfinityInfinity Member, Host Rep
    edited September 2011

    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 ;)

  • InfinityInfinity Member, Host Rep

    sleddog said: There's always an abuser lurking out there. Don't build a publicly-accessible monitoring system than might bring your server down through abuse.

    Thats exactly what I did, except I haven't finished coding mine :P

  • dmmcintyre3dmmcintyre3 Member
    edited September 2011

    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 :D

  • InfinityInfinity Member, Host Rep

    yomero said: @Infinity I like the background of your site :P blue to white :D

    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 :)

  • sleddog said: 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 ;)

    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!

  • yomero said: http://goo.gl/VTuNl the good status.html

    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'.

  • yomeroyomero Member
    edited September 2011

    sleddog said: 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

  • yomero said: Yep, I noticed that too. Probably kiloserve wanted to hide it? :P

    Then I'd suggest commenting it out in the output :)

  • kiloservekiloserve Member
    edited September 2011

    yomero said: Yep, I noticed that too. Probably kiloserve wanted to hide it? :P

    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.

    sleddog said: No transfer data though. Is the IFACE var set correctly? The default value is 'venet0' (for OpenVZ). For Xen you probably need 'eth0'.

    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.

Sign In or Register to comment.