Line 57... |
Line 57... |
57 |
; Example : BLOCKS="vitals,hardware,memory,filesystem,network,voltage,current,temperature,fans,power,other,ups" or BLOCKS=true //default order
|
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
|
58 |
; BLOCKS=false //hide all blocks
|
59 |
;
|
59 |
;
|
60 |
BLOCKS=true
|
60 |
BLOCKS=true
|
61 |
|
61 |
|
- |
|
62 |
; Maximum time in seconds a script is allowed to run before it is terminated by the parser
|
- |
|
63 |
;
|
- |
|
64 |
;MAX_TIMEOUT=30
|
- |
|
65 |
|
- |
|
66 |
; executeProgram() timeout value in seconds
|
- |
|
67 |
;
|
- |
|
68 |
;EXEC_TIMEOUT=30
|
- |
|
69 |
|
- |
|
70 |
; snmprealwalk() and executeProgram("snmpwalk") number of seconds until the first timeout
|
- |
|
71 |
;
|
- |
|
72 |
;SNMP_TIMEOUT=3
|
- |
|
73 |
|
- |
|
74 |
; snmprealwalk() and executeProgram("snmpwalk") number of times to retry if timeouts occur
|
- |
|
75 |
;
|
- |
|
76 |
;SNMP_RETRY=0
|
- |
|
77 |
|
- |
|
78 |
; External WinNT server connection parameters
|
- |
|
79 |
; Possibility available for WinNT and partly for LINUX (if wmic tool from wmic-linux or openvas-smb package is installed)
|
- |
|
80 |
; These settings can also be entered for a specific plug-in so that only it connects to an external server
|
- |
|
81 |
; For safety reasons make sure that phpsysinfo.ini cannot be read by the network or other users!
|
- |
|
82 |
;
|
- |
|
83 |
;WMI_HOSTNAME="hostname"
|
- |
|
84 |
;WMI_USER="username"
|
- |
|
85 |
;WMI_PASSWORD="password"
|
- |
|
86 |
|
62 |
|
87 |
|
63 |
; Plugins that should be included in xml and output
|
88 |
; Plugins that should be included in xml and output
|
64 |
; List of plugins should look like "plugin,plugin,plugin". See /plugins directory
|
89 |
; List of plugins should look like "plugin,plugin,plugin". See /plugins directory
|
65 |
; - PLUGINS="MDStatus,PS" //list of plugins
|
90 |
; - PLUGINS="Raid,PS" //list of plugins
|
66 |
; - PLUGINS=false //no plugins
|
91 |
; - PLUGINS=false //no plugins
|
67 |
; included plugins:
|
92 |
; included plugins:
|
68 |
; - Raid - show the software, fake, zpool or megaraid RAID status
|
93 |
; - Raid - show the software, fake, zpool or megaraid RAID status
|
69 |
; - PS - show a process tree of all running processes
|
94 |
; - PS - show a process tree of all running processes
|
70 |
; - PSStatus - show a graphical representation if a process is running or not
|
95 |
; - PSStatus - show a graphical representation if a process is running or not
|
Line 72... |
Line 97... |
72 |
; - SMART - show S.M.A.R.T. information from drives that support it
|
97 |
; - SMART - show S.M.A.R.T. information from drives that support it
|
73 |
; - BAT - show battery state on a laptop, tablet or phone
|
98 |
; - BAT - show battery state on a laptop, tablet or phone
|
74 |
; - UpdateNotifier - show update notifications (only for Ubuntu server)
|
99 |
; - UpdateNotifier - show update notifications (only for Ubuntu server)
|
75 |
; - SNMPPInfo - show printers info via SNMP
|
100 |
; - SNMPPInfo - show printers info via SNMP
|
76 |
; - Uprecords - show uprecords info
|
101 |
; - Uprecords - show uprecords info
|
77 |
; - Iptables - show iptables rules list
|
- |
|
78 |
; - PingTest - show Ping Test info
|
102 |
; - PingTest - show Ping Test info
|
79 |
; - StableBit - show StableBit Scanner info (WinNT)
|
103 |
; - StableBit - show StableBit Scanner info (WinNT)
|
80 |
; - HyperV - show Hyper-V info (WinNT)
|
104 |
; - HyperV - show Hyper-V info (WinNT)
|
81 |
; - Docker - show docker stats
|
105 |
; - Docker - show docker stats
|
- |
|
106 |
; - Viewer - show output of any command or file viewer.txt contents
|
82 |
;
|
107 |
;
|
83 |
PLUGINS=false
|
108 |
PLUGINS=false
|
84 |
|
109 |
|
85 |
|
110 |
|
86 |
; ********************************
|
111 |
; ********************************
|
Line 228... |
Line 253... |
228 |
; - MBM5 http://mbm.livewiredev.com/ (data from file data/MBM5.csv - WinNT)
|
253 |
; - MBM5 http://mbm.livewiredev.com/ (data from file data/MBM5.csv - WinNT)
|
229 |
; - Coretemp No addon tool neded (FreeBSD/Linux)
|
254 |
; - Coretemp No addon tool neded (FreeBSD/Linux)
|
230 |
; - IPMItool http://ipmitool.sourceforge.net/ (Linux)
|
255 |
; - IPMItool http://ipmitool.sourceforge.net/ (Linux)
|
231 |
; - FreeIPMI http://www.gnu.org/software/freeipmi/ (FreeBSD/Linux/OpenBSD/SunOS)
|
256 |
; - FreeIPMI http://www.gnu.org/software/freeipmi/ (FreeBSD/Linux/OpenBSD/SunOS)
|
232 |
; - IPMIutil http://ipmiutil.sourceforge.net/ (Darwin/FreeBSD/Linux/SunOS/WinNT)
|
257 |
; - IPMIutil http://ipmiutil.sourceforge.net/ (Darwin/FreeBSD/Linux/SunOS/WinNT)
|
- |
|
258 |
; - IPMIcfg http://www.supermicro.com/en/solutions/management-software/ipmi-utilities (Linux/WinNT)
|
233 |
; - K8Temp http://hur.st/k8temp/ (DragonFly/FreeBSD/NetBSD/OpenBSD)
|
259 |
; - K8Temp http://hur.st/k8temp/ (DragonFly/FreeBSD/NetBSD/OpenBSD)
|
234 |
; - PiTemp No addon tool neded (Raspberry Pi and Banana Pi - Linux)
|
260 |
; - PiTemp No addon tool neded (Raspberry Pi and Banana Pi - Linux)
|
235 |
; - OHM http://openhardwaremonitor.org/ (WinNT)
|
261 |
; - OHM http://openhardwaremonitor.org/ (WinNT)
|
236 |
; - ThermalZone No addon tool neded (WinNT/Linux/Android)
|
262 |
; - ThermalZone No addon tool neded (WinNT/Linux/Android)
|
237 |
; - QTSsnmp SNMP service enabled and snmp-utils package installed: opkg install snmp-utils (QNAP - QTS Linux)
|
263 |
; - QTSsnmp SNMP service enabled and snmp-utils package installed: opkg install snmp-utils (QNAP - QTS Linux)
|
238 |
; - Hwmon No addon tool neded (Linux)
|
264 |
; - Hwmon No addon tool neded (Linux)
|
239 |
; - SpeedFan http://www.almico.com/speedfan.php (required tool packaged in: tools/speedfan/SpeedFanGet_bin.zip) (WinNT)
|
265 |
; - SpeedFan http://www.almico.com/speedfan.php (required tool packaged in: tools/speedfan/SpeedFanGet_bin.zip) (WinNT)
|
240 |
; - Thinkpad No addon tool neded (Lenovo Thinkpad - Linux)
|
266 |
; - Thinkpad No addon tool neded (Lenovo Thinkpad - Linux)
|
- |
|
267 |
; - NvidiaSMI Nvidia GPU drivers (FreeBSD/Linux/SunOS/WinNT)
|
241 |
;
|
268 |
;
|
242 |
; Example: If you want to use lmsensors : SENSOR_PROGRAM="LMSensors"
|
269 |
; Example: If you want to use lmsensors : SENSOR_PROGRAM="LMSensors"
|
243 |
; If you want to use lmsensors and IPMItool: SENSOR_PROGRAM="LMSensors,IPMItool"
|
270 |
; If you want to use lmsensors and IPMItool: SENSOR_PROGRAM="LMSensors,IPMItool"
|
244 |
;
|
271 |
;
|
245 |
SENSOR_PROGRAM=false
|
272 |
SENSOR_PROGRAM=false
|
Line 307... |
Line 334... |
307 |
;
|
334 |
;
|
308 |
FS_USAGE_THRESHOLD=90
|
335 |
FS_USAGE_THRESHOLD=90
|
309 |
|
336 |
|
310 |
|
337 |
|
311 |
; Ignore usage and usage threshold for filesystem types
|
338 |
; Ignore usage and usage threshold for filesystem types
|
312 |
; Example : IGNORE_THRESHOLD_FS_TYPES="iso9660, squashfs, devfs, devtmpfs, lxfs, udf, UDF, CDFS"
|
339 |
; Example : IGNORE_THRESHOLD_FS_TYPES="packagefs, iso9660, squashfs, devfs, devtmpfs, tmpfs, lxfs, udf, UDF, CDFS"
|
313 |
;
|
340 |
;
|
314 |
IGNORE_THRESHOLD_FS_TYPES="iso9660, squashfs, devfs, devtmpfs, lxfs, udf, UDF, CDFS"
|
341 |
IGNORE_THRESHOLD_FS_TYPES="packagefs, iso9660, squashfs, devfs, devtmpfs, tmpfs, lxfs, udf, UDF, CDFS"
|
315 |
|
342 |
|
316 |
|
343 |
|
317 |
; Ignore usage of mounts
|
344 |
; Ignore usage of mounts
|
318 |
; Example : IGNORE_USAGE="/root,/mnt/c"
|
345 |
; Example : IGNORE_USAGE="/root,/mnt/c"
|
319 |
;
|
346 |
;
|
320 |
IGNORE_USAGE=""
|
347 |
IGNORE_USAGE=""
|
321 |
|
348 |
|
322 |
|
349 |
|
- |
|
350 |
; Ignore total size of mounts
|
- |
|
351 |
; Example : IGNORE_TOTAL="/System/Volumes/VM,/System/Volumes/Prebot"
|
- |
|
352 |
;
|
- |
|
353 |
IGNORE_TOTAL=""
|
- |
|
354 |
|
- |
|
355 |
|
323 |
; Ignore free space size of mounts
|
356 |
; Ignore free space size of mounts
|
324 |
; Example : IGNORE_FREE="/zfs/space,/zfs/data"
|
357 |
; Example : IGNORE_FREE="/zfs/space,/zfs/data"
|
325 |
;
|
358 |
;
|
326 |
IGNORE_FREE=""
|
359 |
IGNORE_FREE=""
|
327 |
|
360 |
|
Line 337... |
Line 370... |
337 |
; HIDE_DISKS=true //hide all partitions
|
370 |
; HIDE_DISKS=true //hide all partitions
|
338 |
;
|
371 |
;
|
339 |
HIDE_DISKS=""
|
372 |
HIDE_DISKS=""
|
340 |
|
373 |
|
341 |
|
374 |
|
- |
|
375 |
; Hide totals information
|
- |
|
376 |
;
|
- |
|
377 |
HIDE_TOTALS=false
|
- |
|
378 |
|
- |
|
379 |
|
342 |
; ********************************
|
380 |
; ********************************
|
343 |
; NETWORK PARAMETERS
|
381 |
; NETWORK PARAMETERS
|
344 |
; ********************************
|
382 |
; ********************************
|
345 |
|
383 |
|
346 |
|
384 |
|
Line 434... |
Line 472... |
434 |
;
|
472 |
;
|
435 |
UPS_SNMPUPS_ACCESS="php-snmp"
|
473 |
UPS_SNMPUPS_ACCESS="php-snmp"
|
436 |
|
474 |
|
437 |
|
475 |
|
438 |
; ********************************
|
476 |
; ********************************
|
- |
|
477 |
; MISC PARAMETERS
|
- |
|
478 |
; ********************************
|
- |
|
479 |
|
- |
|
480 |
|
- |
|
481 |
; define how to access the dmidecode data
|
- |
|
482 |
; - "data" read data from file data/dmidecode.txt
|
- |
|
483 |
; - "command" execute command: dmidecode -t 17
|
- |
|
484 |
; If access error try execute first: chmod 4755 /usr/sbin/dmidecode
|
- |
|
485 |
; This method is not recommended for safety reasons!
|
- |
|
486 |
;
|
- |
|
487 |
DMIDECODE_ACCESS="command"
|
- |
|
488 |
|
- |
|
489 |
|
- |
|
490 |
; ********************************
|
439 |
; SENSORS PROGRAMS PARAMETERS
|
491 |
; SENSORS PROGRAMS PARAMETERS
|
440 |
; ********************************
|
492 |
; ********************************
|
441 |
|
493 |
|
442 |
|
494 |
|
443 |
[sensor_hddtemp]
|
495 |
[sensor_hddtemp]
|
Line 499... |
Line 551... |
499 |
; //if access error execute first: chmod 666 /dev/ipmi0
|
551 |
; //if access error execute first: chmod 666 /dev/ipmi0
|
500 |
; - ACCESS="data" //read data from file data/ipmiutil.txt
|
552 |
; - ACCESS="data" //read data from file data/ipmiutil.txt
|
501 |
;
|
553 |
;
|
502 |
ACCESS="command"
|
554 |
ACCESS="command"
|
503 |
|
555 |
|
- |
|
556 |
[sensor_ipmicfg]
|
- |
|
557 |
; IPMIcfg motherboard monitoring program configuration
|
- |
|
558 |
;
|
- |
|
559 |
; - ACCESS="command" //read data from 'ipmicfg -sdr' and/or 'ipmicfg -psfruinfo' command
|
- |
|
560 |
; - ACCESS="data" //read data from file data/ipmicfg.txt (output from: ipmicfg -sdr>ipmicfg.txt; ipmicfg -psfruinfo>>ipmicfg.txt)
|
- |
|
561 |
;
|
- |
|
562 |
ACCESS="command"
|
- |
|
563 |
|
- |
|
564 |
; Execute power supply FRU health info
|
- |
|
565 |
; - true : execute 'ipmicfg --psfruinfo'
|
- |
|
566 |
; - false : don't execute 'ipmicfg --psfruinfo'
|
- |
|
567 |
; - "only" : execute 'ipmicfg --psfruinfo' and don't execute 'ipmicfg -sdr'
|
- |
|
568 |
;
|
- |
|
569 |
PSFRUINFO=true
|
- |
|
570 |
|
504 |
[sensor_k8temp]
|
571 |
[sensor_k8temp]
|
505 |
; K8Temp motherboard monitoring program configuration
|
572 |
; K8Temp motherboard monitoring program configuration
|
506 |
;
|
573 |
;
|
507 |
; - ACCESS="command" //read data from 'k8temp' command
|
574 |
; - ACCESS="command" //read data from 'k8temp' command
|
508 |
; - ACCESS="data" //read data from file data/k8temp.txt
|
575 |
; - ACCESS="data" //read data from file data/k8temp.txt
|
509 |
;
|
576 |
;
|
510 |
ACCESS="command"
|
577 |
ACCESS="command"
|
511 |
|
578 |
|
- |
|
579 |
[sensor_thermalzone]
|
- |
|
580 |
; ThermalZone motherboard monitoring program configuration
|
- |
|
581 |
;
|
- |
|
582 |
; - ACCESS="command" //on Linux information is retrieved everytime through system files / on WINNT information is retrieved everytime through WMI
|
- |
|
583 |
; - ACCESS="data" //read data from file data/thermalzone.txt (output of WinNT command "wmic /namespace:\\root\wmi PATH MSAcpi_ThermalZoneTemperature get CriticalTripPoint,CurrentTemperature,InstanceName")
|
- |
|
584 |
;
|
- |
|
585 |
ACCESS="command"
|
- |
|
586 |
|
512 |
[sensor_speedfan]
|
587 |
[sensor_speedfan]
|
513 |
; SpeedFan motherboard monitoring program configuration
|
588 |
; SpeedFan motherboard monitoring program configuration
|
514 |
;
|
589 |
;
|
515 |
; - ACCESS="command" //read data from 'speedfanget' command
|
590 |
; - ACCESS="command" //read data from 'speedfanget' command
|
516 |
; - ACCESS="data" //read data from file data/speedfan.txt
|
591 |
; - ACCESS="data" //read data from file data/speedfan.txt
|
517 |
;
|
592 |
;
|
518 |
ACCESS="command"
|
593 |
ACCESS="command"
|
519 |
|
594 |
|
- |
|
595 |
[sensor_nvidiasmi]
|
- |
|
596 |
; NvidiaSMI motherboard monitoring program configuration
|
- |
|
597 |
;
|
- |
|
598 |
; - ACCESS="command" //read data from 'nvidia-smi -q' command
|
- |
|
599 |
; - ACCESS="data" //read data from file data/nvidiasmi.txt
|
- |
|
600 |
;
|
- |
|
601 |
ACCESS="command"
|
- |
|
602 |
|
- |
|
603 |
;The path to nvidia-smi.exe for the WinNT system
|
- |
|
604 |
;
|
- |
|
605 |
EXE_PATH="c:\Program Files\NVIDIA Corporation\NVSMI\nvidia-smi.exe"
|
- |
|
606 |
|
520 |
|
607 |
|
521 |
; ********************************
|
608 |
; ********************************
|
522 |
; PLUGINS PARAMETERS
|
609 |
; PLUGINS PARAMETERS
|
523 |
; ********************************
|
610 |
; ********************************
|
524 |
|
611 |
|
Line 551... |
Line 638... |
551 |
|
638 |
|
552 |
[raid]
|
639 |
[raid]
|
553 |
; Raid Plugin configuration
|
640 |
; Raid Plugin configuration
|
554 |
|
641 |
|
555 |
; define how to access the raid statistic data
|
642 |
; define how to access the raid statistic data
|
556 |
; - "command" - mdstat: file "/proc/mdstat" is read (on Linux only)
|
643 |
; - "command" - mdstat: file "/proc/mdstat" is read (on Linux only)
|
557 |
; - dmraid: command "dmraid -s -vv 2>&1" is run (on Linux only)
|
644 |
; - dmraid: command "dmraid -s -vv 2>&1" is run (on Linux only)
|
558 |
; If access error try execute first: chmod 4755 /sbin/dmraid
|
645 |
; If access error try execute first: chmod 4755 /sbin/dmraid
|
559 |
; This method is not recommended for safety reasons!
|
646 |
; This method is not recommended for safety reasons!
|
560 |
; - megactl: command "megactl" (on Linux only)
|
647 |
; - megactl: command "megactl" (on Linux only)
|
561 |
; downloaded from http://sourceforge.net/projects/megactl/ or http://github.com/hmage/megactl
|
648 |
; downloaded from http://sourceforge.net/projects/megactl/ or http://github.com/hmage/megactl
|
562 |
; If permission error try execute first: chmod 4755 /usr/sbin/megactl
|
649 |
; If permission error try execute first: chmod 4755 /usr/sbin/megactl
|
563 |
; - megasasctl: command "megasasctl" (on Linux only)
|
650 |
; - megasasctl: command "megasasctl" (on Linux only)
|
564 |
; downloaded from http://sourceforge.net/projects/megactl/ or http://github.com/hmage/megactl
|
651 |
; downloaded from http://sourceforge.net/projects/megactl/ or http://github.com/hmage/megactl
|
565 |
; If permission error try execute first: chmod 4755 /usr/sbin/megasasctl
|
652 |
; If permission error try execute first: chmod 4755 /usr/sbin/megasasctl
|
- |
|
653 |
; - megaclisas-status: command "megaclisas-status" (or "megaclisas-status.py" on WINNT)
|
- |
|
654 |
; downloaded from http://hwraid.le-vert.net or https://github.com/eLvErDe/hwraid (Python 2) or https://github.com/ElCoyote27/hwraid (Python 3)
|
- |
|
655 |
; - 3ware-status: command "3ware-status" (or 3ware-status.py" on WINNT)
|
- |
|
656 |
; downloaded from http://hwraid.le-vert.net or https://github.com/eLvErDe/hwraid or https://github.com/ElCoyote27/hwraid
|
566 |
; - graid: command "graid list" is run (on FreeBSD only)
|
657 |
; - graid: command "graid list" is run (on FreeBSD only)
|
567 |
; - zpool: command "zpool status" is run
|
658 |
; - zpool: command "zpool status" is run
|
568 |
; - 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
|
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
|
569 |
; - "php-snmp"- idrac: execute php snmprealwalk function (php-snmp module must be installed)
|
660 |
; - "php-snmp"- idrac: execute php snmprealwalk function (php-snmp module must be installed)
|
570 |
; - for others the option is inactive (uses "command" instead)
|
661 |
; - for others the option is inactive (uses "command" instead)
|
571 |
; - "data" (a file must be available in the data directory of the phpsysinfo installation
|
662 |
; - "data" (a file must be available in the data directory of the phpsysinfo installation
|
572 |
; with the filename "raidmdstat.txt" or "raiddmraid.txt" or "raidmegactl.txt"
|
663 |
; with the filename "raidmdstat.txt" or "raiddmraid.txt" or "raidmegactl.txt" or "raidmegasasctl.txt"
|
573 |
; or "raidmegasasctl" or "raidgraid.txt" or "raidzpool.txt" or "raididrac{device_number}.txt")
|
664 |
; or "raidmegaclisas-status.txt" or "raidgraid.txt" or "raidzpool.txt" or "raididrac{device_number}.txt")
|
574 |
;
|
665 |
;
|
575 |
ACCESS="command"
|
666 |
ACCESS="command"
|
576 |
|
667 |
|
577 |
; define possible programs
|
668 |
; define possible programs
|
578 |
PROGRAM="mdstat,dmraid,megactl,megasasctl,graid,zpool,idrac"
|
669 |
PROGRAM="mdstat,dmraid,megactl,megasasctl,megaclisas-status,3ware-status,graid,zpool,idrac"
|
579 |
|
670 |
|
580 |
; Hide RAID devices
|
671 |
; Hide RAID devices
|
581 |
; Example : HIDE_DEVICES="md127"
|
672 |
; Example : HIDE_DEVICES="md127"
|
582 |
;
|
673 |
;
|
583 |
HIDE_DEVICES=""
|
674 |
HIDE_DEVICES=""
|
Line 593... |
Line 684... |
593 |
|
684 |
|
594 |
; define how to access the ps statistic data
|
685 |
; define how to access the ps statistic data
|
595 |
; - "command" ps command is run everytime the block gets refreshed or build / on WINNT
|
686 |
; - "command" ps command is run everytime the block gets refreshed or build / on WINNT
|
596 |
; information is retrieved everytime through WMI
|
687 |
; information is retrieved everytime through WMI
|
597 |
; - "data" (a file must be available in the data directory of the phpsysinfo installation
|
688 |
; - "data" (a file must be available in the data directory of the phpsysinfo installation
|
598 |
; with the filename "ps.txt"; content is the output from "ps -axo pid,ppid,pmem,args")
|
689 |
; with the filename "ps.txt"; content is the output from "ps -axo pid,ppid,pmem,pcpu,args")
|
599 |
;
|
690 |
;
|
600 |
ACCESS="command"
|
691 |
ACCESS="command"
|
601 |
|
692 |
|
602 |
; Memory Usage info
|
693 |
; Memory Usage info
|
603 |
;
|
694 |
;
|
Line 618... |
Line 709... |
618 |
|
709 |
|
619 |
[psstatus]
|
710 |
[psstatus]
|
620 |
; PSStatus Plugin configuration
|
711 |
; PSStatus Plugin configuration
|
621 |
|
712 |
|
622 |
; define how to access the psstatus statistic data
|
713 |
; define how to access the psstatus statistic data
|
623 |
; - "command" pidof command is run everytime the block gets refreshed or build / on WINNT
|
714 |
; - "command" pidof command is run everytime the block gets refreshed or build
|
624 |
; information is retrieved everytime through WMI
|
715 |
; / on WINNT information is retrieved everytime through WMI
|
625 |
; - "data" a file must be available in the data directory of the phpsysinfo installation
|
716 |
; - "data" a file must be available in the data directory of the phpsysinfo installation
|
626 |
; with the filename "psstatus.txt"; content is the output from
|
717 |
; with the filename "psstatus.txt"; content is the output from
|
627 |
; <code>for ps in "apache2" "mysqld" "sshd"; do echo $ps "|" `pidof -s -x "$ps"`; done</code>
|
718 |
; <code>for ps in "apache2" "mysqld" "sshd"; do echo $ps "|" `pidof -s -x "$ps"`; done</code>
|
628 |
;
|
719 |
;
|
629 |
ACCESS="command"
|
720 |
ACCESS="command"
|
Line 662... |
Line 753... |
662 |
; execute: chmod 4755 /usr/sbin/smartctl
|
753 |
; execute: chmod 4755 /usr/sbin/smartctl
|
663 |
; Second method:
|
754 |
; Second method:
|
664 |
; try to set: SUDO_COMMANDS="smartctl" and add to file /etc/sudoers line: apache ALL = (ALL) NOPASSWD: /usr/sbin/smartctl
|
755 |
; try to set: SUDO_COMMANDS="smartctl" and add to file /etc/sudoers line: apache ALL = (ALL) NOPASSWD: /usr/sbin/smartctl
|
665 |
; - "data" (a file must be available in the data directory of the
|
756 |
; - "data" (a file must be available in the data directory of the
|
666 |
; phpsysinfo installation with the filename "smart{disk_number}.txt";
|
757 |
; phpsysinfo installation with the filename "smart{disk_number}.txt";
|
667 |
; content is the output from "smartctl --all device")
|
758 |
; content is the output from "smartctl --all device"
|
- |
|
759 |
; or on WinNT only from "wmic /namespace:\\root\wmi path MSStorageDriver_ATAPISmartData get VendorSpecific | more +{disk_number}")
|
668 |
; - "wmi" information is retrieved everytime through WMI (WinNT only)
|
760 |
; - "wmi" information is retrieved everytime through WMI (WinNT only)
|
669 |
;
|
761 |
;
|
670 |
ACCESS="command"
|
762 |
ACCESS="command"
|
671 |
|
763 |
|
672 |
; Smartctl devices to monitor
|
764 |
; Smartctl devices to monitor
|
Line 682... |
Line 774... |
682 |
; Smartctl ID# and column name from "Vendor Specific SMART Attributes with Thresholds" table
|
774 |
; Smartctl ID# and column name from "Vendor Specific SMART Attributes with Thresholds" table
|
683 |
; If the smartctl support is enabled, enter the ID#-COLUMN_NAME from "Vendor Specific SMART Attributes with Thresholds" table from smartctl output.
|
775 |
; If the smartctl support is enabled, enter the ID#-COLUMN_NAME from "Vendor Specific SMART Attributes with Thresholds" table from smartctl output.
|
684 |
; or for no SCSI devices: ID#-COLUMN_NAME-REPLACEMENT_ID# where REPLACEMENT_ID# is an alternative ID number.
|
776 |
; or for no SCSI devices: ID#-COLUMN_NAME-REPLACEMENT_ID# where REPLACEMENT_ID# is an alternative ID number.
|
685 |
; 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
|
777 |
; COLUMN_NAME of this ID# will be displayed in the phpsysinfo S.M.A.R.T table. If you want RAW_VALUE to be displayed for the temperature (ID# 194) enter 194-RAW_VALUE
|
686 |
; - IDS="194-VALUE,4-VALUE,009-RAW_VALUE" //ID#-COLUMN_NAME, ID#-COLUMN_NAME, etc...
|
778 |
; - IDS="194-VALUE,4-VALUE,009-RAW_VALUE" //ID#-COLUMN_NAME, ID#-COLUMN_NAME, etc...
|
- |
|
779 |
; The additional attributes:
|
- |
|
780 |
; ATA Error Count is marked as 0-RAW_VALUE
|
- |
|
781 |
; Non-medium Error Count is marked as 255-RAW_VALUE
|
687 |
;
|
782 |
;
|
688 |
IDS="005-RAW_VALUE,194-RAW_VALUE,4-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"
|
783 |
IDS="005-RAW_VALUE,194-RAW_VALUE,009-RAW_VALUE,012-RAW_VALUE,193-RAW_VALUE-225,001-RAW_VALUE,007-RAW_VALUE,200-RAW_VALUE,197-RAW_VALUE,198-RAW_VALUE,0-RAW_VALUE"
|
689 |
|
784 |
|
690 |
|
785 |
|
691 |
[snmppinfo]
|
786 |
[snmppinfo]
|
692 |
; SNMPPInfo Plugin configuration
|
787 |
; SNMPPInfo Plugin configuration
|
693 |
|
788 |
|
Line 759... |
Line 854... |
759 |
; default is false
|
854 |
; default is false
|
760 |
;
|
855 |
;
|
761 |
DENOTE_BY_ASTERISK = false
|
856 |
DENOTE_BY_ASTERISK = false
|
762 |
|
857 |
|
763 |
|
858 |
|
764 |
[iptables]
|
859 |
[viewer]
|
765 |
; Iptables Plugin configuration
|
860 |
; Viewer Plugin configuration
|
766 |
|
861 |
|
767 |
; define how to access the iptables rules data
|
862 |
; define how to access the data
|
768 |
; - "command" iptables-save command is run everytime the block gets refreshed or build
|
863 |
; - "command" COMMAND command is run everytime the block gets refreshed or build
|
769 |
; if access error try to set: SUDO_COMMANDS="iptables-save" and add to file /etc/sudoers line: apache ALL = (ALL) NOPASSWD: /sbin/iptables-save
|
- |
|
770 |
; - "data" (a file must be available in the data directory of the phpsysinfo installation with the filename "iptables.txt"; content is the output from "iptables-save")
|
864 |
; - "data" (a file must be available in the data directory of the phpsysinfo installation with the filename "viewer.txt")
|
771 |
;
|
865 |
;
|
772 |
ACCESS="command"
|
866 |
ACCESS="command"
|
773 |
|
867 |
|
- |
|
868 |
; define COMMAND name (for command access)
|
- |
|
869 |
; eg:
|
- |
|
870 |
; - "iptables-save" iptables-save command is run everytime the block gets refreshed or build (Linux)
|
- |
|
871 |
; if access error try to set: SUDO_COMMANDS="iptables-save" and add to file /etc/sudoers line: apache ALL = (ALL) NOPASSWD: /sbin/iptables-save
|
- |
|
872 |
; - "systeminfo" systeminfo command is run everytime the block gets refreshed or build (WinNT)
|
- |
|
873 |
;
|
- |
|
874 |
|
- |
|
875 |
COMMAND=""
|
- |
|
876 |
|
- |
|
877 |
; define COMMAND parameters (for command access)
|
- |
|
878 |
;
|
- |
|
879 |
PARAMS=""
|
774 |
|
880 |
|
775 |
[pingtest]
|
881 |
[pingtest]
|
776 |
; PingTest Plugin configuration
|
882 |
; PingTest Plugin configuration
|
777 |
|
883 |
|
778 |
; define how to access the psstatus statistic data
|
884 |
; define how to access the psstatus statistic data
|