Subversion Repositories ALCASAR

Rev

Rev 2976 | Rev 3100 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2976 Rev 3037
Line 73... Line 73...
73
 
73
 
74
; snmprealwalk() and executeProgram("snmpwalk") number of times to retry if timeouts occur
74
; snmprealwalk() and executeProgram("snmpwalk") number of times to retry if timeouts occur
75
;
75
;
76
;SNMP_RETRY=0
76
;SNMP_RETRY=0
77
 
77
 
-
 
78
; Root path of the system
-
 
79
; Example : ROOTFS="/rootfs"
-
 
80
;
-
 
81
;ROOTFS="/"
-
 
82
 
78
; External WinNT server connection parameters
83
; External WinNT server connection parameters
79
; Possibility available for WinNT and partly for LINUX (if wmic tool from wmic-linux or openvas-smb package is installed)
84
; Possibility available for WinNT and partly for LINUX (if wmic tool from wmic-linux or openvas-smb package is installed)
80
; These settings can also be entered for a specific plug-in so that only it connects to an external server
85
; These settings can also be entered for a specific plug-in so that only it connects to an external server
81
; For safety reasons make sure that phpsysinfo.ini cannot be read by the network or other users!
86
; For safety reasons make sure that phpsysinfo.ini cannot be read by the network or other users!
82
;
87
;
Line 101... Line 106...
101
; - Uprecords      - show uprecords info
106
; - Uprecords      - show uprecords info
102
; - PingTest       - show Ping Test info
107
; - PingTest       - show Ping Test info
103
; - StableBit      - show StableBit Scanner info (WinNT)
108
; - StableBit      - show StableBit Scanner info (WinNT)
104
; - HyperV         - show Hyper-V info (WinNT)
109
; - HyperV         - show Hyper-V info (WinNT)
105
; - Docker         - show docker stats
110
; - Docker         - show docker stats
106
; - Viewer         - show output of any command or file viewer.txt contents
111
; - Viewer         - show output of any command or file viewer.tmp contents
107
;
112
;
108
PLUGINS=false
113
PLUGINS=false
109
 
114
 
110
 
115
 
111
; ********************************
116
; ********************************
Line 142... Line 147...
142
SHOW_PICKLIST_LANG=false
147
SHOW_PICKLIST_LANG=false
143
 
148
 
144
 
149
 
145
; Show or hide template picklist
150
; Show or hide template picklist
146
;
151
;
147
SHOW_PICKLIST_TEMPLATE=false
152
SHOW_PICKLIST_TEMPLATE=true
148
 
153
 
149
 
154
 
150
; Show CPU list expanded
155
; Show CPU list expanded
151
;
156
;
152
SHOW_CPULIST_EXPANDED=true
157
SHOW_CPULIST_EXPANDED=true
Line 160... Line 165...
160
; Show memory infos expanded
165
; Show memory infos expanded
161
;
166
;
162
SHOW_MEMORY_INFOS_EXPANDED=false
167
SHOW_MEMORY_INFOS_EXPANDED=false
163
 
168
 
164
 
169
 
-
 
170
; Show virtualizer info for Linux, Android and WinNT
-
 
171
;
-
 
172
SHOW_VIRTUALIZER_INFO=true
-
 
173
 
-
 
174
 
165
; Hide loader for frontend "bootstrap"
175
; Hide loader for frontend "bootstrap"
166
;
176
;
167
HIDE_BOOTSTRAP_LOADER=true
177
HIDE_BOOTSTRAP_LOADER=false
-
 
178
 
-
 
179
 
-
 
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
168
 
186
 
169
 
187
 
170
; Define the interval for refreshing data in ms
188
; Define the interval for refreshing data in ms
171
; - 0 : disabled
189
; - 0 : disabled
172
; - 1000 : 1 second
190
; - 1000 : 1 second
Line 176... Line 194...
176
 
194
 
177
 
195
 
178
; Show a graph for current cpuload
196
; Show a graph for current cpuload
179
; - true : displayed, but it's a performance hit (because we have to wait to get a value, 1 second)
197
; - true : displayed, but it's a performance hit (because we have to wait to get a value, 1 second)
180
; - "compact" : displayed like above but in compact mode
198
; - "compact" : displayed like above but in compact mode
181
; - false : will not be displayed
199
; - false : will not be displayed (also in Load Averages field)
182
;
200
;
183
LOAD_BAR=true
201
LOAD_BAR=true
184
 
202
 
185
 
203
 
