Howdy, Stranger!

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


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.

Status Script

PacketVMPacketVM Member, Host Rep
edited August 2012 in Help

Hey,

Anyone know a web based server status script? I want to have a script running on status.dominicl.me that lists whether my servers are online and responding or not.

Thanks

Comments

  • jarjar Patron Provider, Top Host, Veteran
    edited August 2012

    https://github.com/madeinnordeste/PHP-Server-Monitor-Plus

    My favorite.

    Or just use uptime robot api.

    Thanked by 2Randy TheHackBox
  • TazTaz Member
    edited August 2012

    Openstatus, nikkistatus are few to name.

  • jarjar Patron Provider, Top Host, Veteran

    @dominicl said: Is that this one? If so it looks good

    It's actually bootstrap based. It has screenshots on that github page. Thing is, it's designed for personal use. I'm not sure if there's an easy off switch for the ability to edit it, I haven't spent much time with it.

    Someone here a while back posted a PHP script they made that took advantage of Uptime Robot's API to generate a status page. As far as accuracy goes, that's probably the winner.

  • PacketVMPacketVM Member, Host Rep

    @jarland said: It's actually bootstrap based. It has screenshots on that github page. Thing is, it's designed for personal use. I'm not sure if there's an easy off switch for the ability to edit it, I haven't spent much time with it.

    Someone here a while back posted a PHP script they made that took advantage of Uptime Robot's API to generate a status page. As far as accuracy goes, that's probably the winner.

    Just seen the screenshots and I love it. Using that one :P Thanks.

  • PacketVMPacketVM Member, Host Rep

    I'm trying to update the Nginx PHP version to 5.3 using the webtatic repo. I've updated them, but nginx is still saying that I'm not running the newest version of PHP. What do I have to do to get a PHP update to work with nginx? I've never been able to get it to work..lol

  • jarjar Patron Provider, Top Host, Veteran

    Try "service nginx restart"

  • PacketVMPacketVM Member, Host Rep

    @jarland said: Try "service nginx restart"

    Yea, did that but it's still saying that php isn't up to date.

    [root@status phpmyadmin]# php -v
    PHP 5.3.15 (cli) (built: Jul 21 2012 00:32:47)
    Copyright (c) 1997-2012 The PHP Group
    Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies

  • jarjar Patron Provider, Top Host, Veteran

    Wish I spent more time with nginx.... :(

  • PacketVMPacketVM Member, Host Rep

    @jarland said: Wish I spent more time with nginx.... :(

    Lol - hmmmmmmmmmmmmmmmmmmmmm

  • @dominicl said: Yea, did that but it's still saying that php isn't up to date.

    [root@status phpmyadmin]# php -v

    PHP 5.3.15 (cli) (built: Jul 21 2012 00:32:47)

    That's because you probably didn't upgrade your cli PHP version. nginx uses php-fpm or php-cgi. Upload a php file with just <?php phpinfo() ?> in it and view it in your browser. That will tell you the version number of the PHP nginx is actually using.

    Thanked by 2jar PacketVM
  • PacketVMPacketVM Member, Host Rep
    edited August 2012

    @NickM said: php-cgi

    I believe it's using that. How would I update it though? It's not in the webtatic repo, and I need PHP 5.3.

    edit: resolved for now

  • PacketVMPacketVM Member, Host Rep

    http://status.dominicl.me/index.php

    Seems anybody can delete/add servers???

  • jarjar Patron Provider, Top Host, Veteran

    @dominicl Yeah I'm not sure if there is a config file that can disable that or what. Very little time spent with it. If nothing else I'm sure a little extra coding wouldn't be too bad. It's a great little script to build off of.

  • PacketVMPacketVM Member, Host Rep

    @jarland said: @dominicl Yeah I'm not sure if there is a config file that can disable that or what. Very little time spent with it. If nothing else I'm sure a little extra coding wouldn't be too bad. It's a great little script to build off of.

    There doesn't seem to be but I'm rubbish at coding so it will have to stay as it is :P

  • jarjar Patron Provider, Top Host, Veteran

    @dominicl said: There doesn't seem to be but I'm rubbish at coding so it will have to stay as it is :P

    If I get around to making some changes to it I'll let you know. Looking at it as a serious option for monitoring is somewhere on my to-do list. It's a long list...

    Thanked by 1PacketVM
  • PacketVMPacketVM Member, Host Rep

    Lol :P Catalyst is probably more important than some monitoring script.

    Thanked by 1jar
  • PacketVMPacketVM Member, Host Rep
    edited August 2012

    Huge thanks to whatever complete retard edited all the names / ip's of my servers :) Thanks so much.

    edit: FFS lol...thanks they did it again.
    edit2: they're not going to be doing it now ;)

  • @dominicl said: edit2: they're not going to be doing it now ;)

    Because you now passworded the entire script?

    awww...

  • PacketVMPacketVM Member, Host Rep

    @HalfEatenPie said: Because you now passworded the entire script?

    awww...

    Was you then :)

  • birdie25birdie25 Member
    edited August 2012

    Send me a msg too! @Zen

  • gsrdgrdghdgsrdgrdghd Member
    edited August 2012

    I don't think this script is supposed to be used for a public website, there is no input validation whatsoever.

    Maybe you can have nginx put up a password if there is a GET parameter

  • @Zen the version with the password you sent to @dominicl?

  • @Zen said: I implemented authorization and stuff. Its cool and public now :)

    On that site? http://status.dominicl.me/

  • @Zen said: Yes sir. Pretty basic but it works.

    Nope it doesn't. http://status.dominicl.me/

    Thanked by 1jar
  • jarjar Patron Provider, Top Host, Veteran

    Lol

Sign In or Register to comment.