CodeCanyon

Server monitor

  • Has been a member for 3-4 years
  • Bought between 1 and 9 items
bowers01 says
Purchased

Hi, I get Notice: Undefined variable: pingtijd in E:\wamp\www\monitor\servermonitor.php on line 39

any ideas on this? this is using the latest copy of wamp. Regards, Nick

Posted 2 years ago
Author
Sitebase Sitebase replied

Add this line of code after line 31 in servermonitor.php

$pingtijd = 0;

So you code will look like:

$paketten=5;
$timeout=0.5;
$pingtijd = 0;
for ($i=0;$i<=$paketten;$i++){
Posted 2 years ago
  • Has been a member for 2-3 years
  • Bought between 10 and 49 items
  • United States
BrandonK says
Purchased

The /media folder is not included?

Posted 2 years ago
  • Has been a member for 2-3 years
  • Bought between 1 and 9 items
christopherhaynes says
Purchased

Is there a way to set this script to email ONLY if a website has failed?

Posted 1 year ago
  • Has been a member for 1-2 years
  • Bought between 1 and 9 items
intensecool says

Can we also modify this to check the SERVER LOAD with this script alongwith other things. Please confirm.

Posted 10 months ago
Author
Sitebase Sitebase replied

That would be a totally different script. So that’s not possible.

Posted 10 months ago
  • Has been a member for 0-1 years
  • Bought between 1 and 9 items
JmactheAttack says
Purchased

I’m trying to use this script to create a status page for my game servers. For some reason it seems to work for some and then not at all for others.

Any suggestions on how I could tweak it to work?

Here is an example of one IP/port that works: voice.angelsofthewarp.com:31113 Here is on that isn’t: kf.angelsofthewarp.com:7707 (Both should be online)

The two servers are on completely different providers so maybe one is running a firewall and the other isn’t?

Any help is greatly appreciated!

Posted 9 months ago
Author
Sitebase Sitebase replied

When I telnet to this one: kf.angelsofthewarp.com:7707 I get a connection refused. That is the reason it’s shown as offline.

Posted 9 months ago
  • Has been a member for 0-1 years
  • Bought between 1 and 9 items
JmactheAttack says
Purchased

Telnet… Correct me if I’m wrong, but doesn’t that refer to only port 23. So wait, if telnet is disabled then your script is bunk?

Posted 8 months ago
Author
Sitebase Sitebase replied

The telnet server is indeed running on port 23. But with the telnet client you can establish a socket connection to any host port. For example try

telnet google.com 80
Posted 8 months ago
  • Has been a member for 2-3 years
  • Bought between 100 and 499 items
  • United States
seanwalsh says
Purchased

I’m having an issue with the email function. It’s correctly detecting if a server is on or off line. However, if all servers are online I still get the email message that “There are problems with some of your servers/services.” If all are online I shouldn’t receive any email message.

I’ve created my own temporary work around but I thought you should know.

Great scripts by the way. Not just this one but all your stuff has really helped with a lot of my work.

Sean

Posted 8 months ago
Author
Sitebase Sitebase replied

Thanks for letting me know!

Posted 8 months ago
  • Has been a member for 0-1 years
  • Bought between 10 and 49 items
Erocanti says
Purchased

Is there any way to not have a port required?

I need to ping a ips to make sure i get a reply from the icmp packet. All the ports to the ip i need to ping are closed, so they are showing up as offline, but if I ping them from the console with no port I get a response.

Posted 7 months ago
Author
Sitebase Sitebase replied

Try to ping to port 8. This the the default ping (ICMP) port ;).

Posted 7 months ago
Purchased
Default-user Erocanti replied

Thanks Again! :)

Posted 7 months ago
  • Has been a member for 1-2 years
  • Bought between 10 and 49 items
JaredRitchey says
Purchased

How do I hire you to modify this script?

Posted 7 months ago
Author
Sitebase Sitebase replied

Send me an email through my profile page.

Posted 7 months ago
  • Has been a member for 2-3 years
  • Won a Competition
  • Author had a File in an Envato Bundle
  • Envato Staff
  • Reviewer
  • Author had a Free File of the Month
  • Exclusive Author
  • Beta Tester
  • Sold between 100 000 and 250 000 dollars
  • Elite Author
  • Bought between 10 and 49 items
  • Belgium
  • Referred between 100 and 199 users
Sitebase says
Author

New version is available now!

Posted 6 months ago
  • Has been a member for 1-2 years
  • Exclusive Author
  • Sold between 1 and 100 dollars
  • Bought between 10 and 49 items
  • United States
tackdetack says
Purchased

Great Script!!

2 Quick Questions:

1) How do I change the refresh time from 1 hour to 30 minutes?

and 2) Does the script only send out an email if there is a server that is offline?

Thanks

Posted 3 months ago
Author
Sitebase Sitebase replied

1) The refresh time is set by your cronjob so there isn’t a setting for this in the script. 2) Yes

Posted 2 months ago
  • Has been a member for 1-2 years
  • Exclusive Author
  • Sold between 1 and 100 dollars
  • Bought between 10 and 49 items
  • United States
tackdetack says
Purchased

@Sitebase,

Thanks!

Now I seem to be having trouble.

When I see the page via a browser, It works no problems. I’m trying to set up the cronjob’s but i keep getting errors:

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION, or T_FUNCTION or T_VAR or ‘}’

in servermonitor.php.php on line 18

I get that error trying to run the either simple, mailexample or servermonitor.php when running the file through SSH .

any ideas?

Posted 2 months ago
Author
Sitebase Sitebase replied

It seems like the PHP version that is used by the cronjob is an older version like PHP4 .

Posted 2 months ago
  • Has been a member for 1-2 years
  • Exclusive Author
  • Sold between 1 and 100 dollars
  • Bought between 10 and 49 items
  • United States
tackdetack says
Purchased

I thought that too, but I checked and am running PHP Version 5.2.17.

Any thoughts?

Posted 2 months ago
  • Has been a member for 1-2 years
  • Bought between 10 and 49 items
jonmalave says
Purchased

I have a game server is works on port 1626…

for some reason I can telnet to 199.167.196.183:1626, no problem!

but when i try using your script to ping my server and port, it fails!!

WHY ?

if i point your script to check port 80, it works just fine….

so why would it fail on 1626 when telnet confirms it is in fact open!??

Posted 14 days ago

You must sign in or sign up to purchase this item.

$3Regular Licence

$3

Regular Licence a website (commercial, personal, client), or intranet site project - Details

$15Extended Licence

$15

Extended Licence a website template for sale (including on ThemeForest or ActiveDen) - Details

209 Purchases 34 Comments

Buyer Rating
12345 ( 44 ratings )
Sitebase

Sitebase

  • Has been a member for 2-3 years
  • Won a Competition
  • Author had a File in an Envato Bundle
  • Envato Staff
  • Reviewer
  • Author had a Free File of the Month
  • Exclusive Author
  • Beta Tester
  • Sold between 100 000 and 250 000 dollars
  • Elite Author
  • Bought between 10 and 49 items
  • Belgium
  • Referred between 100 and 199 users
View Portfolio
Created 6 August 09
Software Version PHP 5.x
Files Included PHP
by
by
by
by
by