186
; Display the virtual host name and address
204
; Display the virtual host name and address
Line 249... Line 267...
249
; - LMSensors      http://www.lm-sensors.org/ (Linux)
267
; - LMSensors      http://www.lm-sensors.org/ (Linux)
250
; - Healthd        http://healthd.thehousleys.net/ (FreeBSD)
268
; - Healthd        http://healthd.thehousleys.net/ (FreeBSD)
251
; - HWSensors      http://www.openbsd.org/ (OpenBSD)
269
; - HWSensors      http://www.openbsd.org/ (OpenBSD)
252
; - MBMon          http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/download.html (FreeBSD/Linux/NetBSD/OpenBSD)
270
; - MBMon          http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/download.html (FreeBSD/Linux/NetBSD/OpenBSD)
253
; - MBM5           http://mbm.livewiredev.com/ (data from file data/MBM5.csv - WinNT)
271
; - MBM5           http://mbm.livewiredev.com/ (data from file data/MBM5.csv - WinNT)
254
; - Coretemp       No addon tool neded (FreeBSD/Linux)
272
; - CpuMem         No addon tool neded (FreeBSD/Linux/WinNT or others but with the dmidecode utility installed)
255
; - IPMItool       http://ipmitool.sourceforge.net/ (Linux)
273
; - IPMItool       http://ipmitool.sourceforge.net/ (Linux)
256
; - FreeIPMI       http://www.gnu.org/software/freeipmi/ (FreeBSD/Linux/OpenBSD/SunOS)
274
; - FreeIPMI       http://www.gnu.org/software/freeipmi/ (FreeBSD/Linux/OpenBSD/SunOS)
257
; - IPMIutil       http://ipmiutil.sourceforge.net/ (Darwin/FreeBSD/Linux/SunOS/WinNT)
275
; - IPMIutil       http://ipmiutil.sourceforge.net/ (Darwin/FreeBSD/Linux/SunOS/WinNT)
258
; - IPMIcfg        http://www.supermicro.com/en/solutions/management-software/ipmi-utilities (Linux/WinNT)
276
; - IPMIcfg        http://www.supermicro.com/en/solutions/management-software/ipmi-utilities (Linux/WinNT)
259
; - K8Temp         http://hur.st/k8temp/ (DragonFly/FreeBSD/NetBSD/OpenBSD)
277
; - K8Temp         http://hur.st/k8temp/ (DragonFly/FreeBSD/NetBSD/OpenBSD)
Line 315... Line 333...
315
 
333
 
316
; Show inode usage
334
; Show inode usage
317
; - true : display used inodes in percent
335
; - true : display used inodes in percent
318
; - false : hide them
336
; - false : hide them
319
;
337
;
320
SHOW_INODES=false
338
SHOW_INODES=true
321
 
339
 
322
 
340
 
323
; Hide mounts
341
; Hide mounts
324
; Example : HIDE_MOUNTS="/home,/usr"
342
; Example : HIDE_MOUNTS="/home,/usr"
325
;
343
;
326
; HIDE_MOUNTS="/dev,/dev/shm,/run,/run/user/0,/sys/fs/cgroup"
-
 
327
HIDE_MOUNTS=""
344
HIDE_MOUNTS=""
328
 
345
 
329
 
346
 
330
; Filesystem usage warning threshold in percent
347
; Filesystem usage warning threshold in percent
331
; - 0 : disabled
348
; - 0 : disabled
Line 387... Line 404...
387
;           HIDE_NETWORK_INTERFACE=true  //hide all network interfaces
404
;           HIDE_NETWORK_INTERFACE=true  //hide all network interfaces
388
;
405
;
389
HIDE_NETWORK_INTERFACE="lo,tun0"
406
HIDE_NETWORK_INTERFACE="lo,tun0"
390
 
407
 
391
 
408
 
-
 
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
 
392
; Show network interfaces infos for Linux, Android, FreeBSD, NetBSD, OpenBSD, Haiku, Darwin, SunOS, Minix, QNX and WinNT
416
; Show network interfaces infos for Linux, Android, FreeBSD, NetBSD, OpenBSD, Haiku, Darwin, SunOS, Minix, QNX and WinNT
393
; Example : SHOW_NETWORK_INFOS=true
417
; Example : SHOW_NETWORK_INFOS=true
394
;
418
;
395
SHOW_NETWORK_INFOS=true
419
SHOW_NETWORK_INFOS=true
396
 
420
 
Line 425... Line 449...
425
 
449
 
426
; Define the ups monitoring program
450
; Define the ups monitoring program
427
; We support the following programs so far
451
; We support the following programs so far
428
; - Apcupsd        http://www.apcupsd.com/
452
; - Apcupsd        http://www.apcupsd.com/
429
; - Nut            http://www.networkupstools.org/
453
; - Nut            http://www.networkupstools.org/
-
 
454
; - SNMPups        monitoring via Simple Network Management Protocol (SNMP)
430
; - PowerSoftPlus  http://ever.eu/
455
; - PowerSoftPlus  http://ever.eu/
431
; - pmset          based on the result of the command "pmset -g batt" on Darwin system
456
; - pmset          based on the result of the command "pmset -g batt" on Darwin system
432
; - SNMPups        monitoring via Simple Network Management Protocol (SNMP)
-
 
