Subversion Repositories ALCASAR

Rev

Rev 2841 | Rev 3037 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log

Rev Author Line No. Line
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
 
2976 rexy 62
; Maximum time in seconds a script is allowed to run before it is terminated by the parser
63
;
64
;MAX_TIMEOUT=30
2770 rexy 65
 
2976 rexy 66
; executeProgram() timeout value in seconds
67
;
68
;EXEC_TIMEOUT=30
69
 
70
; snmprealwalk() and executeProgram("snmpwalk") number of seconds until the first timeout
71
;
72
;SNMP_TIMEOUT=3
73
 
74
; snmprealwalk() and executeProgram("snmpwalk") number of times to retry if timeouts occur
75
;
76
;SNMP_RETRY=0
77
 
78
; External WinNT server connection parameters
79
; Possibility available for WinNT and partly for LINUX (if wmic tool from wmic-linux or openvas-smb package is installed)
80
; These settings can also be entered for a specific plug-in so that only it connects to an external server
81
; For safety reasons make sure that phpsysinfo.ini cannot be read by the network or other users!
82
;
83
;WMI_HOSTNAME="hostname"
84
;WMI_USER="username"
85
;WMI_PASSWORD="password"
86
 
87
 
2770 rexy 88
; Plugins that should be included in xml and output
89
; List of plugins should look like "plugin,plugin,plugin". See /plugins directory
2976 rexy 90
; - PLUGINS="Raid,PS"  //list of plugins
2770 rexy 91
; - PLUGINS=false  //no plugins
92
; included plugins:
93
; - Raid           - show the software, fake, zpool or megaraid RAID status
94
; - PS             - show a process tree of all running processes
95
; - PSStatus       - show a graphical representation if a process is running or not
96
; - Quotas         - show a table with all quotas that are active and there current state
97
; - SMART          - show S.M.A.R.T. information from drives that support it
98
; - BAT            - show battery state on a laptop, tablet or phone
99
; - UpdateNotifier - show update notifications (only for Ubuntu server)
100
; - SNMPPInfo      - show printers info via SNMP
101
; - Uprecords      - show uprecords info
102
; - PingTest       - show Ping Test info
103
; - StableBit      - show StableBit Scanner info (WinNT)
104
; - HyperV         - show Hyper-V info (WinNT)
105
; - Docker         - show docker stats
2976 rexy 106
; - Viewer         - show output of any command or file viewer.txt contents
2770 rexy 107
;
108
PLUGINS=false
109
 
110
 
111
; ********************************
112
;       DISPLAY PARAMETERS
113
; ********************************
114
 
115
 
116
; Define the default display mode
117
; auto: let user browser choose the mode
118
; dynamic: use javascript to refresh data
119
; static: static page (use metatag to reload page)
120
; bootstrap: use twitter bootstrap template
121
;
122
DEFAULT_DISPLAY_MODE="dynamic"
123
 
124
 
125
; Define the default language
126
;
127
DEFAULT_LANG="en"
128
 
129
 
130
; Define the default template
131
;
2800 rexy 132
DEFAULT_TEMPLATE="aqua"
2770 rexy 133
 
134
 
135
; Define the default template for frontend "bootstrap"
136
;
137
DEFAULT_BOOTSTRAP_TEMPLATE="phpsysinfo"
138
 
139
 
140
; Show or hide language picklist
141
;
142
SHOW_PICKLIST_LANG=false
143
 
144
 
145
; Show or hide template picklist
146
;
147
SHOW_PICKLIST_TEMPLATE=false
148
 
149
 
150
; Show CPU list expanded
151
;
2795 rexy 152
SHOW_CPULIST_EXPANDED=true
2770 rexy 153
 
154
 
155
; Show CPU info expanded
156
;
157
SHOW_CPUINFO_EXPANDED=false
158
 
159
 
160
; Show memory infos expanded
161
;
162
SHOW_MEMORY_INFOS_EXPANDED=false
163
 
164
 
165
; Hide loader for frontend "bootstrap"
166
;
167
HIDE_BOOTSTRAP_LOADER=true
168
 
169
 
170
; Define the interval for refreshing data in ms
171
; - 0 : disabled
172
; - 1000 : 1 second
173
; Default is 60 seconds
174
;
175
REFRESH=60000
176
 
177
 
178
; Show a graph for current cpuload
179
; - true : displayed, but it's a performance hit (because we have to wait to get a value, 1 second)
180
; - "compact" : displayed like above but in compact mode
181
; - false : will not be displayed
182
;
183
LOAD_BAR=true
184
 
