Server
[ class tree: Server ] [ index: Server ] [ all elements ]

Source for file server.php

Documentation is available at server.php

  1. <?
  2. /**
  3.  * StatServer
  4.  *
  5.  * LICENSE
  6.  *
  7.  * "THE BEER-WARE LICENSE" (Revision 42):
  8.  * "Sven Strittmatter" <ausserirdisch@sven-space.de> wrote this file.
  9.  * As long as you retain this notice you can do whatever you want with
  10.  * this stuff. If we meet some day, and you think this stuff is worth it,
  11.  * you can buy me a beer in return.
  12.  *
  13.  * @category    StatServer
  14.  * @package     Server
  15.  * @copyright   Copyright (c) 2006 Sven Strittmatter
  16.  */
  17.  
  18. /**
  19.  * @see StatServer
  20.  */
  21. require_once dirname(__FILE__'/inc/StatServer.inc.php';
  22.  
  23. /*
  24.  * Define the checked services:
  25.  * services 'host' => port:
  26.  */
  27. $checked_services array(
  28.     'www.foobar.de' => 80,
  29.     'www.foobar.de'  => 22
  30. );
  31.  
  32. // construct service object
  33. $stat_server new StatServer($checked_services);
  34. // start server dispatching
  35. $stat_server->dispatch();

Documentation generated on Mon, 03 Aug 2009 21:33:18 +0200 by phpDocumentor 1.4.2