433
;
457
;
434
; Example: If you want to use Apcupsd : UPS_PROGRAM="Apcupsd"
458
; Example: If you want to use Apcupsd : UPS_PROGRAM="Apcupsd"
435
;          If you want to use Apcupsd and Nut : UPS_PROGRAM="Apcupsd,Nut"
459
;          If you want to use Apcupsd and Nut : UPS_PROGRAM="Apcupsd,Nut"
436
;
460
;
437
UPS_PROGRAM=false
461
UPS_PROGRAM=false
438
 
462
 
439
 
463
 
440
; Apcupsd supports multiple UPSes
464
; Apcupsd supports multiple UPSes
441
; You can specify comma delimited list in the form <hostname>:<port> or <ip>:<port>. The defaults are: 127.0.0.1:3551
465
; You can specify comma delimited list in the form <hostname>:<port> or <ip>:<port>. The defaults are: "127.0.0.1:3551"
442
; See the following parameters in apcupsd.conf: NETSERVER, NISIP, NISPORT
466
; See the following parameters in apcupsd.conf: NETSERVER, NISIP, NISPORT
443
; It uses the defaults if not specified.
467
; It uses the defaults if not specified.
444
;
468
;
445
UPS_APCUPSD_LIST=false
469
UPS_APCUPSD_LIST=false
446
 
470
 
447
 
471
 
-
 
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
 
448
; Apcupsd has a CGI monitoring utility called apcupsd-cgi
480
; Apcupsd has a CGI monitoring utility called apcupsd-cgi
449
; You can set the parameter below to true if you have it installed - this will add apcupsd-cgi links to the UPS tree
481
; You can set the parameter below to true if you have it installed - this will add apcupsd-cgi links to the UPS tree
450
;
482
;
451
UPS_APCUPSD_CGI_ENABLE=false
483
UPS_APCUPSD_CGI_ENABLE=false
452
 
484
 
453
 
485
 
454
; Nut supports multiple UPSes
486
; Nut supports multiple UPSes
455
; You can specify comma delimited list in the form <hostname>:<port> or <ip>:<port>. The defaults are: 127.0.0.1:3493
487
; You can specify comma delimited list in the form <hostname>:<port> or <ip>:<port>. The defaults are: "127.0.0.1:3493"
456
; See the following parameters in upsd.conf: LISTEN
488
; See the following parameters in upsd.conf: LISTEN
457
; It uses the defaults if not specified.
489
; It uses the defaults if not specified.
458
;
490
;
459
UPS_NUT_LIST=false
491
UPS_NUT_LIST=false
460
 
492
 
461
 
493
 
-
 
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
 
462
; SNMPups supports multiple UPSes
502
; SNMPups supports multiple UPSes
463
; You can specify comma delimited list in the form <hostname>:<port> or <ip>:<port>. The default port is 161
503
; You can specify comma delimited list in the form <hostname>:<port> or <ip>:<port>. The default port is 161
464
; List must be specified.
504
; List must be specified.
465
;
505
;
466
UPS_SNMPUPS_LIST=false
506
UPS_SNMPUPS_LIST=false
467
 
507
 
468
 
508
 
469
; define how to access the SNMP data
509
; define how to access the SNMP data
470
; - "php-snmp" execute php snmprealwalk function (php-snmp module must be installed)
510
; - "php-snmp" execute php snmprealwalk function (php-snmp module must be installed)
471
; - "command" execute snmpwalk command
511
; - "command" execute snmpwalk command
-
 
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"
472
;
518
;
473
UPS_SNMPUPS_ACCESS="php-snmp"
519
UPS_SNMPUPS_ACCESS="php-snmp"
474
 
520
 
475
 
521
 
-
 
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
 
476
; ********************************
538
; ********************************
477
;       MISC PARAMETERS
539
;       MISC PARAMETERS
478
; ********************************
540
; ********************************
479
 
541
 
480
 
542
 
481
; define how to access the dmidecode data
543
; define how to access the dmidecode data
482
; - "data" read data from file data/dmidecode.txt
544
; - "data" read data from file data/dmidecode.tmp; content is the output from "dmidecode -t 17")
483
; - "command" execute command: dmidecode -t 17
545
; - "command" execute command: dmidecode -t 17
484
;   If access error try execute first: chmod 4755 /usr/sbin/dmidecode
546
;   If access error try execute first: chmod 4755 /usr/sbin/dmidecode
485
;   This method is not recommended for safety reasons!
547
;   This method is not recommended for safety reasons!
486
;
548
;
487
DMIDECODE_ACCESS="command"
549
DMIDECODE_ACCESS="command"
Line 504... Line 566...
504
 
566
 