185
 
186
; Display the virtual host name and address
187
; - Default is canonical host name and address
188
; - Use USE_VHOST=true to display virtual host name.
189
;
190
USE_VHOST=false
191
 
192
 
193
; Controls the units & format for network, memory and filesystem
194
; - 1 KiB = 2^10 bytes = 1,024 bytes
195
; - 1 KB = 10^3 bytes = 1,000 bytes
196
; - "B"     everything is in Byte
197
; - "PiB"   everything is in PeBiByte
198
; - "TiB"   everything is in TeBiByte
199
; - "GiB"   everything is in GiBiByte
200
; - "MiB"   everything is in MeBiByte
201
; - "KiB"   everything is in KiBiByte
202
; - "auto_binary" everything is automatic done if value is to big for, e.g MiB then it will be in GiB
203
; - "PB"    everything is in PetaByte
204
; - "TB"    everything is in TeraByte
205
; - "GB"    everything is in GigaByte
206
; - "MB"    everything is in MegaByte
207
; - "KB"    everything is in KiloByte
208
; - "auto_decimal" everything is automatic done if value is to big for, e.g MB then it will be in GB
209
;
210
BYTE_FORMAT="auto_binary"
211
 
212
 
213
; Format in which temperature is displayed
214
; - "c"    shown in celsius
215
; - "f"    shown in fahrenheit
216
; - "c-f"  both shown first celsius and fahrenheit in braces
217
; - "f-c"  both shown first fahrenheit and celsius in braces
218
;
219
TEMP_FORMAT="c"
220
 
221
 
222
; Show devices infos
223
; Example : SHOW_DEVICES_INFOS=true
224
;
225
SHOW_DEVICES_INFOS=false
226
 
227
 
228
; Show devices serial number
229
; Example : SHOW_DEVICES_SERIAL=true
230
;
231
SHOW_DEVICES_SERIAL=false
232
 
233
 
234
; Format in which datetime is displayed
235
; - "UTC"    shown as UTC string
236
; - "locale" shown as Locale string
237
;
238
DATETIME_FORMAT="UTC"
239
 
240
 
241
; ********************************
242
;       SENSORS PARAMETERS
243
; ********************************
244
 
245
 
246
; Define the motherboard monitoring program
247
; We support the following programs so far
248
; - HDDtemp        http://www.guzu.net/linux/hddtemp.php (Linux)
249
; - LMSensors      http://www.lm-sensors.org/ (Linux)
250
; - Healthd        http://healthd.thehousleys.net/ (FreeBSD)
251
; - HWSensors      http://www.openbsd.org/ (OpenBSD)
252
; - MBMon          http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/download.html (FreeBSD/Linux/NetBSD/OpenBSD)
253
; - MBM5           http://mbm.livewiredev.com/ (data from file data/MBM5.csv - WinNT)
254
; - Coretemp       No addon tool neded (FreeBSD/Linux)
255
; - IPMItool       http://ipmitool.sourceforge.net/ (Linux)
256
; - FreeIPMI       http://www.gnu.org/software/freeipmi/ (FreeBSD/Linux/OpenBSD/SunOS)
257
; - IPMIutil       http://ipmiutil.sourceforge.net/ (Darwin/FreeBSD/Linux/SunOS/WinNT)
2976 rexy 258
; - IPMIcfg        http://www.supermicro.com/en/solutions/management-software/ipmi-utilities (Linux/WinNT)
2770 rexy 259
; - K8Temp         http://hur.st/k8temp/ (DragonFly/FreeBSD/NetBSD/OpenBSD)
260
; - PiTemp         No addon tool neded (Raspberry Pi and Banana Pi - Linux)
261
; - OHM            http://openhardwaremonitor.org/ (WinNT)
262
; - ThermalZone    No addon tool neded (WinNT/Linux/Android)
263
; - QTSsnmp        SNMP service enabled and snmp-utils package installed: opkg install snmp-utils (QNAP - QTS Linux)
264
; - Hwmon          No addon tool neded (Linux)
265
; - SpeedFan       http://www.almico.com/speedfan.php (required tool packaged in: tools/speedfan/SpeedFanGet_bin.zip) (WinNT)
266
; - Thinkpad       No addon tool neded (Lenovo Thinkpad - Linux)
2976 rexy 267
; - NvidiaSMI      Nvidia GPU drivers (FreeBSD/Linux/SunOS/WinNT)
2770 rexy 268
;
269
; Example: If you want to use lmsensors : SENSOR_PROGRAM="LMSensors"
270
;          If you want to use lmsensors and IPMItool: SENSOR_PROGRAM="LMSensors,IPMItool"
271
;
272
SENSOR_PROGRAM=false
273
 
