05-14-2008, 01:21 PM
· #1 Account Suspended
Join Date: Sep 2007
Posts: 599
NP$: 30.00 (
Donate )
Server monitoring script
05-14-2008, 01:29 PM
· #2 www.1weblord.com
Name: William R. Nabaza - williamrnabaza.com
Location: Philippines - www.Nabaza.com
Join Date: Dec 2005
Posts: 19,383
NP$: 17501.28 (
Donate )
thanks for the info, but this will require it to be hosted on a server with very min. downtime.
05-14-2008, 01:30 PM
· #3 Account Suspended
Join Date: Sep 2007
Posts: 599
NP$: 30.00 (
Donate )
What do you mean?
05-14-2008, 01:37 PM
· #4 www.1weblord.com
Name: William R. Nabaza - williamrnabaza.com
Location: Philippines - www.Nabaza.com
Join Date: Dec 2005
Posts: 19,383
NP$: 17501.28 (
Donate )
and you can't install it on the same server it has to be remote if the server is down like all the other sites then this script won't function.
05-14-2008, 01:41 PM
· #5 Account Suspended
Join Date: Sep 2007
Posts: 599
NP$: 30.00 (
Donate )
It is more of a play around script than a "to be taken serious" script.
05-14-2008, 01:47 PM
· #6 www.1weblord.com
Name: William R. Nabaza - williamrnabaza.com
Location: Philippines - www.Nabaza.com
Join Date: Dec 2005
Posts: 19,383
NP$: 17501.28 (
Donate )
oh ok, i thought it can be used on serious purposes, thanks for the headsup.
as downtime for me is very serious matter.
Originally Posted by Dougy It is more of a play around script than a "to be taken serious" script.
05-14-2008, 01:49 PM
· #7 Account Suspended
Join Date: Sep 2007
Posts: 599
NP$: 30.00 (
Donate )
The script is easy to modify to what you need, you can set the script on a remote server and just <? include(); ?> the index.php from another server to see it.
05-14-2008, 03:59 PM
· #8 www.1weblord.com
Name: William R. Nabaza - williamrnabaza.com
Location: Philippines - www.Nabaza.com
Join Date: Dec 2005
Posts: 19,383
NP$: 17501.28 (
Donate )
informs you about availabilities of web server, mysql, ftp, ssh, mail, uptime hours and days and hard drive usage.
wishlist: can op add : Email(POP3), Email(IMAP), Webmail, Cpanel, WHM status?
05-14-2008, 05:58 PM
· #9 Account Suspended
Join Date: Sep 2007
Posts: 599
NP$: 30.00 (
Donate )
Yes, it is a very simple file edit. Edit status.php.
Code:
$somecontent .= lookup("80","Web Server","$domain");
$somecontent .= lookup("3306","MySQL Server","$domain");
$somecontent .= lookup("21","FTP Server","$domain");
$somecontent .= lookup("22","SSH Server","$domain");
$somecontent .= lookup("110","Mail Server","$domain");
Duplicate that line, $somecontent, the number in "" i sthe port number, the next field is the name, and ignore the $domain.
05-14-2008, 06:02 PM
· #10 www.1weblord.com
Name: William R. Nabaza - williamrnabaza.com
Location: Philippines - www.Nabaza.com
Join Date: Dec 2005
Posts: 19,383
NP$: 17501.28 (
Donate )
ok i've added it for you;
Code:
$somecontent .= lookup("25","Email(POP3)","$domain");
$somecontent .= lookup("143","Email(IMAP)","$domain");
$somecontent .= lookup("2095","Webmail","$domain");
$somecontent .= lookup("2082","Cpanel","$domain");
$somecontent .= lookup("2086","WHM","$domain");
did I missed anything?
05-15-2008, 05:21 AM
· #11 Account Suspended
Join Date: Sep 2007
Posts: 599
NP$: 30.00 (
Donate )
Originally Posted by weblord ok i've added it for you;
Code:
$somecontent .= lookup("25","Email(POP3)","$domain");
$somecontent .= lookup("143","Email(IMAP)","$domain");
$somecontent .= lookup("2095","Webmail","$domain");
$somecontent .= lookup("2082","Cpanel","$domain");
$somecontent .= lookup("2086","WHM","$domain");
did I missed anything?
Looks fine to me.
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off