505
[sensor_lmsensors]
567
[sensor_lmsensors]
506
; LMSensors motherboard monitoring program configuration
568
; LMSensors motherboard monitoring program configuration
507
;
569
;
508
; - ACCESS="command"  //read data from 'sensors' command
570
; - ACCESS="command"  //read data from 'sensors' command
509
; - ACCESS="data"  //read data from file data/lmsensors.txt
571
; - ACCESS="data"  //read data from file data/lmsensors.tmp
510
;
572
;
511
ACCESS="command"
573
ACCESS="command"
512
 
574
 
513
[sensor_healthd]
575
[sensor_healthd]
514
; Healthd motherboard monitoring program configuration
576
; Healthd motherboard monitoring program configuration
515
;
577
;
516
; - ACCESS="command"  //read data from 'healthdc' command
578
; - ACCESS="command"  //read data from 'healthdc' command
517
; - ACCESS="data"  //read data from file data/healthd.txt
579
; - ACCESS="data"  //read data from file data/healthd.tmp
518
;
580
;
519
ACCESS="command"
581
ACCESS="command"
520
 
582
 
521
[sensor_mbmon]
583
[sensor_mbmon]
522
; MBMon motherboard monitoring program configuration
584
; MBMon motherboard monitoring program configuration
523
;
585
;
524
; - ACCESS="command"  //read data from 'mbmon -c 1 -r' command
586
; - ACCESS="command"  //read data from 'mbmon -c 1 -r' command
525
; - ACCESS="data"  //read data from file data/mbmon.txt
587
; - ACCESS="data"  //read data from file data/mbmon.tmp
526
; - ACCESS="tcp"  //read data from mbmon deamon (localhost:411)
588
; - ACCESS="tcp"  //read data from mbmon deamon (localhost:411)
527
;
589
;
528
ACCESS="command"
590
ACCESS="command"
529
 
591
 
530
[sensor_ipmitool]
592
[sensor_ipmitool]
531
; IPMItool motherboard monitoring program configuration
593
; IPMItool motherboard monitoring program configuration
532
;
594
;
533
; - ACCESS="command"  //read data from 'ipmitool sensor -v' command
595
; - ACCESS="command"  //read data from 'ipmitool sensor -v' command
534
;                     //if access error execute first: chmod 666 /dev/ipmi0
596
;                     //if access error execute first: chmod 666 /dev/ipmi0
535
; - ACCESS="data"  //read data from file data/ipmitool.txt
597
; - ACCESS="data"  //read data from file data/ipmitool.tmp
536
;
598
;
537
ACCESS="command"
599
ACCESS="command"
538
 
600
 
539
[sensor_freeipmi]
601
[sensor_freeipmi]
540
; FreeIPMI motherboard monitoring program configuration
602
; FreeIPMI motherboard monitoring program configuration
541
;
603
;
542
; - ACCESS="command"  //read data from 'ipmi-sensors --output-sensor-thresholds' program
604
; - ACCESS="command"  //read data from 'ipmi-sensors --output-sensor-thresholds' program
543
; - ACCESS="data"  //read data from file data/freeipmi.txt
605
; - ACCESS="data"  //read data from file data/freeipmi.tmp
544
;
606
;
545
ACCESS="command"
607
ACCESS="command"
546
 
608
 
547
[sensor_ipmiutil]
609
[sensor_ipmiutil]
548
; IPMIutil motherboard monitoring program configuration
610
; IPMIutil motherboard monitoring program configuration
549
;
611
;
550
; - ACCESS="command"  //read data from 'ipmiutil sensor -stw' command
612
; - ACCESS="command"  //read data from 'ipmiutil sensor -stw' command
551
;                     //if access error execute first: chmod 666 /dev/ipmi0
613
;                     //if access error execute first: chmod 666 /dev/ipmi0
552
; - ACCESS="data"  //read data from file data/ipmiutil.txt
614
; - ACCESS="data"  //read data from file data/ipmiutil.tmp
553
;
615
;
554
ACCESS="command"
616
ACCESS="command"
555
 
617
 
556
[sensor_ipmicfg]
618
[sensor_ipmicfg]
557
; IPMIcfg motherboard monitoring program configuration
619
; IPMIcfg motherboard monitoring program configuration
558
;
620
;
559
; - ACCESS="command"  //read data from 'ipmicfg -sdr' and/or 'ipmicfg -psfruinfo' command
621
; - ACCESS="command"  //read data from 'ipmicfg -sdr' and/or 'ipmicfg -psfruinfo' command
560
; - ACCESS="data"  //read data from file data/ipmicfg.txt (output from: ipmicfg -sdr>ipmicfg.txt; ipmicfg -psfruinfo>>ipmicfg.txt)
622
; - ACCESS="data"  //read data from file data/ipmicfg.tmp (output from: "ipmicfg -sdr>ipmicfg.tmp; ipmicfg -psfruinfo>>ipmicfg.tmp")
561
;
623
;
562
ACCESS="command"
624
ACCESS="command"
563
 
625
 
564
; Execute power supply FRU health info
626
; Execute power supply FRU health info
565
; - true   : execute 'ipmicfg --psfruinfo'
627
; - true   : execute 'ipmicfg --psfruinfo'
Line 570... Line 632...
570
 