274
 
275
; Show events of sensors
276
; - true : show events
277
; - false : do not show events
278
;
279
SENSOR_EVENTS=true
280
 
281
 
282
; Sort sensors list
283
;
284
SORT_SENSORS_LIST=false
285
 
286
 
287
; Some sensors programs contain an additional configuration in the relevant sections [sensor_...]
288
 
289
 
290
; ********************************
291
;      FILESYSTEM PARAMETERS
292
; ********************************
293
 
294
 
295
; Show mount point
296
; - true : show mount point
297
; - false : do not show mount point
298
;
299
SHOW_MOUNT_POINT=true
300
 
301
 
302
; Show mount option
303
; - true : show mount option
304
; - false : do not show mount option
305
;
306
SHOW_MOUNT_OPTION=true
307
 
308
 
309
; Show mount credentials
310
; - true : show mount credentials
311
; - false : do not show mount credentials
312
;
313
SHOW_MOUNT_CREDENTIALS=false
314
 
315
 
316
; Show inode usage
317
; - true : display used inodes in percent
318
; - false : hide them
319
;
320
SHOW_INODES=false
321
 
322
 
323
; Hide mounts
324
; Example : HIDE_MOUNTS="/home,/usr"
325
;
2841 rexy 326
; HIDE_MOUNTS="/dev,/dev/shm,/run,/run/user/0,/sys/fs/cgroup"
2770 rexy 327
HIDE_MOUNTS=""
328
 
329
 
330
; Filesystem usage warning threshold in percent
331
; - 0 : disabled
332
; - 90 : 90%
333
; Default is 90%
334
;
335
FS_USAGE_THRESHOLD=90
336
 
337
 
338
; Ignore usage and usage threshold for filesystem types
2976 rexy 339
; Example : IGNORE_THRESHOLD_FS_TYPES="packagefs, iso9660, squashfs, devfs, devtmpfs, tmpfs, lxfs, udf, UDF, CDFS"
2770 rexy 340
;
2976 rexy 341
IGNORE_THRESHOLD_FS_TYPES="packagefs, iso9660, squashfs, devfs, devtmpfs, tmpfs, lxfs, udf, UDF, CDFS"
2770 rexy 342
 
343
 
344
; Ignore usage of mounts
345
; Example : IGNORE_USAGE="/root,/mnt/c"
346
;
347
IGNORE_USAGE=""
348
 
349
 
2976 rexy 350
; Ignore total size of mounts
351
; Example : IGNORE_TOTAL="/System/Volumes/VM,/System/Volumes/Prebot"
352
;
353
IGNORE_TOTAL=""
354
 
355
 
2770 rexy 356
; Ignore free space size of mounts
357
; Example : IGNORE_FREE="/zfs/space,/zfs/data"
358
;
359
IGNORE_FREE=""
360
 
361
 
362
; Hide filesystem types
363
; Example : HIDE_FS_TYPES="tmpfs,devtmpfs,usbfs,bstfolder"
364
;
365
HIDE_FS_TYPES="tmpfs,devtmpfs"
366
 
367
 
368
; Hide partitions
369
; Example : HIDE_DISKS="rootfs,/dev/sda1"
370
;           HIDE_DISKS=true  //hide all partitions
371
;
372
HIDE_DISKS=""
373
 
374
 
2976 rexy 375
; Hide totals information
376
;
377
HIDE_TOTALS=false
378
 
379
 
2770 rexy 380
; ********************************
381
;      NETWORK PARAMETERS
382
; ********************************
383
 
384
 
385
; Hide network interfaces
386
; Example : HIDE_NETWORK_INTERFACE="eth0,sit0"
387
;           HIDE_NETWORK_INTERFACE=true  //hide all network interfaces
388
;
389
HIDE_NETWORK_INTERFACE="lo,tun0"
390
 
391
 
392
; Show network interfaces infos for Linux, Android, FreeBSD, NetBSD, OpenBSD, Haiku, Darwin, SunOS, Minix, QNX and WinNT
393
; Example : SHOW_NETWORK_INFOS=true
394
;
395
SHOW_NETWORK_INFOS=true
396
 
397
 
398
; Hide MAC address in the infos
399
;
400
HIDE_NETWORK_MACADDR=false
401
 
402
 
