Subversion Repositories ALCASAR

Rev

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