Server status coding...

Associate
Joined
6 Jan 2008
Posts
316
Hi there,
I'm trying to create a server status page on my webpage (joomla based).
But I'm having issues finding working coding to show my server status.

Basically, the device I'm trying to get the status for is a router. So I'm thinking a basic ping command would be fine? Or even maybe a ping on a particular port?

I've been googling for awhile now, and come across all kinds of php code but none of them seem to work.

The one thing that did work was the following extension - but I'd rather use coding on the main page over an extension.
http://extensions.joomla.org/extensions/hosting-a-servers/servers/11977
 
The one thing that did work was the following extension - but I'd rather use coding on the main page over an extension.
http://extensions.joomla.org/extensions/hosting-a-servers/servers/11977

Look at how the extension was doing it ?

Edit: And just as a thought, you don't really want the check to be done on the main page as it will stall the display - ideally you could have a tiny bit of Javascript doing an Ajax HEAD request to a web server on the router, if it has one.
 
Hi thanks for your reply. You are correct it does stale the page.
The router doesnt have any kind of web server on it, so the only think let is a ping request, or a temp telnet/FTP connection?
 
Back
Top Bottom