403
; Sort network interfaces list
404
;
405
SORT_NETWORK_INTERFACES_LIST=false
406
 
407
 
408
; Show network infos expanded
409
;
410
SHOW_NETWORK_INFOS_EXPANDED=false
411
 
412
 
413
; Show network active speed
414
; - true : display network active speed
415
; - "bps" : display network active speed in bits per second (b/s, Kb/s, etc...)
416
; - false : hide them
417
;
418
SHOW_NETWORK_ACTIVE_SPEED=true
419
 
420
 
421
; ********************************
422
;        UPS PARAMETERS
423
; ********************************
424
 
425
 
426
; Define the ups monitoring program
427
; We support the following programs so far
428
; - Apcupsd        http://www.apcupsd.com/
429
; - Nut            http://www.networkupstools.org/
430
; - PowerSoftPlus  http://ever.eu/
431
; - pmset          based on the result of the command "pmset -g batt" on Darwin system
432
; - SNMPups        monitoring via Simple Network Management Protocol (SNMP)
433
;
434
; Example: If you want to use Apcupsd : UPS_PROGRAM="Apcupsd"
435
;          If you want to use Apcupsd and Nut : UPS_PROGRAM="Apcupsd,Nut"
436
;
437
UPS_PROGRAM=false
438
 
439
 
440
; Apcupsd supports multiple UPSes
441
; You can specify comma delimited list in the form <hostname>:<port> or <ip>:<port>. The defaults are: 127.0.0.1:3551
442
; See the following parameters in apcupsd.conf: NETSERVER, NISIP, NISPORT
443
; It uses the defaults if not specified.
444
;
445
UPS_APCUPSD_LIST=false
446
 
447
 
448
; Apcupsd has a CGI monitoring utility called apcupsd-cgi
449
; You can set the parameter below to true if you have it installed - this will add apcupsd-cgi links to the UPS tree
450
;
451
UPS_APCUPSD_CGI_ENABLE=false
452
 
453
 
454
; Nut supports multiple UPSes
455
; You can specify comma delimited list in the form <hostname>:<port> or <ip>:<port>. The defaults are: 127.0.0.1:3493
456
; See the following parameters in upsd.conf: LISTEN
457
; It uses the defaults if not specified.
458
;
459
UPS_NUT_LIST=false
460
 
461
 
462
; SNMPups supports multiple UPSes
463
; You can specify comma delimited list in the form <hostname>:<port> or <ip>:<port>. The default port is 161
464
; List must be specified.
465
;
466
UPS_SNMPUPS_LIST=false
467
 
468
 
469
; define how to access the SNMP data
470
; - "php-snmp" execute php snmprealwalk function (php-snmp module must be installed)
471
; - "command" execute snmpwalk command
472
;
473
UPS_SNMPUPS_ACCESS="php-snmp"
474
 
475
 
476
; ********************************
2976 rexy 477
;       MISC PARAMETERS
478
; ********************************
479
 
480
 
481
; define how to access the dmidecode data
482
; - "data" read data from file data/dmidecode.txt
483
; - "command" execute command: dmidecode -t 17
484
;   If access error try execute first: chmod 4755 /usr/sbin/dmidecode
485
;   This method is not recommended for safety reasons!
486
;
487
DMIDECODE_ACCESS="command"
488
 
489
 
490
; ********************************
2770 rexy 491
;    SENSORS PROGRAMS PARAMETERS
492
; ********************************
493
 
494
 
495
[sensor_hddtemp]
496
; Hddtemp motherboard monitoring program configuration
497
;
498
; If the hddtemp program is available we can read the temperature, if hdd is smart capable
499
; !!ATTENTION!! hddtemp might be a security issue
500
; - ACCESS="command"  //read data from 'hddtemp' command (must be set suid)
501
; - ACCESS="tcp"  //read data from hddtemp deamon (localhost:7634)
502
;
503
ACCESS="command"
504
 
505
[sensor_lmsensors]
506
; LMSensors motherboard monitoring program configuration
507
;
508
; - ACCESS="command"  //read data from 'sensors' command
509
; - ACCESS="data"  //read data from file data/lmsensors.txt
510
;
511
ACCESS="command"
512
 
513
[sensor_healthd]
514
; Healthd motherboard monitoring program configuration
515
;
516
; - ACCESS="command"  //read data from 'healthdc' command
517
; - ACCESS="data"  //read data from file data/healthd.txt
518
;
519
ACCESS="command"
520
 
