Howdy, Stranger!

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


Server status script - Page 2
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.

Server status script

24

Comments

  • the installer just for debian?? Im on centos.. how to install it manually?? I prefer manual install..

  • JohnRoeJohnRoe Member
    edited August 2013

    @joelgm said:
    It's not a button. No hover effects, see? :p

    no hover effect just see white text color 'online'
    http://i.imgur.com/iHlhXQE.png

  • It requires JavaScript.

  • @psycholyzern said:
    the installer just for debian?? Im on centos.. how to install it manually?? I prefer manual install..

    Have a look inside the file setup.sh. it's easy to find the corresponding packages for your OS

  • @Spirit said:
    sleddog you will use proper tool to monitor your webserver then :) In last few days I saw a few "simple check if vps is online" tool requests at LET (3 or so threads) and it's great to see that we got new one.
    This tool do exactly this what some of us want to. Monitor if our boxes are online.

    You're missing concept here. That's not services monitoring tool. But server online/offline status check. Not everyone have a need to monitor webserver status on vps WITHOUT webserver.

    Not going to argue. I understand the concept of a ping monitor, and I mentioned webserver merely as an example of a TCP service. If the purpose of a particular server is to respond to ping, then ping monitoring is the perfect test tool.

  • JohnRoeJohnRoe Member
    edited August 2013

    @psycholyzern said:
    no hover effect just see white text color 'online'

    @joelgm said:

    http://i.imgur.com/J5HjA1L.png

  • @joelgm said:
    Have a look inside the file setup.sh. it's easy to find the corresponding packages for your OS

    tried on debian: http://i.imgur.com/y57g8nN.png

  • DroidzoneDroidzone Member
    edited August 2013

    I'm confused. Are you still talking about the buttons not showing up in your browser?

    @sleddog said:
    I understand the concept of a ping monitor, and I mentioned webserver merely as an example of a TCP service. If the purpose of a particular server is to respond to ping, then ping monitoring is the perfect test tool.

    This was never intended as something that would be distributed. I wanted to have a better solution of monitoring my VPSes, than sites like Uptime robot. Hence came Geekping. It's simple enough to add more monitors, as anything that can be run on bash can be logged and parsed.

  • @joelgm said:
    I'm confused. Are you still talking about the buttons not showing up in your browser?

    no.. when I installed this on debian, the page where I installed only show this http://i.imgur.com/y57g8nN.png

  • DroidzoneDroidzone Member
    edited August 2013

    @psycholyzern said:
    no.. when I installed this on debian, the page where I installed only show this http://i.imgur.com/y57g8nN.png

    That's because your .htaccess does not know that index.php is to be shown before index.html. A simple solution would be to delete index.html at that location (not recommended for security reasons). A better way would be to add .htaccess directives to enable loading index.php if it is found in the same location as index.html.

    Ref: http://blog.droidzone.in/2013/08/05/2846/

    Alternately, call up the site by referring to http://yoursite.com/index.php

    Ok, working on this now...

    Geekping Worker v1.0.1 Copyright (C) 2013-2016 Joel G Mathew. www.droidzone.in Checking current status using the configuration file: /tmp/ping.conf UGVPS atlnode2..... No status change Port: 22 [On] 443 [Off] 441 [Off] DotVPS UK3..... No status change Port: 21 [Off] 22 [On] 23 [Off] 25 [Off] 80 [On] 110 [Off] 220 [Off] 443 [Off] 993 [Off] 995 [Off] Crissic JAX2..... No status change Fliphost lakvm1..... No status change Raidlogic node12..... No status change Versatile IT node02..... No status change Frontrange Boba..... No status change Weloveservers Node15..... No status change Backupsy Dallas..... No status change UGVPS chinode6..... No status change Bandwagon Host #1..... No status change Bandwagon Host #2..... No status change

  • I added port scanning to the script. The css doesnt look too good. :P Is that enough for a service monitoring?

  • @joelgm said:
    I added port scanning to the script.

    I see two servers from your monitoring list without this feature. That's optional and it doesn't need to be used, correct?

  • @Spirit said:
    I see two servers from your monitoring list without this feature. That's optional and it doesn't need to be used, correct?

    Yes, port scans and the required ports are to be specified in the conf file. In the absence of the keyword "ports", nothing is scanned. If the keyword is present, but no ports are specified, a predetermined list of ports is scanned.

  • I would like this more if it were licensed under a CCA +commercial or may be even the ShareAlike variant please consider this @joelgm!

  • @natestamm said:
    I would like this more if it were licensed under a CCA +commercial or may be even the ShareAlike variant please consider this joelgm!

    Any of the license terms may be waived. Commercial use can be allowed as well. If someone's interested in adjustments of the license, they may contact me. I thought it best to start with a rigid framework.

  • @joelgm said: That's because your .htaccess does not know that index.php is to be shown before index.html

    I installed this on debian which I hosted one of my website.. how can it dont know what to do with index.php but my website can works with index.php??

    I just make a subdirectory to install this script

  • @psycholyzern A default installation has rules to load index.html before it loads php.

  • @joelgm said:
    psycholyzern A default installation has rules to load index.html before it loads php.

    soooo complicated.. I hope there will be manual installation tutorial on centos soon

  • netomxnetomx Moderator, Veteran

    Just edit your apache/nginx config to first get index php instead of html

  • @netomx said:
    Just edit your apache/nginx config to first get index php instead of html

    That's what I told him. Even gave him a link to a tutorial!

    @psycholyzern, that's just how Debian installs apache by default. If you were using some kind of panel previously, that would have taken care of this. It's actually too easy.

    A fresh apache installation by default is automatically configured to load index.html if it finds it in a subdirectory. If you then install php (as my script does), you have to tell apache to load index.php even if it finds both of them. Do read my blog post.

  • JohnRoeJohnRoe Member
    edited August 2013

    the problem is, I got a another php script running on the server.. and it load well with index.php.. I just create subdirectory in the folder and install the monitoring script.. I am sure that there is no index.html in the subfolder but it keep showing debian default script..

    my index.php work on http://xxx.xxx.xxx.xxx/index.php
    but in http://xxx.xxx.xxx.xxx/ping/index.php , it keep showing default debian page..

    maybe this script are toooooo complicated for newbie like me..

  • have you change the owner? like with chown www-data:www-data /ping

  • Latest version takes it on par with other tools, and a bit more.

  • @joelgm said:
    Geekping has been released.. Site
    Looking forward to constructive feedback and criticism.

    URL require iMSCP login/password. Also "Download your free copy" from your http://pinger.droidzone.in/ demo redirect us to this page.

  • @Spirit said:
    URL require iMSCP login/password. Also "Download your free copy" from your http://pinger.droidzone.in/ demo redirect us to this page.

    I didnt add this version to a tarball yet. It is much more complicated than the previous version. If you're ok with an unstable version, PM me and I'll send a link. It will probably be messy and require some command line tweaking.

    I migrated droidzone.in from Fliphost to INIZ today. I forgot to add the subdomain to my control panel. It's fixed now.

  • SpiritSpirit Member
    edited August 2013

    It's ok. I have 0.3.3 and 0.3.4a downloaded. I just wanted to notify you about "repository" page in case you forgot something.

  • @Spirit said:
    It's ok. I have 0.3.3 and 0.3.4a downloaded. I just wanted to notify you about "repository" page in case you forgot something.

    Thanks. I'll add a download link when I'm sure there arent any major bugs.

  • I've installed the script and been running it editing the files to match my configuration, but i still face the same issue :

    /root/perlscripts/pingm.pl -C /var/www/st4tus/../ping.conf

    Type of arg 1 to each must be hash (not array dereference) at /root/perlscripts/pingm.pl line 77, near "@iplist) "
    BEGIN not safe after errors--compilation aborted at /root/perlscripts/pingm.pl line 374.

    No error at install as far as I could see, all files are owned by www-data.
    Any input?

  • @Upstage said:
    I've installed the script and been running it editing the files to match my configuration, but i still face the same issue :

    /root/perlscripts/pingm.pl -C /var/www/st4tus/../ping.conf

    Type of arg 1 to each must be hash (not array dereference) at /root/perlscripts/pingm.pl line 77, near "@iplist) "
    BEGIN not safe after errors--compilation aborted at /root/perlscripts/pingm.pl line 374.

    No error at install as far as I could see, all files are owned by www-data.
    Any input?

    You probably have perl version <5.14. I'll update a patch today evening.

  • That's right :

    perl -v

    This is perl, v5.10.1
    Running on debian 6. Thanks for the forthcoming update.

Sign In or Register to comment.