Web Hosting Talk







View Full Version : Looking for Someone to write php/mysql Server Status Script


Sean
06-02-2002, 09:10 PM
Hi Everyone,

I am looking for somone experienced in PHP/MySQL to write me a server status script. This script would be installed on an off-network server, other than my hosting ones.

They would need to:
- check different services
- output it on a page
- test multiple servers

I would like something that would run on the server, such as a script that is in a non-http folder, that runs as a cron job, then outputs it. The reason being - I do not want the code that checks the ports on the site that the client can view, since it could flood the server. Understand what I mean?

I would be paying by paypal or by hosting, whichever you need.

Please contact me via PM, or email.

Thanks
Sean

zaw
06-02-2002, 10:27 PM
For a free one check http://www.evilwalrus.com/viewcode.php?codeEx=500

TimPD
06-03-2002, 02:11 AM
I'm still trying to figure out how to do it for more then one server on here. The script that http://mchost.com/status/ uses would be nice to.

#fdd700
06-03-2002, 02:45 AM
Originally posted by TimPD
I'm still trying to figure out how to do it for more then one server on here. The script that http://mchost.com/status/ uses would be nice to.

??????????????????????
Use this script and loop through all your servers. What can be easier?

TimPD
06-03-2002, 04:07 AM
Yes, I tried it displays an error with the variables.

#fdd700
06-03-2002, 05:32 AM
OK I'll write it for you by tomorrow if now one will make it before. I'm very busy now.

#fdd700
06-03-2002, 08:03 PM
TimPD,

Here it is
running:
http://www.findpal.com/download/serverstatus.php
for download:
http://www.findpal.com/download/serverstatus.php.html

You owe me a buck ;)

Sean
06-03-2002, 09:04 PM
Is there any way you could make it output to another file, so I could run it with a cron job, and have it outputted to a html file

Sean

#fdd700
06-03-2002, 09:08 PM
Originally posted by Sean
Is there any way you could make it output to another file, so I could run it with a cron job, and have it outputted to a html file

Sean
Yes
5 minutes scripting.
10 minutes debug.

igy
06-04-2002, 02:10 PM
go to http://scripts.tlcwe.com and get http://scripts.tlcwe.com/downloads/netstatus_v2.0.zip

i think its the one mchost us

=)

I just did a search on this forum and found this. And had a demo that looked just like mchost.. so i assume its the same.

Have a great day.

HostingDirect
06-04-2002, 05:32 PM
I am pretty sure the one MCHost uses is the one from http://scripts.tlcwe.com. They just removed the server load portion of the display.

I actually use it for monitoring my servers and it works great. The hardest part of the install is setting up the cron job :)

Marty
06-04-2002, 09:11 PM
Originally posted by TimPD
I'm still trying to figure out how to do it for more then one server on here. The script that http://mchost.com/status/ uses would be nice to.

Yep, that is mine!

igy
06-05-2002, 12:43 AM
amazing script Marty... only thing i can't seem to get working is the cron job =)

HostingDirect
06-05-2002, 06:57 AM
Igy,
Just do a crontab -e and enter the following:

*/5 * * * * curl http://yourdomain.com/netstatus/cron_script/cron_script.php

That should make it run every 5 mins!

Marty
06-05-2002, 07:38 AM
Originally posted by HostingDirect
Igy,
Just do a crontab -e and enter the following:

*/5 * * * * curl http://yourdomain.com/netstatus/cron_script/cron_script.php

That should make it run every 5 mins!

That will work if you have curl on your system. If you have lynx, you can do:

*/5 * * * * lynx -dump http://yourdomain.com/netstatus/cron_script/cron_script.php

manic_smiler
06-13-2002, 05:39 PM
sorry to dig up this old(ish) thread but i'm also after someone to make me a server status script. i tried the one at http://scripts.tlcwe.com/ but it did'bt quite suit my needs.

i will pay someone to make me one that does suit my needs. please pm me if interested. thanks