521
[sensor_mbmon]
522
; MBMon motherboard monitoring program configuration
523
;
524
; - ACCESS="command"  //read data from 'mbmon -c 1 -r' command
525
; - ACCESS="data"  //read data from file data/mbmon.txt
526
; - ACCESS="tcp"  //read data from mbmon deamon (localhost:411)
527
;
528
ACCESS="command"
529
 
530
[sensor_ipmitool]
531
; IPMItool motherboard monitoring program configuration
532
;
533
; - ACCESS="command"  //read data from 'ipmitool sensor -v' command
534
;                     //if access error execute first: chmod 666 /dev/ipmi0
535
; - ACCESS="data"  //read data from file data/ipmitool.txt
536
;
537
ACCESS="command"
538
 
539
[sensor_freeipmi]
540
; FreeIPMI motherboard monitoring program configuration
541
;
542
; - ACCESS="command"  //read data from 'ipmi-sensors --output-sensor-thresholds' program
543
; - ACCESS="data"  //read data from file data/freeipmi.txt
544
;
545
ACCESS="command"
546
 
547
[sensor_ipmiutil]
548
; IPMIutil motherboard monitoring program configuration
549
;
550
; - ACCESS="command"  //read data from 'ipmiutil sensor -stw' command
551
;                     //if access error execute first: chmod 666 /dev/ipmi0
552
; - ACCESS="data"  //read data from file data/ipmiutil.txt
553
;
554
ACCESS="command"
555
 
2976 rexy 556
[sensor_ipmicfg]
557
; IPMIcfg motherboard monitoring program configuration
558
;
559
; - ACCESS="command"  //read data from 'ipmicfg -sdr' and/or 'ipmicfg -psfruinfo' command
560
; - ACCESS="data"  //read data from file data/ipmicfg.txt (output from: ipmicfg -sdr>ipmicfg.txt; ipmicfg -psfruinfo>>ipmicfg.txt)
561
;
562
ACCESS="command"
563
 
564
; Execute power supply FRU health info
565
; - true   : execute 'ipmicfg --psfruinfo'
566
; - false  : don't execute 'ipmicfg --psfruinfo'
567
; - "only" : execute 'ipmicfg --psfruinfo' and don't execute 'ipmicfg -sdr'
568
;
569
PSFRUINFO=true
570
 
2770 rexy 571
[sensor_k8temp]
572
; K8Temp motherboard monitoring program configuration
573
;
574
; - ACCESS="command"  //read data from 'k8temp' command
575
; - ACCESS="data"  //read data from file data/k8temp.txt
576
;
577
ACCESS="command"
578
 
2976 rexy 579
[sensor_thermalzone]
580
; ThermalZone motherboard monitoring program configuration
581
;
582
; - ACCESS="command"  //on Linux information is retrieved everytime through system files / on WINNT information is retrieved everytime through WMI
583
; - ACCESS="data"  //read data from file data/thermalzone.txt (output of WinNT command "wmic /namespace:\\root\wmi PATH MSAcpi_ThermalZoneTemperature get CriticalTripPoint,CurrentTemperature,InstanceName")
584
;
585
ACCESS="command"
586
 
2770 rexy 587
[sensor_speedfan]
588
; SpeedFan motherboard monitoring program configuration
589
;
590
; - ACCESS="command"  //read data from 'speedfanget' command
591
; - ACCESS="data"  //read data from file data/speedfan.txt
592
;
593
ACCESS="command"
594
 
2976 rexy 595
[sensor_nvidiasmi]
596
; NvidiaSMI motherboard monitoring program configuration
597
;
598
; - ACCESS="command"  //read data from 'nvidia-smi -q' command
599
; - ACCESS="data"  //read data from file data/nvidiasmi.txt
600
;
601
ACCESS="command"
2770 rexy 602
 
2976 rexy 603
;The path to nvidia-smi.exe for the WinNT system
604
;
605
EXE_PATH="c:\Program Files\NVIDIA Corporation\NVSMI\nvidia-smi.exe"
606
 
607
 
2770 rexy 608
; ********************************
609
;        PLUGINS PARAMETERS
610
; ********************************
611
 
612
 
613
[bat]
614
; BAT Plugin configuration
615
 