632
 
571
[sensor_k8temp]
633
[sensor_k8temp]
572
; K8Temp motherboard monitoring program configuration
634
; K8Temp motherboard monitoring program configuration
573
;
635
;
574
; - ACCESS="command"  //read data from 'k8temp' command
636
; - ACCESS="command"  //read data from 'k8temp' command
575
; - ACCESS="data"  //read data from file data/k8temp.txt
637
; - ACCESS="data"  //read data from file data/k8temp.tmp
576
;
638
;
577
ACCESS="command"
639
ACCESS="command"
578
 
640
 
579
[sensor_thermalzone]
641
[sensor_thermalzone]
580
; ThermalZone motherboard monitoring program configuration
642
; ThermalZone motherboard monitoring program configuration
581
;
643
;
582
; - ACCESS="command"  //on Linux information is retrieved everytime through system files / on WINNT information is retrieved everytime through WMI
644
; - ACCESS="command"  //on Linux information is retrieved everytime through system files / on WinNT information is retrieved everytime through WMI
583
; - ACCESS="data"  //read data from file data/thermalzone.txt (output of WinNT command "wmic /namespace:\\root\wmi PATH MSAcpi_ThermalZoneTemperature get CriticalTripPoint,CurrentTemperature,InstanceName")
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")
584
;
646
;
585
ACCESS="command"
647
ACCESS="command"
586
 
648
 
587
[sensor_speedfan]
649
[sensor_speedfan]
588
; SpeedFan motherboard monitoring program configuration
650
; SpeedFan motherboard monitoring program configuration
589
;
651
;
590
; - ACCESS="command"  //read data from 'speedfanget' command
652
; - ACCESS="command"  //read data from 'speedfanget' command
591
; - ACCESS="data"  //read data from file data/speedfan.txt
653
; - ACCESS="data"  //read data from file data/speedfan.tmp
592
;
654
;
593
ACCESS="command"
655
ACCESS="command"
594
 
656
 
595
[sensor_nvidiasmi]
657
[sensor_nvidiasmi]
596
; NvidiaSMI motherboard monitoring program configuration
658
; NvidiaSMI motherboard monitoring program configuration
597
;
659
;
598
; - ACCESS="command"  //read data from 'nvidia-smi -q' command
660
; - ACCESS="command"  //read data from 'nvidia-smi -q' command
599
; - ACCESS="data"  //read data from file data/nvidiasmi.txt
661
; - ACCESS="data"  //read data from file data/nvidiasmi.tmp
600
;
662
;
601
ACCESS="command"
663
ACCESS="command"
602
 
664
 
603
;The path to nvidia-smi.exe for the WinNT system
665
;The path to nvidia-smi.exe for the WinNT system
604
;
666
;
Line 620... Line 682...
620
;             on Android read data from /sys/class/power_supply/ 
682
;             on Android read data from /sys/class/power_supply/ 
621
;             on Darwin read data from 'ioreg -w0 -l -n AppleSmartBattery -r' command
683
;             on Darwin read data from 'ioreg -w0 -l -n AppleSmartBattery -r' command
622
;             on FreeBSD read data from 'acpiconf -i batt' command
684
;             on FreeBSD read data from 'acpiconf -i batt' command
623
;             on OpenBSD read data from 'sysctl hw.sensors.acpibat0' command
685
;             on OpenBSD read data from 'sysctl hw.sensors.acpibat0' command
624
; - "data" (a file must be available in the data directory of the phpsysinfo installation
686
; - "data" (a file must be available in the data directory of the phpsysinfo installation
625
;          with the filename "bat_info.txt" and "bat_state.txt"; content is the output
687
;          with the filename "bat_info.tmp" and "bat_state.tmp"; content is the output
626
;          from "cat /proc/acpi/battery/BAT0/info" and "cat /proc/acpi/battery/BAT0/state")
688
;          from "cat /proc/acpi/battery/BAT0/info" and "cat /proc/acpi/battery/BAT0/state")
627
;
689
;
628
ACCESS="command"
690
ACCESS="command"
629
 
691
 
