Line 39... |
Line 39... |
39 |
; Additional paths where to look for installed programs
|
39 |
; Additional paths where to look for installed programs
|
40 |
; Example : ADD_PATHS="/opt/bin,/opt/sbin"
|
40 |
; Example : ADD_PATHS="/opt/bin,/opt/sbin"
|
41 |
;
|
41 |
;
|
42 |
ADD_PATHS=false
|
42 |
ADD_PATHS=false
|
43 |
|
43 |
|
44 |
; List of IP addresses of clients authorized to run
|
44 |
; List of IP addresses (IPv4) of clients authorized to run
|
45 |
; Example : ALLOWED="127.0.0.1,192.168.1.48" //allowed IP 127.0.0.1 and 192.168.1.48
|
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
|
46 |
; ALLOWED=false //no IP checking
|
46 |
; ALLOWED=false //no IP checking
|
47 |
;
|
47 |
;
|
48 |
ALLOWED=false
|
48 |
ALLOWED=false
|
49 |
|
49 |
|
50 |
; List of sudo commands
|
50 |
; List of sudo commands
|
Line 78... |
Line 78... |
78 |
; Root path of the system
|
78 |
; Root path of the system
|
79 |
; Example : ROOTFS="/rootfs"
|
79 |
; Example : ROOTFS="/rootfs"
|
80 |
;
|
80 |
;
|
81 |
;ROOTFS="/"
|
81 |
;ROOTFS="/"
|
82 |
|
82 |
|
- |
|
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 |
|
83 |
; External WinNT server connection parameters
|
104 |
; External WinNT server connection parameters
|
84 |
; Possibility available for WinNT and partly for LINUX (if wmic tool from wmic-linux or openvas-smb package is installed)
|
105 |
; Possibility available for WinNT and partly for LINUX (if wmic tool from wmic-linux or openvas-smb package is installed)
|
85 |
; These settings can also be entered for a specific plug-in so that only it connects to an external server
|
106 |
; These settings can also be entered for a specific plug-in so that only it connects to an external server
|
86 |
; For safety reasons make sure that phpsysinfo.ini cannot be read by the network or other users!
|
107 |
; For safety reasons make sure that phpsysinfo.ini cannot be read by the network or other users!
|
87 |
;
|
108 |
;
|
Line 281... |
Line 302... |
281 |
; - QTSsnmp SNMP service enabled and snmp-utils package installed: opkg install snmp-utils (QNAP - QTS Linux)
|
302 |
; - QTSsnmp SNMP service enabled and snmp-utils package installed: opkg install snmp-utils (QNAP - QTS Linux)
|
282 |
; - Hwmon No addon tool neded (Linux)
|
303 |
; - Hwmon No addon tool neded (Linux)
|
283 |
; - SpeedFan http://www.almico.com/speedfan.php (required tool packaged in: tools/speedfan/SpeedFanGet_bin.zip) (WinNT)
|
304 |
; - SpeedFan http://www.almico.com/speedfan.php (required tool packaged in: tools/speedfan/SpeedFanGet_bin.zip) (WinNT)
|
284 |
; - Thinkpad No addon tool neded (Lenovo Thinkpad - Linux)
|
305 |
; - Thinkpad No addon tool neded (Lenovo Thinkpad - Linux)
|
285 |
; - NvidiaSMI Nvidia GPU drivers (FreeBSD/Linux/SunOS/WinNT)
|
306 |
; - NvidiaSMI Nvidia GPU drivers (FreeBSD/Linux/SunOS/WinNT)
|
- |
|
307 |
; - FortiSensor No addon tool neded (Fortinet devices - FortiOS)
|
286 |
;
|
308 |
;
|
287 |
; Example: If you want to use lmsensors : SENSOR_PROGRAM="LMSensors"
|
309 |
; Example: If you want to use lmsensors : SENSOR_PROGRAM="LMSensors"
|
288 |
; If you want to use lmsensors and IPMItool: SENSOR_PROGRAM="LMSensors,IPMItool"
|
310 |
; If you want to use lmsensors and IPMItool: SENSOR_PROGRAM="LMSensors,IPMItool"
|
289 |
;
|
311 |
;
|
290 |
SENSOR_PROGRAM=false
|
312 |
SENSOR_PROGRAM=false
|
Line 472... |
Line 494... |
472 |
; define how to access the Apcupsd data
|
494 |
; define how to access the Apcupsd data
|
473 |
; - "command" execute apcaccess command
|
495 |
; - "command" execute apcaccess command
|
474 |
; - "data" for reading data from file data/upsapcupsd{ups_number}.tmp
|
496 |
; - "data" for reading data from file data/upsapcupsd{ups_number}.tmp
|
475 |
; content is the output from "apcaccess status"
|
497 |
; content is the output from "apcaccess status"
|
476 |
;
|
498 |
;
|
477 |
UPS_APCUPSD_ACCESS=false
|
499 |
UPS_APCUPSD_ACCESS="command"
|
478 |
|
500 |
|
479 |
|
501 |
|
480 |
; Apcupsd has a CGI monitoring utility called apcupsd-cgi
|
502 |
; Apcupsd has a CGI monitoring utility called apcupsd-cgi
|
481 |
; You can set the parameter below to true if you have it installed - this will add apcupsd-cgi links to the UPS tree
|
503 |
; You can set the parameter below to true if you have it installed - this will add apcupsd-cgi links to the UPS tree
|
482 |
;
|
504 |
;
|
Line 704... |
Line 726... |
704 |
; define how to access the raid statistic data
|
726 |
; define how to access the raid statistic data
|
705 |
; - "command" - mdstat: file "/proc/mdstat" is read (on Linux only)
|
727 |
; - "command" - mdstat: file "/proc/mdstat" is read (on Linux only)
|
706 |
; - dmraid: command "dmraid -s -vv 2>&1" is run (on Linux only)
|
728 |
; - dmraid: command "dmraid -s -vv 2>&1" is run (on Linux only)
|
707 |
; If access error try execute first: chmod 4755 /sbin/dmraid
|
729 |
; If access error try execute first: chmod 4755 /sbin/dmraid
|
708 |
; This method is not recommended for safety reasons!
|
730 |
; This method is not recommended for safety reasons!
|
709 |
; - megactl: command "megactl" (on Linux only)
|
731 |
; - megactl: command "megactl -vv" is run (on Linux only)
|
710 |
; downloaded from http://sourceforge.net/projects/megactl/ or http://github.com/hmage/megactl
|
732 |
; downloaded from http://sourceforge.net/projects/megactl/ or http://github.com/hmage/megactl or http://github.com/namiltd/megactl
|
711 |
; If permission error try execute first: chmod 4755 /usr/sbin/megactl
|
733 |
; If permission error try execute first: chmod 4755 /usr/sbin/megactl
|
712 |
; - megasasctl: command "megasasctl" (on Linux only)
|
734 |
; - megasasctl: command "megasasctl -vv" is run (on Linux only)
|
713 |
; downloaded from http://sourceforge.net/projects/megactl/ or http://github.com/hmage/megactl
|
735 |
; downloaded from http://sourceforge.net/projects/megactl/ or http://github.com/hmage/megactl or http://github.com/namiltd/megactl
|
714 |
; If permission error try execute first: chmod 4755 /usr/sbin/megasasctl
|
736 |
; If permission error try execute first: chmod 4755 /usr/sbin/megasasctl
|
715 |
; - megaclisas-status: command "megaclisas-status" (or "megaclisas-status.py" on WinNT)
|
737 |
; - megaclisas-status: command "megaclisas-status" is run (or "megaclisas-status.py" on WinNT)
|
716 |
; downloaded from http://hwraid.le-vert.net or https://github.com/eLvErDe/hwraid (Python 2) or https://github.com/ElCoyote27/hwraid (Python 3)
|
738 |
; downloaded from http://hwraid.le-vert.net or https://github.com/eLvErDe/hwraid or https://github.com/ElCoyote27/hwraid
|
717 |
; - 3ware-status: command "3ware-status" (or 3ware-status.py" on WinNT)
|
739 |
; - 3ware-status: command "3ware-status" is run (or 3ware-status.py" on WinNT)
|
718 |
; downloaded from http://hwraid.le-vert.net or https://github.com/eLvErDe/hwraid or https://github.com/ElCoyote27/hwraid
|
740 |
; downloaded from http://hwraid.le-vert.net or https://github.com/eLvErDe/hwraid or https://github.com/ElCoyote27/hwraid
|
719 |
; - graid: command "graid list" is run (on FreeBSD only)
|
741 |
; - graid: command "graid list" is run (on FreeBSD only)
|
720 |
; - zpool: command "zpool status" is run
|
742 |
; - zpool: command "zpool status" is run
|
- |
|
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
|
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
|
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
|
722 |
; - "php-snmp"- idrac: execute php snmprealwalk function (php-snmp module must be installed)
|
746 |
; - "php-snmp"- idrac: execute php snmprealwalk function (php-snmp module must be installed)
|
723 |
; - for others the option is inactive (uses "command" instead)
|
747 |
; - for others the option is inactive (uses "command" instead)
|
724 |
; - "data" (a file must be available in the data directory of the phpsysinfo installation
|
748 |
; - "data" (a file must be available in the data directory of the phpsysinfo installation
|
725 |
; with the filename "raidmdstat.tmp" or "raiddmraid.tmp" or "raidmegactl.tmp" or "raidmegasasctl.tmp"
|
749 |
; with the filename "raidmdstat.tmp" or "raiddmraid.tmp" or "raidmegactl.tmp" or "raidmegasasctl.tmp"
|
726 |
; or "raidmegaclisas-status.tmp" or "raidgraid.tmp" or "raidzpool.tmp" or "raididrac{device_number}.tmp")
|
750 |
; or "raidmegaclisas-status.tmp" or "raidgraid.tmp" or "raidzpool.tmp" or "raidstorcli.tmp" or "raidperccli.tmp"
|
- |
|
751 |
; or "raididrac{device_number}.tmp")
|
727 |
;
|
752 |
;
|
728 |
ACCESS="command"
|
753 |
ACCESS="command"
|
729 |
|
754 |
|
730 |
; define possible programs
|
755 |
; define possible programs
|
731 |
PROGRAM="mdstat,dmraid,megactl,megasasctl,megaclisas-status,3ware-status,graid,zpool,idrac"
|
756 |
PROGRAM="mdstat,dmraid,megactl,megasasctl,megaclisas-status,3ware-status,graid,zpool,storcli,perccli,idrac"
|
732 |
|
757 |
|
733 |
; Hide RAID devices
|
758 |
; Hide RAID devices
|
734 |
; Example : HIDE_DEVICES="md127"
|
759 |
; Example : HIDE_DEVICES="md127"
|
735 |
;
|
760 |
;
|
736 |
HIDE_DEVICES=""
|
761 |
HIDE_DEVICES=""
|