2770 |
rexy |
1 |
; PSI Config File
|
|
|
2 |
;
|
|
|
3 |
; @category PHP
|
|
|
4 |
; @package PSI
|
|
|
5 |
; @author Michael Cramer <BigMichi1@users.sourceforge.net>
|
|
|
6 |
; @copyright 2009 phpSysInfo
|
|
|
7 |
; @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License version 2, or (at your option) any later version
|
|
|
8 |
; @version SVN: $Id: phpsysinfo.ini.new 705 2012-11-11 00:33:29Z namiltd $
|
|
|
9 |
; @link http://phpsysinfo.sourceforge.net
|
|
|
10 |
|
|
|
11 |
[main]
|
|
|
12 |
; ********************************
|
|
|
13 |
; MAIN PARAMETERS
|
|
|
14 |
; ********************************
|
|
|
15 |
|
|
|
16 |
; Turn on debugging of some functions and include errors and warnings in xml and provide a popup for displaying errors
|
|
|
17 |
; - false : no debug information are stored in xml or displayed
|
|
|
18 |
; - true : debug information stored in xml and displayed *be careful if set this to true, may include sensitive information from your pc*
|
|
|
19 |
;
|
|
|
20 |
DEBUG=false
|
|
|
21 |
|
|
|
22 |
; Turn on logging/unlogging of functions executeProgram() and rfts()
|
|
|
23 |
; example : executeProgram () and rfts () record the results to the "/tmp/phpsysinfo.log" file
|
|
|
24 |
; LOG="/tmp/phpsysinfo.log"
|
|
|
25 |
; example : executeProgram () and rfts () read the results from the "/tmp/phpsysinfo.log" file
|
|
|
26 |
; LOG="-/tmp/phpsysinfo.log"
|
|
|
27 |
; example : executeProgram () and rfts () read the results from the "/tmp/phpsysinfo.log" file
|
|
|
28 |
; LOG="+/tmp/phpsysinfo.log", if lack in the log file it runs normally
|
|
|
29 |
;
|
|
|
30 |
LOG=false
|
|
|
31 |
|
|
|
32 |
; Turn on/off compression for JavaScript file
|
|
|
33 |
; - JS_COMPRESSION=false //no compression (recommended with slow processor)
|
|
|
34 |
; - JS_COMPRESSION="None" //code minimizing
|
|
|
35 |
; - JS_COMPRESSION="Normal" //code packing
|
|
|
36 |
;
|
|
|
37 |
JS_COMPRESSION="Normal"
|
|
|
38 |
|
|
|
39 |
; Additional paths where to look for installed programs
|
|
|
40 |
; Example : ADD_PATHS="/opt/bin,/opt/sbin"
|
|
|
41 |
;
|
|
|
42 |
ADD_PATHS=false
|
|
|
43 |
|
|
|
44 |
; List of IP addresses of clients authorized to run
|
|
|
45 |
; Example : ALLOWED="127.0.0.1,192.168.1.48" //allowed IP 127.0.0.1 and 192.168.1.48
|
|
|
46 |
; ALLOWED=false //no IP checking
|
|
|
47 |
;
|
|
|
48 |
ALLOWED=false
|
|
|
49 |
|
|
|
50 |
; List of sudo commands
|
|
|
51 |
; Example : SUDO_COMMANDS="iptables-save" //execute "sudo iptables-save" instead "iptables-save"
|
|
|
52 |
; SUDO_COMMANDS=false //no sudo commands
|
|
|
53 |
;
|
|
|
54 |
SUDO_COMMANDS=false
|
|
|
55 |
|
|
|
56 |
; Order of data blocks
|
|
|
57 |
; Example : BLOCKS="vitals,hardware,memory,filesystem,network,voltage,current,temperature,fans,power,other,ups" or BLOCKS=true //default order
|
|
|
58 |
; BLOCKS=false //hide all blocks
|
|
|
59 |
;
|
|
|
60 |
BLOCKS=true
|
|
|
61 |
|
|
|
62 |
|
|
|
63 |
; Plugins that should be included in xml and output
|
|
|
64 |
; List of plugins should look like "plugin,plugin,plugin". See /plugins directory
|
|
|
65 |
; - PLUGINS="MDStatus,PS" //list of plugins
|
|
|
66 |
; - PLUGINS=false //no plugins
|
|
|
67 |
; included plugins:
|
|
|
68 |
; - Raid - show the software, fake, zpool or megaraid RAID status
|
|
|
69 |
; - PS - show a process tree of all running processes
|
|
|
70 |
; - PSStatus - show a graphical representation if a process is running or not
|
|
|
71 |
; - Quotas - show a table with all quotas that are active and there current state
|
|
|
72 |
; - SMART - show S.M.A.R.T. information from drives that support it
|
|
|
73 |
; - BAT - show battery state on a laptop, tablet or phone
|
|
|
74 |
; - UpdateNotifier - show update notifications (only for Ubuntu server)
|
|
|
75 |
; - SNMPPInfo - show printers info via SNMP
|
|
|
76 |
; - Uprecords - show uprecords info
|
|
|
77 |
; - Iptables - show iptables rules list
|
|
|
78 |
; - PingTest - show Ping Test info
|
|
|
79 |
; - StableBit - show StableBit Scanner info (WinNT)
|
|
|
80 |
; - HyperV - show Hyper-V info (WinNT)
|
|
|
81 |
; - Docker - show docker stats
|
|
|
82 |
;
|
|
|
83 |
PLUGINS=false
|
|
|
84 |
|
|
|
85 |
|
|
|
86 |
; ********************************
|
|
|
87 |
; DISPLAY PARAMETERS
|
|
|
88 |
; ********************************
|
|
|
89 |
|
|
|
90 |
|
|
|
91 |
; Define the default display mode
|
|
|
92 |
; auto: let user browser choose the mode
|
|
|
93 |
; dynamic: use javascript to refresh data
|
|
|
94 |
; static: static page (use metatag to reload page)
|
|
|
95 |
; bootstrap: use twitter bootstrap template
|
|
|
96 |
;
|
|
|
97 |
DEFAULT_DISPLAY_MODE="dynamic"
|
|
|
98 |
|
|
|
99 |
|
|
|
100 |
; Define the default language
|
|
|
101 |
;
|
|
|
102 |
DEFAULT_LANG="en"
|
|
|
103 |
|
|
|
104 |
|
|
|
105 |
; Define the default template
|
|
|
106 |
;
|
2800 |
rexy |
107 |
DEFAULT_TEMPLATE="aqua"
|
2770 |
rexy |
108 |
|
|
|
109 |
|
|
|
110 |
; Define the default template for frontend "bootstrap"
|
|
|
111 |
;
|
|
|
112 |
DEFAULT_BOOTSTRAP_TEMPLATE="phpsysinfo"
|
|
|
113 |
|
|
|
114 |
|
|
|
115 |
; Show or hide language picklist
|
|
|
116 |
;
|
|
|
117 |
SHOW_PICKLIST_LANG=false
|
|
|
118 |
|
|
|
119 |
|
|
|
120 |
; Show or hide template picklist
|
|
|
121 |
;
|
|
|
122 |
SHOW_PICKLIST_TEMPLATE=false
|
|
|
123 |
|
|
|
124 |
|
|
|
125 |
; Show CPU list expanded
|
|
|
126 |
;
|
2795 |
rexy |
127 |
SHOW_CPULIST_EXPANDED=true
|
2770 |
rexy |
128 |
|
|
|
129 |
|
|
|
130 |
; Show CPU info expanded
|
|
|
131 |
;
|
|
|
132 |
SHOW_CPUINFO_EXPANDED=false
|
|
|
133 |
|
|
|
134 |
|
|
|
135 |
; Show memory infos expanded
|
|
|
136 |
;
|
|
|
137 |
SHOW_MEMORY_INFOS_EXPANDED=false
|
|
|
138 |
|
|
|
139 |
|
|
|
140 |
; Hide loader for frontend "bootstrap"
|
|
|
141 |
;
|
|
|
142 |
HIDE_BOOTSTRAP_LOADER=true
|
|
|
143 |
|
|
|
144 |
|
|
|
145 |
; Define the interval for refreshing data in ms
|
|
|
146 |
; - 0 : disabled
|
|
|
147 |
; - 1000 : 1 second
|
|
|
148 |
; Default is 60 seconds
|
|
|
149 |
;
|
|
|
150 |
REFRESH=60000
|
|
|
151 |
|
|
|
152 |
|
|
|
153 |
; Show a graph for current cpuload
|
|
|
154 |
; - true : displayed, but it's a performance hit (because we have to wait to get a value, 1 second)
|
|
|
155 |
; - "compact" : displayed like above but in compact mode
|
|
|
156 |
; - false : will not be displayed
|
|
|
157 |
;
|
|
|
158 |
LOAD_BAR=true
|
|
|
159 |
|
|
|
160 |
|
|
|
161 |
; Display the virtual host name and address
|
|
|
162 |
; - Default is canonical host name and address
|
|
|
163 |
; - Use USE_VHOST=true to display virtual host name.
|
|
|
164 |
;
|
|
|
165 |
USE_VHOST=false
|
|
|
166 |
|
|
|
167 |
|
|
|
168 |
; Controls the units & format for network, memory and filesystem
|
|
|
169 |
; - 1 KiB = 2^10 bytes = 1,024 bytes
|
|
|
170 |
; - 1 KB = 10^3 bytes = 1,000 bytes
|
|
|
171 |
; - "B" everything is in Byte
|
|
|
172 |
; - "PiB" everything is in PeBiByte
|
|
|
173 |
; - "TiB" everything is in TeBiByte
|
|
|
174 |
; - "GiB" everything is in GiBiByte
|
|
|
175 |
; - "MiB" everything is in MeBiByte
|
|
|
176 |
; - "KiB" everything is in KiBiByte
|
|
|
177 |
; - "auto_binary" everything is automatic done if value is to big for, e.g MiB then it will be in GiB
|
|
|
178 |
; - "PB" everything is in PetaByte
|
|
|
179 |
; - "TB" everything is in TeraByte
|
|
|
180 |
; - "GB" everything is in GigaByte
|
|
|
181 |
; - "MB" everything is in MegaByte
|
|
|
182 |
; - "KB" everything is in KiloByte
|
|
|
183 |
; - "auto_decimal" everything is automatic done if value is to big for, e.g MB then it will be in GB
|
|
|
184 |
;
|
|
|
185 |
BYTE_FORMAT="auto_binary"
|
|
|
186 |
|
|
|
187 |
|
|
|
188 |
; Format in which temperature is displayed
|
|
|
189 |
; - "c" shown in celsius
|
|
|
190 |
; - "f" shown in fahrenheit
|
|
|
191 |
; - "c-f" both shown first celsius and fahrenheit in braces
|
|
|
192 |
; - "f-c" both shown first fahrenheit and celsius in braces
|
|
|
193 |
;
|
|
|
194 |
TEMP_FORMAT="c"
|
|
|
195 |
|
|
|
196 |
|
|
|
197 |
; Show devices infos
|
|
|
198 |
; Example : SHOW_DEVICES_INFOS=true
|
|
|
199 |
;
|
|
|
200 |
SHOW_DEVICES_INFOS=false
|
|
|
201 |
|
|
|
202 |
|
|
|
203 |
; Show devices serial number
|
|
|
204 |
; Example : SHOW_DEVICES_SERIAL=true
|
|
|
205 |
;
|
|
|
206 |
SHOW_DEVICES_SERIAL=false
|
|
|
207 |
|
|
|
208 |
|
|
|
209 |
; Format in which datetime is displayed
|
|
|
210 |
; - "UTC" shown as UTC string
|
|
|
211 |
; - "locale" shown as Locale string
|
|
|
212 |
;
|
|
|
213 |
DATETIME_FORMAT="UTC"
|
|
|
214 |
|
|
|
215 |
|
|
|
216 |
; ********************************
|
|
|
217 |
; SENSORS PARAMETERS
|
|
|
218 |
; ********************************
|
|
|
219 |
|
|
|
220 |
|
|
|
221 |
; Define the motherboard monitoring program
|
|
|
222 |
; We support the following programs so far
|
|
|
223 |
; - HDDtemp http://www.guzu.net/linux/hddtemp.php (Linux)
|
|
|
224 |
; - LMSensors http://www.lm-sensors.org/ (Linux)
|
|
|
225 |
; - Healthd http://healthd.thehousleys.net/ (FreeBSD)
|
|
|
226 |
; - HWSensors http://www.openbsd.org/ (OpenBSD)
|
|
|
227 |
; - MBMon http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/download.html (FreeBSD/Linux/NetBSD/OpenBSD)
|
|
|
228 |
; - MBM5 http://mbm.livewiredev.com/ (data from file data/MBM5.csv - WinNT)
|
|
|
229 |
; - Coretemp No addon tool neded (FreeBSD/Linux)
|
|
|
230 |
; - IPMItool http://ipmitool.sourceforge.net/ (Linux)
|
|
|
231 |
; - FreeIPMI http://www.gnu.org/software/freeipmi/ (FreeBSD/Linux/OpenBSD/SunOS)
|
|
|
232 |
; - IPMIutil http://ipmiutil.sourceforge.net/ (Darwin/FreeBSD/Linux/SunOS/WinNT)
|
|
|
233 |
; - K8Temp http://hur.st/k8temp/ (DragonFly/FreeBSD/NetBSD/OpenBSD)
|
|
|
234 |
; - PiTemp No addon tool neded (Raspberry Pi and Banana Pi - Linux)
|
|
|
235 |
; - OHM http://openhardwaremonitor.org/ (WinNT)
|
|
|
236 |
; - ThermalZone No addon tool neded (WinNT/Linux/Android)
|
|
|
237 |
; - QTSsnmp SNMP service enabled and snmp-utils package installed: opkg install snmp-utils (QNAP - QTS Linux)
|
|
|
238 |
; - Hwmon No addon tool neded (Linux)
|
|
|
239 |
; - SpeedFan http://www.almico.com/speedfan.php (required tool packaged in: tools/speedfan/SpeedFanGet_bin.zip) (WinNT)
|
|
|
240 |
; - Thinkpad No addon tool neded (Lenovo Thinkpad - Linux)
|
|
|
241 |
;
|
|
|
242 |
; Example: If you want to use lmsensors : SENSOR_PROGRAM="LMSensors"
|
|
|
243 |
; If you want to use lmsensors and IPMItool: SENSOR_PROGRAM="LMSensors,IPMItool"
|
|
|
244 |
;
|
|
|
245 |
SENSOR_PROGRAM=false
|
|
|
246 |
|
|
|
247 |
|
|
|
248 |
; Show events of sensors
|
|
|
249 |
; - true : show events
|
|
|
250 |
; - false : do not show events
|
|
|
251 |
;
|
|
|
252 |
SENSOR_EVENTS=true
|
|
|
253 |
|
|
|
254 |
|
|
|
255 |
; Sort sensors list
|
|
|
256 |
;
|
|
|
257 |
SORT_SENSORS_LIST=false
|
|
|
258 |
|
|
|
259 |
|
|
|
260 |
; Some sensors programs contain an additional configuration in the relevant sections [sensor_...]
|
|
|
261 |
|
|
|
262 |
|
|
|
263 |
; ********************************
|
|
|
264 |
; FILESYSTEM PARAMETERS
|
|
|
265 |
; ********************************
|
|
|
266 |
|
|
|
267 |
|
|
|
268 |
; Show mount point
|
|
|
269 |
; - true : show mount point
|
|
|
270 |
; - false : do not show mount point
|
|
|
271 |
;
|
|
|
272 |
SHOW_MOUNT_POINT=true
|
|
|
273 |
|
|
|
274 |
|
|
|
275 |
; Show mount option
|
|
|
276 |
; - true : show mount option
|
|
|
277 |
; - false : do not show mount option
|
|
|
278 |
;
|
|
|
279 |
SHOW_MOUNT_OPTION=true
|
|
|
280 |
|
|
|
281 |
|
|
|
282 |
; Show mount credentials
|
|
|
283 |
; - true : show mount credentials
|
|
|
284 |
; - false : do not show mount credentials
|
|
|
285 |
;
|
|
|
286 |
SHOW_MOUNT_CREDENTIALS=false
|
|
|
287 |
|
|
|
288 |
|
|
|
289 |
; Show inode usage
|
|
|
290 |
; - true : display used inodes in percent
|
|
|
291 |
; - false : hide them
|
|
|
292 |
;
|
|
|
293 |
SHOW_INODES=false
|
|
|
294 |
|
|
|
295 |
|
|
|
296 |
; Hide mounts
|
|
|
297 |
; Example : HIDE_MOUNTS="/home,/usr"
|
|
|
298 |
;
|
2841 |
rexy |
299 |
; HIDE_MOUNTS="/dev,/dev/shm,/run,/run/user/0,/sys/fs/cgroup"
|
2770 |
rexy |
300 |
HIDE_MOUNTS=""
|
|
|
301 |
|
|
|
302 |
|
|
|
303 |
; Filesystem usage warning threshold in percent
|
|
|
304 |
; - 0 : disabled
|
|
|
305 |
; - 90 : 90%
|
|
|
306 |
; Default is 90%
|
|
|
307 |
;
|
|
|
308 |
FS_USAGE_THRESHOLD=90
|
|
|
309 |
|
|
|
310 |
|
|
|
311 |
; Ignore usage and usage threshold for filesystem types
|
|
|
312 |
; Example : IGNORE_THRESHOLD_FS_TYPES="iso9660, squashfs, devfs, devtmpfs, lxfs, udf, UDF, CDFS"
|
|
|
313 |
;
|
|
|
314 |
IGNORE_THRESHOLD_FS_TYPES="iso9660, squashfs, devfs, devtmpfs, lxfs, udf, UDF, CDFS"
|
|
|
315 |
|
|
|
316 |
|
|
|
317 |
; Ignore usage of mounts
|
|
|
318 |
; Example : IGNORE_USAGE="/root,/mnt/c"
|
|
|
319 |
;
|
|
|
320 |
IGNORE_USAGE=""
|
|
|
321 |
|
|
|
322 |
|
|
|
323 |
; Ignore free space size of mounts
|
|
|
324 |
; Example : IGNORE_FREE="/zfs/space,/zfs/data"
|
|
|
325 |
;
|
|
|
326 |
IGNORE_FREE=""
|
|
|
327 |
|
|
|
328 |
|
|
|
329 |
; Hide filesystem types
|
|
|
330 |
; Example : HIDE_FS_TYPES="tmpfs,devtmpfs,usbfs,bstfolder"
|
|
|
331 |
;
|
|
|
332 |
HIDE_FS_TYPES="tmpfs,devtmpfs"
|
|
|
333 |
|
|
|
334 |
|
|
|
335 |
; Hide partitions
|
|
|
336 |
; Example : HIDE_DISKS="rootfs,/dev/sda1"
|
|
|
337 |
; HIDE_DISKS=true //hide all partitions
|
|
|
338 |
;
|
|
|
339 |
HIDE_DISKS=""
|
|
|
340 |
|
|
|
341 |
|
|
|
342 |
; ********************************
|
|
|
343 |
; NETWORK PARAMETERS
|
|
|
344 |
; ********************************
|
|
|
345 |
|
|
|
346 |
|
|
|
347 |
; Hide network interfaces
|
|
|
348 |
; Example : HIDE_NETWORK_INTERFACE="eth0,sit0"
|
|
|
349 |
; HIDE_NETWORK_INTERFACE=true //hide all network interfaces
|
|
|
350 |
;
|
|
|
351 |
HIDE_NETWORK_INTERFACE="lo,tun0"
|
|
|
352 |
|
|
|
353 |
|
|
|
354 |
; Show network interfaces infos for Linux, Android, FreeBSD, NetBSD, OpenBSD, Haiku, Darwin, SunOS, Minix, QNX and WinNT
|
|
|
355 |
; Example : SHOW_NETWORK_INFOS=true
|
|
|
356 |
;
|
|
|
357 |
SHOW_NETWORK_INFOS=true
|
|
|
358 |
|
|
|
359 |
|
|
|
360 |
; Hide MAC address in the infos
|
|
|
361 |
;
|
|
|
362 |
HIDE_NETWORK_MACADDR=false
|
|
|
363 |
|
|
|
364 |
|
|
|
365 |
; Sort network interfaces list
|
|
|
366 |
;
|
|
|
367 |
SORT_NETWORK_INTERFACES_LIST=false
|
|
|
368 |
|
|
|
369 |
|
|
|
370 |
; Show network infos expanded
|
|
|
371 |
;
|
|
|
372 |
SHOW_NETWORK_INFOS_EXPANDED=false
|
|
|
373 |
|
|
|
374 |
|
|
|
375 |
; Show network active speed
|
|
|
376 |
; - true : display network active speed
|
|
|
377 |
; - "bps" : display network active speed in bits per second (b/s, Kb/s, etc...)
|
|
|
378 |
; - false : hide them
|
|
|
379 |
;
|
|
|
380 |
SHOW_NETWORK_ACTIVE_SPEED=true
|
|
|
381 |
|
|
|
382 |
|
|
|
383 |
; ********************************
|
|
|
384 |
; UPS PARAMETERS
|
|
|
385 |
; ********************************
|
|
|
386 |
|
|
|
387 |
|
|
|
388 |
; Define the ups monitoring program
|
|
|
389 |
; We support the following programs so far
|
|
|
390 |
; - Apcupsd http://www.apcupsd.com/
|
|
|
391 |
; - Nut http://www.networkupstools.org/
|
|
|
392 |
; - PowerSoftPlus http://ever.eu/
|
|
|
393 |
; - pmset based on the result of the command "pmset -g batt" on Darwin system
|
|
|
394 |
; - SNMPups monitoring via Simple Network Management Protocol (SNMP)
|
|
|
395 |
;
|
|
|
396 |
; Example: If you want to use Apcupsd : UPS_PROGRAM="Apcupsd"
|
|
|
397 |
; If you want to use Apcupsd and Nut : UPS_PROGRAM="Apcupsd,Nut"
|
|
|
398 |
;
|
|
|
399 |
UPS_PROGRAM=false
|
|
|
400 |
|
|
|
401 |
|
|
|
402 |
; Apcupsd supports multiple UPSes
|
|
|
403 |
; You can specify comma delimited list in the form <hostname>:<port> or <ip>:<port>. The defaults are: 127.0.0.1:3551
|
|
|
404 |
; See the following parameters in apcupsd.conf: NETSERVER, NISIP, NISPORT
|
|
|
405 |
; It uses the defaults if not specified.
|
|
|
406 |
;
|
|
|
407 |
UPS_APCUPSD_LIST=false
|
|
|
408 |
|
|
|
409 |
|
|
|
410 |
; Apcupsd has a CGI monitoring utility called apcupsd-cgi
|
|
|
411 |
; You can set the parameter below to true if you have it installed - this will add apcupsd-cgi links to the UPS tree
|
|
|
412 |
;
|
|
|
413 |
UPS_APCUPSD_CGI_ENABLE=false
|
|
|
414 |
|
|
|
415 |
|
|
|
416 |
; Nut supports multiple UPSes
|
|
|
417 |
; You can specify comma delimited list in the form <hostname>:<port> or <ip>:<port>. The defaults are: 127.0.0.1:3493
|
|
|
418 |
; See the following parameters in upsd.conf: LISTEN
|
|
|
419 |
; It uses the defaults if not specified.
|
|
|
420 |
;
|
|
|
421 |
UPS_NUT_LIST=false
|
|
|
422 |
|
|
|
423 |
|
|
|
424 |
; SNMPups supports multiple UPSes
|
|
|
425 |
; You can specify comma delimited list in the form <hostname>:<port> or <ip>:<port>. The default port is 161
|
|
|
426 |
; List must be specified.
|
|
|
427 |
;
|
|
|
428 |
UPS_SNMPUPS_LIST=false
|
|
|
429 |
|
|
|
430 |
|
|
|
431 |
; define how to access the SNMP data
|
|
|
432 |
; - "php-snmp" execute php snmprealwalk function (php-snmp module must be installed)
|
|
|
433 |
; - "command" execute snmpwalk command
|
|
|
434 |
;
|
|
|
435 |
UPS_SNMPUPS_ACCESS="php-snmp"
|
|
|
436 |
|
|
|
437 |
|
|
|
438 |
; ********************************
|
|
|
439 |
; SENSORS PROGRAMS PARAMETERS
|
|
|
440 |
; ********************************
|
|
|
441 |
|
|
|
442 |
|
|
|
443 |
[sensor_hddtemp]
|
|
|
444 |
; Hddtemp motherboard monitoring program configuration
|
|
|
445 |
;
|
|
|
446 |
; If the hddtemp program is available we can read the temperature, if hdd is smart capable
|
|
|
447 |
; !!ATTENTION!! hddtemp might be a security issue
|
|
|
448 |
; - ACCESS="command" //read data from 'hddtemp' command (must be set suid)
|
|
|
449 |
; - ACCESS="tcp" //read data from hddtemp deamon (localhost:7634)
|
|
|
450 |
;
|
|
|
451 |
ACCESS="command"
|
|
|
452 |
|
|
|
453 |
[sensor_lmsensors]
|
|
|
454 |
; LMSensors motherboard monitoring program configuration
|
|
|
455 |
;
|
|
|
456 |
; - ACCESS="command" //read data from 'sensors' command
|
|
|
457 |
; - ACCESS="data" //read data from file data/lmsensors.txt
|
|
|
458 |
;
|
|
|
459 |
ACCESS="command"
|
|
|
460 |
|
|
|
461 |
[sensor_healthd]
|
|
|
462 |
; Healthd motherboard monitoring program configuration
|
|
|
463 |
;
|
|
|
464 |
; - ACCESS="command" //read data from 'healthdc' command
|
|
|
465 |
; - ACCESS="data" //read data from file data/healthd.txt
|
|
|
466 |
;
|
|
|
467 |
ACCESS="command"
|
|
|
468 |
|
|
|
469 |
[sensor_mbmon]
|
|
|
470 |
; MBMon motherboard monitoring program configuration
|
|
|
471 |
;
|
|
|
472 |
; - ACCESS="command" //read data from 'mbmon -c 1 -r' command
|
|
|
473 |
; - ACCESS="data" //read data from file data/mbmon.txt
|
|
|
474 |
; - ACCESS="tcp" //read data from mbmon deamon (localhost:411)
|
|
|
475 |
;
|
|
|
476 |
ACCESS="command"
|
|
|
477 |
|
|
|
478 |
[sensor_ipmitool]
|
|
|
479 |
; IPMItool motherboard monitoring program configuration
|
|
|
480 |
;
|
|
|
481 |
; - ACCESS="command" //read data from 'ipmitool sensor -v' command
|
|
|
482 |
; //if access error execute first: chmod 666 /dev/ipmi0
|
|
|
483 |
; - ACCESS="data" //read data from file data/ipmitool.txt
|
|
|
484 |
;
|
|
|
485 |
ACCESS="command"
|
|
|
486 |
|
|
|
487 |
[sensor_freeipmi]
|
|
|
488 |
; FreeIPMI motherboard monitoring program configuration
|
|
|
489 |
;
|
|
|
490 |
; - ACCESS="command" //read data from 'ipmi-sensors --output-sensor-thresholds' program
|
|
|
491 |
; - ACCESS="data" //read data from file data/freeipmi.txt
|
|
|
492 |
;
|
|
|
493 |
ACCESS="command"
|
|
|
494 |
|
|
|
495 |
[sensor_ipmiutil]
|
|
|
496 |
; IPMIutil motherboard monitoring program configuration
|
|
|
497 |
;
|
|
|
498 |
; - ACCESS="command" //read data from 'ipmiutil sensor -stw' command
|
|
|
499 |
; //if access error execute first: chmod 666 /dev/ipmi0
|
|
|
500 |
; - ACCESS="data" //read data from file data/ipmiutil.txt
|
|
|
501 |
;
|
|
|
502 |
ACCESS="command"
|
|
|
503 |
|
|
|
504 |
[sensor_k8temp]
|
|
|
505 |
; K8Temp motherboard monitoring program configuration
|
|
|
506 |
;
|
|
|
507 |
; - ACCESS="command" //read data from 'k8temp' command
|
|
|
508 |
; - ACCESS="data" //read data from file data/k8temp.txt
|
|
|
509 |
;
|
|
|
510 |
ACCESS="command"
|
|
|
511 |
|
|
|
512 |
[sensor_speedfan]
|
|
|
513 |
; SpeedFan motherboard monitoring program configuration
|
|
|
514 |
;
|
|
|
515 |
; - ACCESS="command" //read data from 'speedfanget' command
|
|
|
516 |
; - ACCESS="data" //read data from file data/speedfan.txt
|
|
|
517 |
;
|
|
|
518 |
ACCESS="command"
|
|
|
519 |
|
|
|
520 |
|
|
|
521 |
; ********************************
|
|
|
522 |
; PLUGINS PARAMETERS
|
|
|
523 |
; ********************************
|
|
|
524 |
|
|
|
525 |
|
|
|
526 |
[bat]
|
|
|
527 |
; BAT Plugin configuration
|
|
|
528 |
|
|
|
529 |
; define how to access the battery statistic data
|
|
|
530 |
; - "command" on Linux and Android read data from /proc/acpi/battery/BAT0/info and /proc/acpi/battery/BAT0/state
|
|
|
531 |
; or on newer kernel from /sys/class/power_supply/
|
|
|
532 |
; or from 'upower -d' command (if UPOWER is true)
|
|
|
533 |
; on Android read data from /sys/class/power_supply/
|
|
|
534 |
; on Darwin read data from 'ioreg -w0 -l -n AppleSmartBattery -r' command
|
|
|
535 |
; on FreeBSD read data from 'acpiconf -i batt' command
|
|
|
536 |
; on OpenBSD read data from 'sysctl hw.sensors.acpibat0' command
|
|
|
537 |
; - "data" (a file must be available in the data directory of the phpsysinfo installation
|
|
|
538 |
; with the filename "bat_info.txt" and "bat_state.txt"; content is the output
|
|
|
539 |
; from "cat /proc/acpi/battery/BAT0/info" and "cat /proc/acpi/battery/BAT0/state")
|
|
|
540 |
;
|
|
|
541 |
ACCESS="command"
|
|
|
542 |
|
|
|
543 |
; on Lunux try executing 'upower -d' command
|
|
|
544 |
;
|
|
|
545 |
UPOWER=false
|
|
|
546 |
|
|
|
547 |
; Show battery serial number
|
|
|
548 |
;
|
|
|
549 |
SHOW_SERIAL=false
|
|
|
550 |
|
|
|
551 |
|
|
|
552 |
[raid]
|
|
|
553 |
; Raid Plugin configuration
|
|
|
554 |
|
|
|
555 |
; define how to access the raid statistic data
|
|
|
556 |
; - "command" - mdstat: file "/proc/mdstat" is read (on Linux only)
|
|
|
557 |
; - dmraid: command "dmraid -s -vv 2>&1" is run (on Linux only)
|
|
|
558 |
; If access error try execute first: chmod 4755 /sbin/dmraid
|
|
|
559 |
; This method is not recommended for safety reasons!
|
|
|
560 |
; - megactl: command "megactl" (on Linux only)
|
|
|
561 |
; downloaded from http://sourceforge.net/projects/megactl/ or http://github.com/hmage/megactl
|
|
|
562 |
; If permission error try execute first: chmod 4755 /usr/sbin/megactl
|
|
|
563 |
; - megasasctl: command "megasasctl" (on Linux only)
|
|
|
564 |
; downloaded from http://sourceforge.net/projects/megactl/ or http://github.com/hmage/megactl
|
|
|
565 |
; If permission error try execute first: chmod 4755 /usr/sbin/megasasctl
|
|
|
566 |
; - graid: command "graid list" is run (on FreeBSD only)
|
|
|
567 |
; - zpool: command "zpool status" is run
|
|
|
568 |
; - idrac: command "snmpwalk -Ona -c public -v 1 -r 0 -t 3 {device} .1.3.6.1.4.1.674.10892.5.5.1.20" is run
|
|
|
569 |
; - "php-snmp"- idrac: execute php snmprealwalk function (php-snmp module must be installed)
|
|
|
570 |
; - for others the option is inactive (uses "command" instead)
|
|
|
571 |
; - "data" (a file must be available in the data directory of the phpsysinfo installation
|
|
|
572 |
; with the filename "raidmdstat.txt" or "raiddmraid.txt" or "raidmegactl.txt"
|
|
|
573 |
; or "raidmegasasctl" or "raidgraid.txt" or "raidzpool.txt" or "raididrac{device_number}.txt")
|
|
|
574 |
;
|
|
|
575 |
ACCESS="command"
|
|
|
576 |
|
|
|
577 |
; define possible programs
|
|
|
578 |
PROGRAM="mdstat,dmraid,megactl,megasasctl,graid,zpool,idrac"
|
|
|
579 |
|
|
|
580 |
; Hide RAID devices
|
|
|
581 |
; Example : HIDE_DEVICES="md127"
|
|
|
582 |
;
|
|
|
583 |
HIDE_DEVICES=""
|
|
|
584 |
|
|
|
585 |
;
|
|
|
586 |
; string contains a list of IDRAC devices that are checked
|
|
|
587 |
; Example : IDRAC_DEVICES="192.168.0.120"
|
|
|
588 |
;
|
|
|
589 |
IDRAC_DEVICES=""
|
|
|
590 |
|
|
|
591 |
[ps]
|
|
|
592 |
; PS Plugin configuration
|
|
|
593 |
|
|
|
594 |
; define how to access the ps statistic data
|
|
|
595 |
; - "command" ps command is run everytime the block gets refreshed or build / on WINNT
|
|
|
596 |
; information is retrieved everytime through WMI
|
|
|
597 |
; - "data" (a file must be available in the data directory of the phpsysinfo installation
|
|
|
598 |
; with the filename "ps.txt"; content is the output from "ps -axo pid,ppid,pmem,args")
|
|
|
599 |
;
|
|
|
600 |
ACCESS="command"
|
|
|
601 |
|
|
|
602 |
; Memory Usage info
|
|
|
603 |
;
|
|
|
604 |
MEMORY_USAGE=true
|
|
|
605 |
|
|
|
606 |
; CPU Usage info
|
|
|
607 |
;
|
|
|
608 |
CPU_USAGE=true
|
|
|
609 |
|
|
|
610 |
; Show kthreadd child list expanded
|
|
|
611 |
;
|
|
|
612 |
SHOW_KTHREADD_EXPANDED=false
|
|
|
613 |
|
|
|
614 |
; Show PID 1 child list expanded
|
|
|
615 |
;
|
|
|
616 |
SHOW_PID1CHILD_EXPANDED=false
|
|
|
617 |
|
|
|
618 |
|
|
|
619 |
[psstatus]
|
|
|
620 |
; PSStatus Plugin configuration
|
|
|
621 |
|
|
|
622 |
; define how to access the psstatus statistic data
|
|
|
623 |
; - "command" pidof command is run everytime the block gets refreshed or build / on WINNT
|
|
|
624 |
; information is retrieved everytime through WMI
|
|
|
625 |
; - "data" a file must be available in the data directory of the phpsysinfo installation
|
|
|
626 |
; with the filename "psstatus.txt"; content is the output from
|
|
|
627 |
; <code>for ps in "apache2" "mysqld" "sshd"; do echo $ps "|" `pidof -s -x "$ps"`; done</code>
|
|
|
628 |
;
|
|
|
629 |
ACCESS="command"
|
|
|
630 |
|
|
|
631 |
; Regular expression search in the process name (e.g. "ddclient.*")
|
|
|
632 |
; - true : Regular expression search (used pgrep command)
|
|
|
633 |
; - false : Normal search (used pidof command)
|
|
|
634 |
;
|
|
|
635 |
USE_REGEX=false
|
|
|
636 |
|
|
|
637 |
; controls which processes are checked if they are running
|
|
|
638 |
;
|
|
|
639 |
; string contains a list of process names that are checked, names are seperated by a comma (on WINNT names must end with '.exe')
|
|
|
640 |
;
|
|
|
641 |
PROCESSES="mysqld, sshd, explorer.exe"
|
|
|
642 |
|
|
|
643 |
|
|
|
644 |
[quotas]
|
|
|
645 |
; Quotas Plugin configuration
|
|
|
646 |
|
|
|
647 |
; define how to access the repquota statistic data
|
|
|
648 |
; - "command" repquota command is run everytime the block gets refreshed or build
|
|
|
649 |
; - "data" (a file must be available in the data directory of the phpsysinfo installation with the filename "quotas.txt"; content is the output from "repquota -au")
|
|
|
650 |
;
|
|
|
651 |
ACCESS="command"
|
|
|
652 |
|
|
|
653 |
|
|
|
654 |
[smart]
|
|
|
655 |
; SMART Plugin configuration
|
|
|
656 |
|
|
|
657 |
; Smartctl program
|
|
|
658 |
; If the smartctl program is available we can read S.M.A.R.T informations
|
|
|
659 |
; - "command" smartctl command is run everytime the block gets refreshed or build
|
|
|
660 |
; if error: Smartctl open device: /dev/sda failed: Permission denied
|
|
|
661 |
; Not recommended method:
|
|
|
662 |
; execute: chmod 4755 /usr/sbin/smartctl
|
|
|
663 |
; Second method:
|
|
|
664 |
; try to set: SUDO_COMMANDS="smartctl" and add to file /etc/sudoers line: apache ALL = (ALL) NOPASSWD: /usr/sbin/smartctl
|
|
|
665 |
; - "data" (a file must be available in the data directory of the
|
|
|
666 |
; phpsysinfo installation with the filename "smart{disk_number}.txt";
|
|
|
667 |
; content is the output from "smartctl --all device")
|
|
|
668 |
; - "wmi" information is retrieved everytime through WMI (WinNT only)
|
|
|
669 |
;
|
|
|
670 |
ACCESS="command"
|
|
|
671 |
|
|
|
672 |
; Smartctl devices to monitor
|
|
|
673 |
; If the smartctl support is enabled, those disks information will be displayed
|
|
|
674 |
; - DEVICES="/dev/hda,/dev/hdb" //Will display those two disks informations
|
|
|
675 |
; You also can specify --device option value for smartctl command surrounded by parentheses eg:
|
|
|
676 |
; - DEVICES="(marvell)/dev/sda"
|
|
|
677 |
; or
|
|
|
678 |
; - DEVICES="(megaraid.0)/dev/sda" //comma in --device option value is replaced by a dot
|
|
|
679 |
;
|
|
|
680 |
DEVICES="/dev/sda, /dev/sdb"
|
|
|
681 |
|
|
|
682 |
; Smartctl ID# and column name from "Vendor Specific SMART Attributes with Thresholds" table
|
|
|
683 |
; If the smartctl support is enabled, enter the ID#-COLUMN_NAME from "Vendor Specific SMART Attributes with Thresholds" table from smartctl output.
|
|
|
684 |
; or for no SCSI devices: ID#-COLUMN_NAME-REPLACEMENT_ID# where REPLACEMENT_ID# is an alternative ID number.
|
|
|
685 |
; COLUMN_NAME of this ID# will be displayed in the phpsysinfo S.M.A.R.T table. If you want RAW_VALUE to be displayed for the temperature (ID# 194) enter 194-RAW_VALUE
|
|
|
686 |
; - IDS="194-VALUE,4-VALUE,009-RAW_VALUE" //ID#-COLUMN_NAME, ID#-COLUMN_NAME, etc...
|
|
|
687 |
;
|
|
|
688 |
IDS="005-RAW_VALUE,194-RAW_VALUE,4-RAW_VALUE,009-RAW_VALUE,012-RAW_VALUE,193-RAW_VALUE-225,001-RAW_VALUE,007-RAW_VALUE,200-RAW_VALUE,197-RAW_VALUE,198-RAW_VALUE"
|
|
|
689 |
|
|
|
690 |
|
|
|
691 |
[snmppinfo]
|
|
|
692 |
; SNMPPInfo Plugin configuration
|
|
|
693 |
|
|
|
694 |
; define how to access the SNMP Printer Info statistic data
|
|
|
695 |
; - "php-snmp" execute php snmprealwalk function (php-snmp module must be installed)
|
|
|
696 |
; - "command" execute snmpwalk command
|
|
|
697 |
; - "data" a file must be available in the data directory of the
|
|
|
698 |
; phpsysinfo installation with the filename "snmppinfo{printer_number}.txt";
|
|
|
699 |
; content is the output from:
|
|
|
700 |
; LANG=C LC_ALL=C snmpwalk -On -c public -v 1 -r 0 -t 3 {printer_address} .1.3.6.1.2.1.1.5 > snmppinfo{printer_number}.txt
|
|
|
701 |
; LANG=C LC_ALL=C snmpwalk -On -c public -v 1 -r 0 -t 3 {printer_address} .1.3.6.1.4.1.367.3.2.1.2.24.1.1 >> snmppinfo{printer_number}.txt
|
|
|
702 |
; LANG=C LC_ALL=C snmpwalk -On -c public -v 1 -r 0 -t 3 {printer_address} .1.3.6.1.2.1.43.11.1.1 >> snmppinfo{printer_number}.txt
|
|
|
703 |
; LANG=C LC_ALL=C snmpwalk -On -c public -v 1 -r 0 -t 3 {printer_address} .1.3.6.1.2.1.43.18.1.1 >> snmppinfo{printer_number}.txt
|
|
|
704 |
;
|
|
|
705 |
ACCESS="php-snmp"
|
|
|
706 |
|
|
|
707 |
;define the Printer devices
|
|
|
708 |
;
|
|
|
709 |
; string contains a list of printer addresses that are checked
|
|
|
710 |
;
|
|
|
711 |
DEVICES="192.168.0.5, 192.168.0.9"
|
|
|
712 |
|
|
|
713 |
|
|
|
714 |
[updatenotifier]
|
|
|
715 |
; Update Notifier Plugin configuration
|
|
|
716 |
|
|
|
717 |
; define how to access the updatenotifier statistic data
|
|
|
718 |
; - "command" execute command /usr/lib/update-notifier/apt-check
|
|
|
719 |
; - "data" reads data from file defined in FILE parameter
|
|
|
720 |
;
|
|
|
721 |
ACCESS="data"
|
|
|
722 |
|
|
|
723 |
; define the update info file format
|
|
|
724 |
; - true: Ubuntu Landscape format (file: /var/lib/update-notifier/updates-available)
|
|
|
725 |
; - false: universal format (format: A;B)
|
|
|
726 |
; A: total packages to update
|
|
|
727 |
; B: security packages to update
|
|
|
728 |
;
|
|
|
729 |
UBUNTU_LANDSCAPE_FORMAT=true
|
|
|
730 |
|
|
|
731 |
; define the update info file. The default is: /var/lib/update-notifier/updates-available
|
|
|
732 |
;
|
|
|
733 |
FILE="/var/lib/update-notifier/updates-available"
|
|
|
734 |
|
|
|
735 |
|
|
|
736 |
[uprecords]
|
|
|
737 |
; Uprecords Plugin configuration
|
|
|
738 |
|
|
|
739 |
; define how to access the uprecords statistic data
|
|
|
740 |
; - "command" uprecords command is run everytime the block gets refreshed or build
|
|
|
741 |
; if access error try execute first: chmod 4755 /usr/bin/uprecords
|
|
|
742 |
; This method is not recommended for safety reasons!
|
|
|
743 |
; - "data" (a file must be available in the data directory of the phpsysinfo installation
|
|
|
744 |
; with the filename "uprecords.txt"; content is the output from "TZ=GMT uprecords -a -w")
|
|
|
745 |
;
|
|
|
746 |
ACCESS="command"
|
|
|
747 |
|
|
|
748 |
; define the maximum number of entries to show (for command access)
|
|
|
749 |
; default is 10
|
|
|
750 |
;
|
|
|
751 |
MAX_ENTRIES = 10
|
|
|
752 |
|
|
|
753 |
; define the short mode (do not print extra statistics)
|
|
|
754 |
; default is false
|
|
|
755 |
;
|
|
|
756 |
SHORT_MODE = false
|
|
|
757 |
|
|
|
758 |
; denote current system session by asterisk (* at the end) instead by the arrow (-> at the beginning)
|
|
|
759 |
; default is false
|
|
|
760 |
;
|
|
|
761 |
DENOTE_BY_ASTERISK = false
|
|
|
762 |
|
|
|
763 |
|
|
|
764 |
[iptables]
|
|
|
765 |
; Iptables Plugin configuration
|
|
|
766 |
|
|
|
767 |
; define how to access the iptables rules data
|
|
|
768 |
; - "command" iptables-save command is run everytime the block gets refreshed or build
|
|
|
769 |
; if access error try to set: SUDO_COMMANDS="iptables-save" and add to file /etc/sudoers line: apache ALL = (ALL) NOPASSWD: /sbin/iptables-save
|
|
|
770 |
; - "data" (a file must be available in the data directory of the phpsysinfo installation with the filename "iptables.txt"; content is the output from "iptables-save")
|
|
|
771 |
;
|
|
|
772 |
ACCESS="command"
|
|
|
773 |
|
|
|
774 |
|
|
|
775 |
[pingtest]
|
|
|
776 |
; PingTest Plugin configuration
|
|
|
777 |
|
|
|
778 |
; define how to access the psstatus statistic data
|
|
|
779 |
; - "command" ping command is run everytime the block gets refreshed or build
|
|
|
780 |
; - "data" (a file must be available in the data directory of the phpsysinfo installation
|
|
|
781 |
; with the filename "pingtest.txt")
|
|
|
782 |
;
|
|
|
783 |
ACCESS="command"
|
|
|
784 |
|
|
|
785 |
;define the Addresses
|
|
|
786 |
;
|
|
|
787 |
; string contains a list of addresses that are checked
|
|
|
788 |
; Example : ADDRESSES="127.0.0.1,8.8.8.8"
|
|
|
789 |
;
|
|
|
790 |
ADDRESSES=""
|
|
|
791 |
|
|
|
792 |
; Define ping timeout in seconds
|
|
|
793 |
; - 0 : default ping command timeout
|
|
|
794 |
; - 3 : 3 seconds
|
|
|
795 |
; Default is 2 seconds
|
|
|
796 |
;
|
|
|
797 |
TIMEOUT=2
|
|
|
798 |
|
|
|
799 |
[stablebit]
|
|
|
800 |
; StableBit Plugin configuration
|
|
|
801 |
|
|
|
802 |
; Show or hide disks serial number
|
|
|
803 |
;
|
|
|
804 |
SHOW_SERIAL=false
|
|
|
805 |
|
|
|
806 |
[hyperv]
|
|
|
807 |
; HyperV Plugin configuration
|
|
|
808 |
|
|
|
809 |
; define how to access the ps statistic data
|
|
|
810 |
; - "command" information is retrieved through WMI
|
|
|
811 |
; - "data" (a file must be available in the data directory of the phpsysinfo installation
|
|
|
812 |
; with the filename "hyperv.txt")
|
|
|
813 |
;
|
|
|
814 |
ACCESS="command"
|
|
|
815 |
|
|
|
816 |
[docker]
|
|
|
817 |
; Docker Plugin configuration
|
|
|
818 |
|
|
|
819 |
; define how to access the docker statistic data
|
|
|
820 |
; - "command" docker command is run everytime the block gets refreshed or build
|
|
|
821 |
; - "data" (a file must be available in the data directory of the phpsysinfo installation
|
|
|
822 |
; with the filename "docker.txt"; content is the output from "docker stats --no-stream --format 'table {{.Name}}\t{{.CPUPerc}}\t{{.MemUsage}}\t{{.MemPerc}}\t{{.NetIO}}\t{{.BlockIO}}\t{{.PIDs}}'")
|
|
|
823 |
;
|
|
|
824 |
ACCESS="command"
|