616
; define how to access the battery statistic data
617
; - "command" on Linux and Android read data from /proc/acpi/battery/BAT0/info and /proc/acpi/battery/BAT0/state
618
;                or on newer kernel from /sys/class/power_supply/
619
;                or from 'upower -d' command (if UPOWER is true)
620
;             on Android read data from /sys/class/power_supply/ 
621
;             on Darwin read data from 'ioreg -w0 -l -n AppleSmartBattery -r' command
622
;             on FreeBSD read data from 'acpiconf -i batt' command
623
;             on OpenBSD read data from 'sysctl hw.sensors.acpibat0' command
624
; - "data" (a file must be available in the data directory of the phpsysinfo installation
625
;          with the filename "bat_info.txt" and "bat_state.txt"; content is the output
626
;          from "cat /proc/acpi/battery/BAT0/info" and "cat /proc/acpi/battery/BAT0/state")
627
;
628
ACCESS="command"
629
 
630
; on Lunux try executing 'upower -d' command
631
; 
632
UPOWER=false
633
 
634
; Show battery serial number
635
;
636
SHOW_SERIAL=false
637
 
638
 
639
[raid]
640
; Raid Plugin configuration
641
 
642
; define how to access the raid statistic data
2976 rexy 643
; - "command" - mdstat:            file "/proc/mdstat" is read (on Linux only)
644
;             - dmraid:            command "dmraid -s -vv 2>&1" is run (on Linux only)
645
;                                  If access error try execute first: chmod 4755 /sbin/dmraid
646
;                                  This method is not recommended for safety reasons!
647
;             - megactl:           command "megactl" (on Linux only)
648
;                                  downloaded from http://sourceforge.net/projects/megactl/ or http://github.com/hmage/megactl
649
;                                  If permission error try execute first: chmod 4755 /usr/sbin/megactl
650
;             - megasasctl:        command "megasasctl" (on Linux only)
651
;                                  downloaded from http://sourceforge.net/projects/megactl/ or http://github.com/hmage/megactl
652
;                                  If permission error try execute first: chmod 4755 /usr/sbin/megasasctl
653
;             - megaclisas-status: command "megaclisas-status" (or "megaclisas-status.py" on WINNT)
654
;                                  downloaded from http://hwraid.le-vert.net or https://github.com/eLvErDe/hwraid (Python 2) or https://github.com/ElCoyote27/hwraid (Python 3)
655
;             - 3ware-status:      command "3ware-status" (or 3ware-status.py" on WINNT)
656
;                                  downloaded from http://hwraid.le-vert.net or https://github.com/eLvErDe/hwraid or https://github.com/ElCoyote27/hwraid
657
;             - graid:             command "graid list" is run (on FreeBSD only)
658
;             - zpool:             command "zpool status" is run
659
;             - 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
660
; - "php-snmp"- idrac:             execute php snmprealwalk function (php-snmp module must be installed)
2770 rexy 661
;             - for others the option is inactive (uses "command" instead)
662
; - "data" (a file must be available in the data directory of the phpsysinfo installation
2976 rexy 663
;         with the filename "raidmdstat.txt" or "raiddmraid.txt" or "raidmegactl.txt" or "raidmegasasctl.txt" 
664
;         or "raidmegaclisas-status.txt" or "raidgraid.txt" or "raidzpool.txt" or "raididrac{device_number}.txt")
2770 rexy 665
;
666
ACCESS="command"
667
 
668
; define possible programs
2976 rexy 669
PROGRAM="mdstat,dmraid,megactl,megasasctl,megaclisas-status,3ware-status,graid,zpool,idrac"
2770 rexy 670
 
671
; Hide RAID devices
672
; Example : HIDE_DEVICES="md127"
673
;
674
HIDE_DEVICES=""
675
 
676
;
677
; string contains a list of IDRAC devices that are checked
678
; Example : IDRAC_DEVICES="192.168.0.120"
679
;
680
IDRAC_DEVICES=""
681
 
682
[ps]
683
; PS Plugin configuration
684
 
685
; define how to access the ps statistic data
686
; - "command" ps command is run everytime the block gets refreshed or build / on WINNT
687
;             information is retrieved everytime through WMI
688
; - "data" (a file must be available in the data directory of the phpsysinfo installation
2976 rexy 689
;          with the filename "ps.txt"; content is the output from "ps -axo pid,ppid,pmem,pcpu,args")
2770 rexy 690
;
691
ACCESS="command"
692
 
693
; Memory Usage info
694
;
695
MEMORY_USAGE=true
696
 
697
; CPU Usage info
698
;
699
CPU_USAGE=true
700
 
701
; Show kthreadd child list expanded
702
;
703
SHOW_KTHREADD_EXPANDED=false
704
 
705
; Show PID 1 child list expanded
706
;
707
SHOW_PID1CHILD_EXPANDED=false
708
 
709
 
710
[psstatus]
711
; PSStatus Plugin configuration
712
 
713
; define how to access the psstatus statistic data
2976 rexy 714
; - "command" pidof command is run everytime the block gets refreshed or build 
715
;             / on WINNT information is retrieved everytime through WMI
2770 rexy 716
; - "data" a file must be available in the data directory of the phpsysinfo installation
717
;          with the filename "psstatus.txt"; content is the output from
718
;   <code>for ps in "apache2" "mysqld" "sshd"; do echo $ps "|" `pidof -s -x "$ps"`; done</code>
719
;
720
ACCESS="command"
721
 
722
; Regular expression search in the process name (e.g. "ddclient.*")
723
; - true : Regular expression search (used pgrep command)
724
; - false : Normal search (used pidof command)
725
;
726
USE_REGEX=false
727
 
728
; controls which processes are checked if they are running
729
;
730
; string contains a list of process names that are checked, names are seperated by a comma (on WINNT names must end with '.exe')
731
;
732
PROCESSES="mysqld, sshd, explorer.exe"
733
 
734
 
735
[quotas]
736
; Quotas Plugin configuration
737
 
738
; define how to access the repquota statistic data
739
; - "command" repquota command is run everytime the block gets refreshed or build
740
; - "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")
741
;
742
ACCESS="command"
743
 
