Subversion Repositories ALCASAR

Rev

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