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

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++){
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?

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?

2 years ago
  • Has been a member for 2-3 years
  • Bought between 10 and 49 items
intensecool says

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

1 year ago
Author
Sitebase Sitebase replied

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

1 year ago
  • Has been a member for 1-2 years
  • Bought between 10 and 49 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!

1 year 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.

1 year ago
  • Has been a member for 1-2 years
  • Bought between 10 and 49 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?

1 year 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
1 year 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

1 year ago
Author
Sitebase Sitebase replied

Thanks for letting me know!

1 year ago
  • Has been a member for 1-2 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.

11 months ago
Author
Sitebase Sitebase replied

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

10 months ago
Purchased
Default-user Erocanti replied

Thanks Again! :)

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

How do I hire you to modify this script?

10 months ago
Author
Sitebase Sitebase replied

Send me an email through my profile page.

10 months ago
  • Has been a member for 2-3 years
  • Won a Competition
  • Author had a File in an Envato Bundle
  • Author had a Free File of the Month
  • Beta Tester
  • Exclusive Author
  • 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!

10 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

6 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

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

@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?

6 months ago
Author
Sitebase Sitebase replied

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

5 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?

5 months ago
  • Has been a member for 2-3 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!??

4 months ago
  • Has been a member for 0-1 years
  • Bought between 10 and 49 items
  • Canada
pinoyconsole says
Purchased

I keep on getting this error code, already send you PM on your profile page

Warning: Invalid argument supplied for foreach() in /bosoraaraweb025/b2sr73/user/public_html/index.php on line 37 any help is highly appreciated.

3 months ago
  • Has been a member for 0-1 years
  • Bought between 10 and 49 items
  • Canada
pinoyconsole says
Purchased

I can’t believe that the author of this script is in the “elite list” he don’t even care to answer the buyer question. I even sent question in the profile page but still no response, just ignoring my question. Anyway as you can see many question above with no answer. Good thing I only purchased this $3 script and surely I will not bother to buy any script from this seller again.

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

Hello, I just change the email but I get no warning for servers off. Any idea ? Thx

5 days ago
by
by
by
by
by