630
; on Lunux try executing 'upower -d' command
692
; on Lunux try executing 'upower -d' command
Line 648... Line 710...
648
;                                  downloaded from http://sourceforge.net/projects/megactl/ or http://github.com/hmage/megactl
710
;                                  downloaded from http://sourceforge.net/projects/megactl/ or http://github.com/hmage/megactl
649
;                                  If permission error try execute first: chmod 4755 /usr/sbin/megactl
711
;                                  If permission error try execute first: chmod 4755 /usr/sbin/megactl
650
;             - megasasctl:        command "megasasctl" (on Linux only)
712
;             - megasasctl:        command "megasasctl" (on Linux only)
651
;                                  downloaded from http://sourceforge.net/projects/megactl/ or http://github.com/hmage/megactl
713
;                                  downloaded from http://sourceforge.net/projects/megactl/ or http://github.com/hmage/megactl
652
;                                  If permission error try execute first: chmod 4755 /usr/sbin/megasasctl
714
;                                  If permission error try execute first: chmod 4755 /usr/sbin/megasasctl
653
;             - megaclisas-status: command "megaclisas-status" (or "megaclisas-status.py" on WINNT)
715
;             - megaclisas-status: command "megaclisas-status" (or "megaclisas-status.py" on WinNT)
654
;                                  downloaded from http://hwraid.le-vert.net or https://github.com/eLvErDe/hwraid (Python 2) or https://github.com/ElCoyote27/hwraid (Python 3)
716
;                                  downloaded from http://hwraid.le-vert.net or https://github.com/eLvErDe/hwraid (Python 2) or https://github.com/ElCoyote27/hwraid (Python 3)
655
;             - 3ware-status:      command "3ware-status" (or 3ware-status.py" on WINNT)
717
;             - 3ware-status:      command "3ware-status" (or 3ware-status.py" on WinNT)
656
;                                  downloaded from http://hwraid.le-vert.net or https://github.com/eLvErDe/hwraid or https://github.com/ElCoyote27/hwraid
718
;                                  downloaded from http://hwraid.le-vert.net or https://github.com/eLvErDe/hwraid or https://github.com/ElCoyote27/hwraid
657
;             - graid:             command "graid list" is run (on FreeBSD only)
719
;             - graid:             command "graid list" is run (on FreeBSD only)
658
;             - zpool:             command "zpool status" is run
720
;             - zpool:             command "zpool status" is run
659
;             - idrac:             command "snmpwalk -Ona -c public -v 1 -r 0 -t 3 {device} .1.3.6.1.4.1.674.10892.5.5.1.20" is run
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
660
; - "php-snmp"- idrac:             execute php snmprealwalk function (php-snmp module must be installed)
722
; - "php-snmp"- idrac:             execute php snmprealwalk function (php-snmp module must be installed)
661
;             - for others the option is inactive (uses "command" instead)
723
;             - for others the option is inactive (uses "command" instead)
662
; - "data" (a file must be available in the data directory of the phpsysinfo installation
724
; - "data" (a file must be available in the data directory of the phpsysinfo installation
663
;         with the filename "raidmdstat.txt" or "raiddmraid.txt" or "raidmegactl.txt" or "raidmegasasctl.txt" 
725
;         with the filename "raidmdstat.tmp" or "raiddmraid.tmp" or "raidmegactl.tmp" or "raidmegasasctl.tmp" 
664
;         or "raidmegaclisas-status.txt" or "raidgraid.txt" or "raidzpool.txt" or "raididrac{device_number}.txt")
726
;         or "raidmegaclisas-status.tmp" or "raidgraid.tmp" or "raidzpool.tmp" or "raididrac{device_number}.tmp")
665
;
727
;
666
ACCESS="command"
728
ACCESS="command"
667
 
729
 
668
; define possible programs
730
; define possible programs
669
PROGRAM="mdstat,dmraid,megactl,megasasctl,megaclisas-status,3ware-status,graid,zpool,idrac"
731
PROGRAM="mdstat,dmraid,megactl,megasasctl,megaclisas-status,3ware-status,graid,zpool,idrac"
Line 681... Line 743...
681
 
743
 
682
[ps]
744
[ps]
683
; PS Plugin configuration
745
; PS Plugin configuration
684
 
746
 
685
; define how to access the ps statistic data
747
; define how to access the ps statistic data
686
; - "command" ps command is run everytime the block gets refreshed or build / on WINNT
748
; - "command" ps command is run everytime the block gets refreshed or build / on WinNT
687
;             information is retrieved everytime through WMI
749
;             information is retrieved everytime through WMI
688
; - "data" (a file must be available in the data directory of the phpsysinfo installation
750
; - "data" (a file must be available in the data directory of the phpsysinfo installation
689
;          with the filename "ps.txt"; content is the output from "ps -axo pid,ppid,pmem,pcpu,args")
751
;          with the filename "ps.tmp"; content is the output from "ps -axo pid,ppid,pmem,pcpu,args")
690
;
752
;
691
ACCESS="command"
753
ACCESS="command"
692
 
754
 
693
; Memory Usage info
755
; Memory Usage info
694
;
756
;
Line 710... Line 772...
710
[psstatus]
772
[psstatus]
711
; PSStatus Plugin configuration
773
; PSStatus Plugin configuration
712
 
774
 
713
; define how to access the psstatus statistic data
775
; define how to access the psstatus statistic data
714
; - "command" pidof command is run everytime the block gets refreshed or build 
776
; - "command" pidof command is run everytime the block gets refreshed or build 
715
;             / on WINNT information is retrieved everytime through WMI
777
;             / on WinNT information is retrieved everytime through WMI
716
; - "data" a file must be available in the data directory of the phpsysinfo installation
778
; - "data" a file must be available in the data directory of the phpsysinfo installation
717
;          with the filename "psstatus.txt"; content is the output from
779
;          with the filename "psstatus.tmp"; content is the output from
718
;   <code>for ps in "apache2" "mysqld" "sshd"; do echo $ps "|" `pidof -s -x "$ps"`; done</code>
780
;   <code>for ps in "apache2" "mysqld" "sshd"; do echo $ps "|" `pidof -s -x "$ps"`; done</code>
719
;
781
;
720
ACCESS="command"
782
ACCESS="command"
721
 
783
 
722
; Regular expression search in the process name (e.g. "ddclient.*")
784
; Regular expression search in the process name (e.g. "ddclient.*") for non-WinNT systems 
723
; - true : Regular expression search (used pgrep command)
785
; - true : Regular expression search (used pgrep command)
724
; - false : Normal search (used pidof command)
786
; - false : Normal search (used pidof command)
725
;
787
;
726
USE_REGEX=false
788
USE_REGEX=false
727
 
789
 
728
; controls which processes are checked if they are running
790
; controls which processes are checked if they are running
729
;
791
;
730
; string contains a list of process names that are checked, names are seperated by a comma (on WINNT names must end with '.exe')
792
; string contains a list of process names that are checked, names are seperated by a comma (on WinNT names must end with '.exe')
731
;
793
;
732
PROCESSES="mysqld, sshd, explorer.exe"
794
PROCESSES="mysqld, sshd, explorer.exe"
733
 
795
 
734
 
796
 
735
[quotas]
797
[quotas]
736
; Quotas Plugin configuration
798
; Quotas Plugin configuration
737
 
799
 
738
; define how to access the repquota statistic data
800
; define how to access the repquota statistic data
739
; - "command" repquota command is run everytime the block gets refreshed or build
801
; - "command" repquota command is run everytime the block gets refreshed or build
740
; - "data" (a file must be available in the data directory of the phpsysinfo installation with the filename "quotas.txt"; content is the output from "repquota -au")
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")
741
;
803
;
742
ACCESS="command"
804
ACCESS="command"
743
 
805
 
744
 
806
 
745
[smart]
807
[smart]
Line 752... Line 814...
752
;      Not recommended method:
814
;      Not recommended method:
753
;               execute: chmod 4755 /usr/sbin/smartctl
815
;               execute: chmod 4755 /usr/sbin/smartctl
754
;      Second method:
816
;      Second method:
755
;            try to set: SUDO_COMMANDS="smartctl" and add to file /etc/sudoers line: apache ALL = (ALL) NOPASSWD: /usr/sbin/smartctl
817
;            try to set: SUDO_COMMANDS="smartctl" and add to file /etc/sudoers line: apache ALL = (ALL) NOPASSWD: /usr/sbin/smartctl
756
; - "data" (a file must be available in the data directory of the
818
; - "data" (a file must be available in the data directory of the
757
;          phpsysinfo installation with the filename "smart{disk_number}.txt";
819
;          phpsysinfo installation with the filename "smart{disk_number}.tmp";
758
;          content is the output from "smartctl --all device"
820
;          content is the output from "smartctl --all device"
759
;          or on WinNT only from "wmic /namespace:\\root\wmi path MSStorageDriver_ATAPISmartData get VendorSpecific | more +{disk_number}")
821
;          or on WinNT only from "wmic /namespace:\\root\wmi path MSStorageDriver_ATAPISmartData get VendorSpecific | more +{disk_number}")
760
; - "wmi" information is retrieved everytime through WMI (WinNT only)
822
; - "wmi" information is retrieved everytime through WMI (WinNT only)
761
;
823
;
762
ACCESS="command"
824
ACCESS="command"
Line 788... Line 850...
788
 
850
 
789
; define how to access the SNMP Printer Info statistic data
851
; define how to access the SNMP Printer Info statistic data
790
; - "php-snmp" execute php snmprealwalk function (php-snmp module must be installed)
852
; - "php-snmp" execute php snmprealwalk function (php-snmp module must be installed)
791
; - "command" execute snmpwalk command
853
; - "command" execute snmpwalk command
792
; - "data" a file must be available in the data directory of the
854
; - "data" a file must be available in the data directory of the
793
;          phpsysinfo installation with the filename "snmppinfo{printer_number}.txt";
855
;          phpsysinfo installation with the filename "snmppinfo{printer_number}.tmp";
794
; content is the output from:
856
; content is the output from:
795
;    LANG=C LC_ALL=C snmpwalk -On -c public -v 1 -r 0 -t 3 {printer_address} .1.3.6.1.2.1.1.5 > snmppinfo{printer_number}.txt
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
796
;    LANG=C LC_ALL=C snmpwalk -On -c public -v 1 -r 0 -t 3 {printer_address} .1.3.6.1.4.1.367.3.2.1.2.24.1.1 >> snmppinfo{printer_number}.txt
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
797
;    LANG=C LC_ALL=C snmpwalk -On -c public -v 1 -r 0 -t 3 {printer_address} .1.3.6.1.2.1.43.11.1.1 >> snmppinfo{printer_number}.txt
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
798
;    LANG=C LC_ALL=C snmpwalk -On -c public -v 1 -r 0 -t 3 {printer_address} .1.3.6.1.2.1.43.18.1.1 >> snmppinfo{printer_number}.txt
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
799
;
861
;
800
ACCESS="php-snmp"
862
ACCESS="php-snmp"
801
 
863
 
802
;define the Printer devices
864
;define the Printer devices
803
;
865
;
Line 834... Line 896...
834
; define how to access the uprecords statistic data
896
; define how to access the uprecords statistic data
835
; - "command" uprecords command is run everytime the block gets refreshed or build
897
; - "command" uprecords command is run everytime the block gets refreshed or build
836
;             if access error try execute first: chmod 4755 /usr/bin/uprecords
898
;             if access error try execute first: chmod 4755 /usr/bin/uprecords
837
;             This method is not recommended for safety reasons!
899
;             This method is not recommended for safety reasons!
838
; - "data" (a file must be available in the data directory of the phpsysinfo installation
900
; - "data" (a file must be available in the data directory of the phpsysinfo installation
839
;          with the filename "uprecords.txt"; content is the output from "TZ=GMT uprecords -a -w")
901
;          with the filename "uprecords.tmp"; content is the output from "TZ=GMT uprecords -a -w")
840
;
902
;
841
ACCESS="command"
903
ACCESS="command"
842
 
904
 
843
; define the maximum number of entries to show (for command access)
905
; define the maximum number of entries to show (for command access)
844
; default is 10
906
; default is 10
Line 859... Line 921...
859
[viewer]
921
[viewer]
860
; Viewer Plugin configuration
922
; Viewer Plugin configuration
861
 
923
 
862
; define how to access the data
924
; define how to access the data
863
; - "command" COMMAND command is run everytime the block gets refreshed or build
925
; - "command" COMMAND command is run everytime the block gets refreshed or build
864
; - "data" (a file must be available in the data directory of the phpsysinfo installation with the filename "viewer.txt")
926
; - "data" (a file must be available in the data directory of the phpsysinfo installation with the filename "viewer.tmp")
865
;
927
;
866
ACCESS="command"
928
ACCESS="command"
867
 
929
 
868
; define COMMAND name (for command access)
930
; define COMMAND name (for command access)
869
; eg:
931
; eg:
Line 882... Line 944...
882
; PingTest Plugin configuration
944
; PingTest Plugin configuration
883
 
945
 
884
; define how to access the psstatus statistic data
946
; define how to access the psstatus statistic data
885
; - "command" ping command is run everytime the block gets refreshed or build 
947
; - "command" ping command is run everytime the block gets refreshed or build 
886
; - "data" (a file must be available in the data directory of the phpsysinfo installation
948
; - "data" (a file must be available in the data directory of the phpsysinfo installation
887
;          with the filename "pingtest.txt")
949
;          with the filename "pingtest.tmp")
888
;
950
;
889
ACCESS="command"
951
ACCESS="command"
890
 
952
 
891
;define the Addresses
953
;define the Addresses
892
;
954
;
Line 913... Line 975...
913
; HyperV Plugin configuration
975
; HyperV Plugin configuration
914
 
976
 
915
; define how to access the ps statistic data
977
; define how to access the ps statistic data
916
; - "command" information is retrieved through WMI
978
; - "command" information is retrieved through WMI
917
; - "data" (a file must be available in the data directory of the phpsysinfo installation
979
; - "data" (a file must be available in the data directory of the phpsysinfo installation
918
;          with the filename "hyperv.txt")
980
;          with the filename "hyperv.tmp")
919
;
981
;
920
ACCESS="command"
982
ACCESS="command"
921
 
983
 
922
[docker]
984
[docker]
923
; Docker Plugin configuration
985
; Docker Plugin configuration
924
 
986
 
925
; define how to access the docker statistic data
987
; define how to access the docker statistic data
926
; - "command" docker command is run everytime the block gets refreshed or build
988
; - "command" docker command is run everytime the block gets refreshed or build
927
; - "data" (a file must be available in the data directory of the phpsysinfo installation
989
; - "data" (a file must be available in the data directory of the phpsysinfo installation
928
;          with the filename "docker.txt"; content is the output from "docker stats --no-stream --format 'table {{.Name}}\t{{.CPUPerc}}\t{{.MemUsage}}\t{{.MemPerc}}\t{{.NetIO}}\t{{.BlockIO}}\t{{.PIDs}}'")
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}}'")
929
;
991
;
930
ACCESS="command"
992
ACCESS="command"