1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276
|
<?php
/**
* PSI Config File
*
* PHP version 5
*
* @category PHP
* @package PSI
* @author Michael Cramer <BigMichi1@users.sourceforge.net>
* @copyright 2009 phpSysInfo
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
* @version SVN: $Id: config.php.new 556 2012-04-01 12:02:30Z namiltd $
* @link http://phpsysinfo.sourceforge.net
*/
// ********************************
// MAIN PARAMETERS
// ********************************
/**
* Turn on debugging of some functions and include errors and warnings in xml and provide a popup for displaying errors
* - false : no debug information are stored in xml or displayed
* - true : debug information stored in xml and displayed *be careful if set this to true, may include sensitive information from your pc*
*/
define('PSI_DEBUG', false);
/**
* Turn on/off compression for JavaScript file
* - define('PSI_JS_COMPRESSION', false); //no compression (recommended with slow processor)
* - define('PSI_JS_COMPRESSION', 'None'); //code minimizing
* - define('PSI_JS_COMPRESSION', 'Normal'); //code packing
*/
define('PSI_JS_COMPRESSION', 'Normal');
/**
* Additional paths where to look for installed programs
* Example : define('PSI_ADD_PATHS', '/opt/bin,/opt/sbin');
*/
define('PSI_ADD_PATHS', false);
/**
* Plugins that should be included in xml and output (!!!plugin names are case-sensitive!!!)
* List of plugins should look like "plugin,plugin,plugin". See /plugins directory
* - define('PSI_PLUGINS', 'MDStatus,PS'); // list of plugins
* - define('PSI_PLUGINS', false); //no plugins
* included plugins:
* - MDStatus - show the raid status and whats currently going on
* - PS - show a process tree of all running processes
* - PSStatus - show a graphical representation if a process is running or not
* - Quotas - show a table with all quotas that are active and there current state
* - SMART - show S.M.A.R.T. information from drives that support it
* - BAT - show battery state on a laptop
* - ipmi - show IPMI status
* - UpdateNotifier - show update notifications (only for Ubuntu server)
* - SNMPPInfo - show printers info via SNMP
*/
define('PSI_PLUGINS', false);
// ********************************
// DISPLAY PARAMETERS
// ********************************
/**
* Define the default display mode
* auto: let user browser choose the mode
* dynamic: use javascript to refresh data
* static: static page (use metatag to reload page)
*/
define('PSI_DEFAULT_DISPLAY_MODE', 'auto');
/**
* Define the default language
*/
define('PSI_DEFAULT_LANG', 'en');
/**
* Define the default template
*/
define('PSI_DEFAULT_TEMPLATE', 'phpsysinfo');
/**
* Show or hide language picklist
*/
define('PSI_SHOW_PICKLIST_LANG', true);
/**
* Show or hide template picklist
*/
define('PSI_SHOW_PICKLIST_TEMPLATE', true);
/**
* Define the interval for refreshing data in ms
* - 0 = disabled
* - 1000 = 1 second
* - Default is 60 seconds
*/
define('PSI_REFRESH', 60000);
/**
* Show a graph for current cpuload
* - true = displayed, but it's a performance hit (because we have to wait to get a value, 1 second)
* - false = will not be displayed
*/
define('PSI_LOAD_BAR', false);
/**
* Display the virtual host name and address
* - Default is canonical host name and address
* - Use define('PSI_USE_VHOST', true); to display virtual host name.
*/
define('PSI_USE_VHOST', false);
/**
* Controls the units & format for network, memory and filesystem
* - 1 KiB = 2^10 bytes = 1,024 bytes
* - 1 KB = 10^3 bytes = 1,000 bytes
* - 'PiB' everything is in PeBiByte
* - 'TiB' everything is in TeBiByte
* - 'GiB' everything is in GiBiByte
* - 'MiB' everything is in MeBiByte
* - 'KiB' everything is in KiBiByte
* - 'auto_binary' everything is automatic done if value is to big for, e.g MiB then it will be in GiB
* - 'PB' everything is in PetaByte
* - 'TB' everything is in TeraByte
* - 'GB' everything is in GigaByte
* - 'MB' everything is in MegaByte
* - 'KB' everything is in KiloByte
* - 'auto_decimal' everything is automatic done if value is to big for, e.g MB then it will be in GB
*/
define('PSI_BYTE_FORMAT', 'auto_binary');
/**
* Format in which temperature is displayed
* - 'c' shown in celsius
* - 'f' shown in fahrenheit
* - 'c-f' both shown first celsius and fahrenheit in braces
* - 'f-c' both shown first fahrenheit and celsius in braces
*/
define('PSI_TEMP_FORMAT', 'c');
// ********************************
// SENSORS PARAMETERS
// ********************************
/**
* Define the motherboard monitoring program (!!!names are case-sensitive!!!)
* We support the following programs so far
* - LMSensors http://www.lm-sensors.org/
* - Healthd http://healthd.thehousleys.net/
* - HWSensors http://www.openbsd.org/
* - MBMon http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/download.html
* - MBM5 http://mbm.livewiredev.com/
* - Coretemp
* - IPMI http://openipmi.sourceforge.net/
* - K8Temp http://hur.st/k8temp/
* Example: If you want to use lmsensors : define('PSI_SENSOR_PROGRAM', 'LMSensors');
*/
define('PSI_SENSOR_PROGRAM', false);
/**
* Define how to access the monitor program
* Available methods for the above list are in the following list
* default method 'command' should be fine for everybody
* !!! tcp connections are only made local and on the default port !!!
* - LMSensors command, file
* - Healthd command
* - HWSensors command
* - MBMon command, tcp
* - MBM5 file
* - Coretemp command
* - IPMI command
* - K8Temp command
*/
define('PSI_SENSOR_ACCESS', 'command');
/**
* Hddtemp program
* If the hddtemp program is available we can read the temperature, if hdd is smart capable
* !!ATTENTION!! hddtemp might be a security issue
* - define('PSI_HDD_TEMP', 'tcp'); // read data from hddtemp deamon (localhost:7634)
* - define('PSI_HDD_TEMP', 'command'); // read data from hddtemp programm (must be set suid)
*/
define('PSI_HDD_TEMP', false);
// ********************************
// FILESYSTEM PARAMETERS
// ********************************
/**
* Show mount point
* - true = show mount point
* - false = do not show mount point
*/
define('PSI_SHOW_MOUNT_POINT', true);
/**
* Show mount option
* - true = show mount option
* - false = do not show mount option
*/
define('PSI_SHOW_MOUNT_OPTION', true);
/**
* Show mount credentials
* - true = show mount credentials
* - false = do not show mount credentials
*/
define('PSI_SHOW_MOUNT_CREDENTIALS', false);
/**
* Show inode usage
* - true = display used inodes in percent
* - false = hide them
*/
define('PSI_SHOW_INODES', true);
/**
* Hide mounts
* Example : define('PSI_HIDE_MOUNTS', '/home,/usr');
*/
define('PSI_HIDE_MOUNTS', '');
/**
* Hide filesystem types
* Example : define('PSI_HIDE_FS_TYPES', 'tmpfs,usbfs');
*/
define('PSI_HIDE_FS_TYPES', '');
/**
* Hide partitions
* Example : define('PSI_HIDE_DISKS', 'rootfs');
*/
define('PSI_HIDE_DISKS', '');
// ********************************
// NETWORK PARAMETERS
// ********************************
/**
* Hide network interfaces
* Example : define('PSI_HIDE_NETWORK_INTERFACE', 'eth0,sit0');
*/
define('PSI_HIDE_NETWORK_INTERFACE', '');
/**
* Show network interfaces infos for Linux, FreeBSD and WinNT (experimental)
* Example : define('PSI_SHOW_NETWORK_INFOS', true);
*/
define('PSI_SHOW_NETWORK_INFOS', false);
// ********************************
// UPS PARAMETERS
// ********************************
/**
* Define the ups monitoring program (!!!names are case-sensitive!!!)
* We support the following programs so far
* - 1. Apcupsd http://www.apcupsd.com/
* - 2. Nut http://www.networkupstools.org/
* Example: If you want to use Apcupsd : define('PSI_UPS_PROGRAM', 'Apcupsd');
*/
define('PSI_UPS_PROGRAM', false);
/**
* Apcupsd supports multiple UPSes
* You can specify comma delimited list in the form <hostname>:<port> or <ip>:<port>. The defaults are: 127.0.0.1:3551
* See the following parameters in apcupsd.conf: NETSERVER, NISIP, NISPORT
*/
define('PSI_UPS_APCUPSD_LIST', '127.0.0.1:3551');
?>
|