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