744
 
745
[smart]
746
; SMART Plugin configuration
747
 
748
; Smartctl program
749
; If the smartctl program is available we can read S.M.A.R.T informations
750
; - "command" smartctl command is run everytime the block gets refreshed or build
751
; if error: Smartctl open device: /dev/sda failed: Permission denied
752
;      Not recommended method:
753
;               execute: chmod 4755 /usr/sbin/smartctl
754
;      Second method:
755
;            try to set: SUDO_COMMANDS="smartctl" and add to file /etc/sudoers line: apache ALL = (ALL) NOPASSWD: /usr/sbin/smartctl
756
; - "data" (a file must be available in the data directory of the
757
;          phpsysinfo installation with the filename "smart{disk_number}.txt";
2976 rexy 758
;          content is the output from "smartctl --all device"
759
;          or on WinNT only from "wmic /namespace:\\root\wmi path MSStorageDriver_ATAPISmartData get VendorSpecific | more +{disk_number}")
2770 rexy 760
; - "wmi" information is retrieved everytime through WMI (WinNT only)
761
;
762
ACCESS="command"
763
 
764
; Smartctl devices to monitor
765
; If the smartctl support is enabled, those disks information will be displayed
766
; - DEVICES="/dev/hda,/dev/hdb"  //Will display those two disks informations
767
; You also can specify --device option value  for smartctl command surrounded by parentheses eg:
768
; - DEVICES="(marvell)/dev/sda"
769
; or
770
; - DEVICES="(megaraid.0)/dev/sda" //comma in --device option value is replaced by a dot
771
;
772
DEVICES="/dev/sda, /dev/sdb"
773
 
774
; Smartctl ID# and column name from "Vendor Specific SMART Attributes with Thresholds" table
775
; If the smartctl support is enabled, enter the ID#-COLUMN_NAME from "Vendor Specific SMART Attributes with Thresholds" table from smartctl output.
776
; or for no SCSI devices: ID#-COLUMN_NAME-REPLACEMENT_ID# where REPLACEMENT_ID# is an alternative ID number.
777
; 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
778
; - IDS="194-VALUE,4-VALUE,009-RAW_VALUE"  //ID#-COLUMN_NAME, ID#-COLUMN_NAME, etc...
2976 rexy 779
; The additional attributes:
780
; ATA Error Count is marked as 0-RAW_VALUE
781
; Non-medium Error Count is marked as 255-RAW_VALUE
2770 rexy 782
;
2976 rexy 783
IDS="005-RAW_VALUE,194-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,0-RAW_VALUE"
2770 rexy 784
 
785
 
786
[snmppinfo]
787
; SNMPPInfo Plugin configuration
788
 
789
; define how to access the SNMP Printer Info statistic data
790
; - "php-snmp" execute php snmprealwalk function (php-snmp module must be installed)
791
; - "command" execute snmpwalk command
792
; - "data" a file must be available in the data directory of the
793
;          phpsysinfo installation with the filename "snmppinfo{printer_number}.txt";
794
; content is the output from:
795
;    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
796
;    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
797
;    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
798
;    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
799
;
800
ACCESS="php-snmp"
801
 
