via php ist das zurealisieren...
google:
PHP Code:
<html xmlns="http://www.w3.org/1999/xhtml">
2: <head>
3: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
4: <title>Server Statusabfrage</title>
5: </head>
6:
7: <body>
8: <?
9: //Anfang Konfiguration der IP und Statusausgabe
10: $text="Server 1 offline";
11: $ziel="222.111.213.22";
12: //Ende Konfiguration 1
13: //Port angeben z.B. 30001 - Apache:80 FTP:21
14: $abfrage = fsockopen ("$ziel", 30001, $errno, $errstr, 5);
15: if (!$abfrage) {
16: echo $text;
17: }
18: else {
19: //Statusausgabe wenn Serverport erreichbar
20: echo "Server 1 online";
21: }
22: ?>
23: <br>
24: <?
25: //Anfang Konfiguration der IP und Statusausgabe
26: $text="Server 2 offline";
27: $ziel="222.111.213.25";
28: //Ende Konfiguration 2
29: //Port angeben z.B. 30001 - Apache:80 FTP:21
30: $abfrage = fsockopen ("$ziel", 30001, $errno, $errstr, 5);
31: if (!$abfrage) {
32: echo $text;
33: }
34: else {
35: //Statusausgabe wenn Serverport erreichbar
36: echo "Server 2 online";
37: }
38: ?>
39: </body>
40: </html>
da ist wohl alles wichtige wie fsock open drin undso