[developing] server uptime script

10/27/2011 02:22 PowerChaos#1
hi all
lets make a topic for this so i can stay in this topic

i am making a status monitoring script that shows the status of the server

i am wondering if some1 got a few idea's to add

at this moment this is what the script shows
  • mysql/autopatch status (online/offline)
  • date it is added
  • comment
  • website link/name
this is what the script can do already
  • let you remove your server after email/game/code verification
  • resend you the code in case you lost it (fill in email/game only )
  • add your server after a few verifications
  • send a delete code to your email and a conformation (maybe need to add a confirm link in it ? )

so at this moment i was wondering if there are other things that should be added or just leave it like it is now ??

if other idea's need to be added , then it would be nice to provide some code snippets to (so i can easy add it )

as soon the script feels like it is complete then i will make it public and maybe i release it so other users can use it (not sure about that)

Thank you
Greetings From PowerChaos

the site is live now

[Only registered and activated users can see links. Click Here To Register...]
there you can add your server to the checklist and every time you refresh the page then the sites that are added will be checked

if you need something to be added , let me know and i going try to add it

Greetings From PowerChaos
10/27/2011 05:11 Thorlon#2
Your website is a great idea for those who want to check if a server is offline or not, i will defiantly be using this!!!

Thanks :)
10/27/2011 10:23 WolvesMaster#3
thx PowerChaos for your great efforts :)
and nice idea ;)
10/27/2011 10:29 bart2712#4
Great idea, could also be an all-in-one place players can find new servers.
Ive added my server to the list btw, and put ur link on my site...also made sure i added an epvpers linkback on my site where its easily seen
10/28/2011 00:59 PowerChaos#5
Thank you ( to lazy to spamm thank button for this ^^ )

that is basicly my point , i want to show a server list that can check servers in real time status so other players know what server is online

the date that is added is to show when it is added to the list ( is it a old or a new server ?)

at this moment i just like to have idea's that i need to add
what you like to see extra in it ?
what you like to have removed/changed from it

how mutch can you help with your idea ?

Greetings From PowerChaos

Merged

hi all
at this moment i added the ability to include a iframe on your website

just click on the green or red icons (the status) you see and you get a server code
use that server code and it will only show your server status

it can be used on your website ( iframe ) to show online status even if your server is not online

i love to give a example , but it is not possible to show iframe on this forum :P

enjoy

Greetings From PowerChaos
11/11/2011 18:56 Eurion#6
Good job on this script Power, but a few points I wanted to make, and/or ask about.


1st: How does this script check if the server is online/offline? Does it use like a ping to the ip?

2nd: Remember iframes can be targeted and exploited. You can read more on it in the following topic [Only registered and activated users can see links. Click Here To Register...]
11/11/2011 19:34 PowerChaos#7
the script itself use a fsockopen command to check the certain port and if it get a response then it give a redirected header to show the image (dead or alive)
Code:
@fsockopen
then for the iframe , the script just take some mysql data and return that certain value
the exploads for iframe wont harm my server as there is not realy information taken from it

certain cehcks are included in the script ( its php ) to prevent wrong data execution
and my firewall blocks the other attacks that can happens (like port scanning )

Greetings From PowerChaos


Merged
------
Update ( 16/11/2011)
i going script the script a bit differend so you should see the latest sucesfully uptime

on that way you can see how long the server is already down

then i will make it that servers taht are down longer then 1 moth will be removed from the list ( so make sure your server doesnt stay offline for 30 days :P )

then as last i going add a serperated page for the live code , so you can check your server at realtime from your site , but that it is easyer to find and just contains the info you need

Greetings From PowerChaos