802
;define the Printer devices
803
;
804
; string contains a list of printer addresses that are checked
805
;
806
DEVICES="192.168.0.5, 192.168.0.9"
807
 
808
 
809
[updatenotifier]
810
; Update Notifier Plugin configuration
811
 
812
; define how to access the updatenotifier statistic data
813
; - "command" execute command /usr/lib/update-notifier/apt-check
814
; - "data" reads data from file defined in FILE parameter
815
;
816
ACCESS="data"
817
 
818
; define the update info file format
819
; - true: Ubuntu Landscape format (file: /var/lib/update-notifier/updates-available)
820
; - false: universal format   (format: A;B)
821
;          A: total packages to update
822
;          B: security packages to update
823
;
824
UBUNTU_LANDSCAPE_FORMAT=true
825
 
826
; define the update info file. The default is: /var/lib/update-notifier/updates-available
827
;
828
FILE="/var/lib/update-notifier/updates-available"
829
 
830
 
831
[uprecords]
832
; Uprecords Plugin configuration
833
 
834
; define how to access the uprecords statistic data
835
; - "command" uprecords command is run everytime the block gets refreshed or build
836
;             if access error try execute first: chmod 4755 /usr/bin/uprecords
837
;             This method is not recommended for safety reasons!
838
; - "data" (a file must be available in the data directory of the phpsysinfo installation
839
;          with the filename "uprecords.txt"; content is the output from "TZ=GMT uprecords -a -w")
840
;
841
ACCESS="command"
842
 
843
; define the maximum number of entries to show (for command access)
844
; default is 10
845
;
846
MAX_ENTRIES = 10
847
 
848
; define the short mode (do not print extra statistics)
849
; default is false
850
;
851
SHORT_MODE = false
852
 
853
; denote current system session by asterisk (* at the end) instead  by the arrow (-> at the beginning)
854
; default is false
855
;
856
DENOTE_BY_ASTERISK = false
857
 
858
 
2976 rexy 859
[viewer]
860
; Viewer Plugin configuration
2770 rexy 861
 
2976 rexy 862
; define how to access the data
863
; - "command" COMMAND command is run everytime the block gets refreshed or build
864
; - "data" (a file must be available in the data directory of the phpsysinfo installation with the filename "viewer.txt")
2770 rexy 865
;
866
ACCESS="command"
867
 
2976 rexy 868
; define COMMAND name (for command access)
869
; eg:
870
; - "iptables-save" iptables-save command is run everytime the block gets refreshed or build (Linux)
871
;                   if access error try to set: SUDO_COMMANDS="iptables-save" and add to file /etc/sudoers line: apache ALL = (ALL) NOPASSWD: /sbin/iptables-save
872
; - "systeminfo"    systeminfo command is run everytime the block gets refreshed or build (WinNT)
873
;
2770 rexy 874
 
2976 rexy 875
COMMAND=""
876
 
877
; define COMMAND parameters (for command access)
878
;
879
PARAMS=""
880
 
2770 rexy 881
[pingtest]
882
; PingTest Plugin configuration
883
 
884
; define how to access the psstatus statistic data
885
; - "command" ping command is run everytime the block gets refreshed or build 
886
; - "data" (a file must be available in the data directory of the phpsysinfo installation
887
;          with the filename "pingtest.txt")
888
;
889
ACCESS="command"
890
 
891
;define the Addresses
892
;
893
; string contains a list of addresses that are checked
894
; Example : ADDRESSES="127.0.0.1,8.8.8.8"
895
;
896
ADDRESSES=""
897
 
898
; Define ping timeout in seconds
899
; - 0 : default ping command timeout
900
; - 3 : 3 seconds
901
; Default is 2 seconds
902
;
903
TIMEOUT=2
904
 
905
[stablebit]
906
; StableBit Plugin configuration
907
 
908
; Show or hide disks serial number
909
;
910
SHOW_SERIAL=false
911
 
912
[hyperv]
913
; HyperV Plugin configuration
914
 
915
; define how to access the ps statistic data
916
; - "command" information is retrieved through WMI
917
; - "data" (a file must be available in the data directory of the phpsysinfo installation
918
;          with the filename "hyperv.txt")
919
;
920
ACCESS="command"
921
 
922
[docker]
923
; Docker Plugin configuration
924
 
925
; define how to access the docker statistic data
926
; - "command" docker command is run everytime the block gets refreshed or build
927
; - "data" (a file must be available in the data directory of the phpsysinfo installation
928
;          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}}'")
929
;
930
ACCESS="command"