PHP Classes

File: config/config_user_default.php

Recommend this page to a friend!
  Classes of Axel Hahn  >  Pimped Apache Status  >  config/config_user_default.php  >  Download  
File: config/config_user_default.php
Role: Configuration script
Content type: text/plain
Description: Example script
Class: Pimped Apache Status
Display the requests handled by an Apache server
Author: By
Last change:
Date: 4 years ago
Size: 1,974 bytes
 

Contents

Class file image Download
<?php

/*
 * PIMPED APACHE SERVER-STATUS
 *
 * TEMPLATE FOR USER CONFIG FILE
 *
 * !!! COPY THIS FILE TO "config_user.php" to make your setup !!!
 * set values in config_default.php to override default settings
 *
 * http://www.axel-hahn.de/docs/apachestatus/custom.htm
 */

$aServergroups = array(

   
'my default environment' => array(
       
'servers' => array(
           
'localhost' => array(
               
'label' => 'localhost',
            ),
        ),
    ),
   
'my clustered web 1' => array(
       
'servers' => array(
           
'server1' => array(),
           
'server2' => array(),
           
'server3' => array(),
        ),
    ),
   
'my clustered web 2' => array(
       
'servers' => array(
           
'serverA' => array(),
           
'serverB' => array(),
           
'serverC' => array(),
           
'serverD' => array(),
        ),
    ),
 
   
/*
    // advanced example for a loadbalanced web
    // default server-status is
    // http://[servername]/server-status
    // - use "status-url" to fetch apache server status from another url or port
    // - use "userpwd" for password a protected status url
    'my clustered web 1' => array(
        'servers' => array(
            'webserver-01' => array(
                'label' => 's01',
                'status-url' => 'http://s01:8888/server-status',
                'userpwd' => 'username:password',
            ),
            'webserver-02' => array(
                'label' => 's02',
                'status-url' => 'http://s02:8888/server-status',
                'userpwd' => 'username:password',
            ),
        ),
    ),
     */
 
);



$aUserCfg = array(
   
'lang' => 'en', // one of de|en
    // 'tdbars' => array('Count'), // column names where to add a column with a bar

    /*
    'skin' => 'default', // where to search style.css and defaultTemplate
    'showHint' => false,
    'hideRows' => array("Srv", "Acc", "Req", "Conn", "Child", "Slot"),
     */
);


For more information send a message to info at phpclasses dot org.