Subversion Repositories ALCASAR

Rev

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