Howdy, Stranger!

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


Public Status Script
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.

Public Status Script

PacketVMPacketVM Member, Host Rep
edited December 2012 in General

Hello,

I am looking for a status script to display the uptime of different servers, that users can access too.
Like this: https://getkvm.com/service-status/ (Hope you don't mind me sharing @GetKVM_Ash!)

Any recommendations?

Thanks!

«1345

Comments

  • I am looking for something like that also

  • @DominicL looks like that page may be getting graphs from elsewhere :)

  • @dominicl

    Nah i dont mind, only coded that up yesterday, took a while but im happy with it. Going to be adding more graphs to it for CPU and RAM as well.

  • Well if you'd like I can give you a copy of the code for: http://uptime.bluevm.com

  • @eastonch said: @DominicL looks like that page may be getting graphs from elsewhere :)

    Sure is, its basically a customer front end for our own internal monitoring. That was one of the hardest parts, securing it and making sure people cant get to our actual monitoring system, since we don't want the public to have access to everything.

  • HalfEatenPieHalfEatenPie Veteran
    edited December 2012
    1. Its using munin (certain munin graphs can be made public and can be used publicly for that purpose)
    2. I don't know how Ash did it but more than likely its just using a munin back-end, which should be easy for you to code it yourself using the munin docs.
  • t0p3at0p3a Member
    edited December 2012

    @SimpleNode

    Do you share the script for that? I really like it.

  • I love @PhilND's version of there status monitor, http://status.nodedeploy.com (They have back end graphs to see load and bandwidth throughout the day as well)

    Would also love something like this

  • This is pretty, but it gave me this after a refresh:

    Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /var/www/snode/public_html/monitor/index.php:25 Stack trace: #0 /var/www/snode/public_html/monitor/index.php(25): SimpleXMLElement->__construct('') #1 {main} thrown in /var/www/snode/public_html/monitor/index.php on line 25

  • PacketVMPacketVM Member, Host Rep
    edited December 2012

    @BlueVM said: Well if you'd like I can give you a copy of the code for: http://uptime.bluevm.com

    That would be great if you could, thanks!

    Who's script is that?

    @StormVZ said: I love @PhilND's version of there status monitor, http://status.nodedeploy.com (They have back end graphs to see load and bandwidth throughout the day as well)

    Yeah - love that one too!

    @herbyscrub said: This is pretty, but it gave me this after a refresh:

    Did for me too, but seems fine now.

    Thanks guys.

  • kbeeziekbeezie Member
    edited December 2012

    I thought WHMCS had this kind of thing built in? (least it did when I was using it with Directadmin nodes)

  • t0p3at0p3a Member
    edited December 2012

    I got it also

    Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /var/www/snode/public_html/monitor/index.php:25 Stack trace: #0 /var/www/snode/public_html/monitor/index.php(25): SimpleXMLElement->__construct('') #1 {main} thrown in /var/www/snode/public_html/monitor/index.php on line 25

  • PacketVMPacketVM Member, Host Rep

    @kbeezie said: I thought WHMCS had this kind of thing built in?

    It does - but I hate it.

  • @kbeezie said: I thought WHMCS had this kind of thing built in?

    I personally really dislike WHMCS's built-in function. It requires a web server (either apache or nginx) and php running on the server for it to work.

  • kbeeziekbeezie Member
    edited December 2012

    @dominicl said: It does - but I hate it.

    Fair enough. :P

    @HalfEatenPie said: I personally really dislike WHMCS's built-in function. It requires a web server (either apache or nginx) and php running on the server for it to work.

    ? What would you be hosting the dynamic status script on if not PHP? (though personally I was thinking of a cron job to 'sed' out static page).

  • Ash_HawkridgeAsh_Hawkridge Member
    edited December 2012

    @kbeezie said: I thought WHMCS had this kind of thing built in?

    Need a public facing webserver with PHP on each VPS node though (If this is for a VPS server) to serve the file.

    EDIT: The pie beat me to it :(

  • @GetKVM_Ash said: Need a public facing webserver with PHP on each VPS node though (If this is for a VPS server) to serve the file.

    Ooooh you mean the status page that it calls and checks. Missed that.

  • @kbeezie said: Ooooh you mean the status page that it calls and checks. Missed that.

    :P

  • RobertClarkeRobertClarke Member, Host Rep

    Simple and clean, I like it.

  • @RobertJFClarke said: Simple and clean, I like it.

    which one are you talking about.

  • RobertClarkeRobertClarke Member, Host Rep

    @HalfEatenPie The one that @simplenode posted.

  • kbeeziekbeezie Member
    edited December 2012

    @SimpleNode said: https://simpleno.de/monitor

    Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /var/www/snode/public_html/monitor/index.php:25 Stack trace: #0 /var/www/snode/public_html/monitor/index.php(25): SimpleXMLElement->__construct('') #1 {main} thrown in /var/www/snode/public_html/monitor/index.php on line 25

    awwwwwwwwww, I wanted to check it out (ps:... turn off display_errors)

  • JacobJacob Member
    edited December 2012

    Who needs graphs... http://easestatus.com (not my creation, i would like to customise it more but the coding style is so awkward and messy... One day i will redo it all).

  • @Jacob said: Who needs graphs... http://easestatus.com (not my creation, i wod like to customise it more but the coding style is so awkward and messy... One day i will redo it all).

    Statusmon? i used it a few years back and found it to be unreliable with uptime history reporting. Does it work well for you?

  • @GetKVM_Ash The internal archiving is in-accurate, very.. But there is a way around this. You can use alertra which is only like $10/pcm.

  • @BlueVM said: Well if you'd like I can give you a copy of the code for: http://uptime.bluevm.com

    i would like to have it, if there is no problem. =)

  • @dedicados @dominicl - At the moment our system uses php on each of the remote nodes, but I'm 99% confident I can modify it to use a key via SSH to connect to each of the nodes instead. Let me know...

  • I just seen BlueVM uptime script that looks quite nice.

  • @t0p3a - Thank you, it can be modified to pull just about anything from the servers (IE RAM, Load, Disk Usage, etc...)

Sign In or Register to comment.