adding customized phpsysinfo files

This commit is contained in:
Patrick McGuire
2021-10-31 11:43:54 -04:00
parent 81d38ea795
commit 0a9aa3eda6
3 changed files with 1708 additions and 0 deletions
+228
View File
@@ -0,0 +1,228 @@
body {
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 13px;
padding-top: 80px;
color: #333;
background-color: rgb(119, 196, 135);
}
body::-webkit-scrollbar {
display:none;
}
wbr {
display: inline-block;
}
.table td.rightCell, .table th.rightCell {
text-align: right;
}
.percent {
text-align: center;
}
.card {
border-color: #f2f2f2;
}
.navbar {
background-color: rgb(119, 196, 135);
border-color: #33b667;
}
.navbar-brand, .navbar-brand:hover {
color: #fff;
margin-right: 0;
}
.treegrid-span {
display: table-cell;
}
.treegrid-spanbold {
font-weight: bold;
display: table-cell;
}
.treegrid-indent {
width: 16px;
height: 16px;
display: table-cell;
}
.treegrid-expander {
width: 0px;
height: 16px;
display: table-cell;
cursor: pointer;
}
.normalicon {
width: 16px;
height: 16px;
position: relative;
top: 1px;
display: table-cell;
font-style: normal;
font-weight: normal;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.normalicon-right:before {
content: "\25ba";
}
.normalicon-down:before {
content: "\25bc";
}
table.sortable thead th {
cursor: pointer;
position: relative;
top: 0;
left: 0;
}
table.sortable thead th:hover {
background-color: #ececec;
}
.sorttable_nosort {
cursor: auto!important;
}
.table-hover > tbody > tr:hover {
color: #333;
background-color: #ececec;
}
.table-hover > tfoot > tr:hover {
background-color: #ececec;
}
table.borderless td, table.borderless th, table.noborderattop tr:first-child td, table.noborderattop tr:first-child th {
border: none!important;
}
.table {
color: #333;
background-color: #fff!important;
margin: 0;
border: 0;
}
.logo {
cursor: pointer;
width: 32px;
}
.select {
color: #333;
}
select {
background-color: #fefefe;
}
.template {
cursor: pointer;
color: #333;
}
.language {
cursor: pointer;
color: #333;
}
.card-header {
background-color: #33b770!important;
border-color: #33b770!important;
color: #fff!important;
}
.progress {
margin-bottom: 0;
background-color: #f5f5f5;
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
}
.progress-bar-success {
background-color: #5bc0de;
}
.progress-bar-info {
background-color: #5cb85c;
}
.progress-bar-warning {
background-color: #f0ad4e;
}
.progress-bar-danger {
background-color: #d9534f;
}
.modal-content {
background-color: #fff;
}
.list-group {
display: block;
}
.list-group-item {
background-color: #fff;
}
.reload {
background-image: url("../gfx/reload.gif");
float: right;
cursor: pointer;
width: 16px;
height: 16px;
}
.container {
padding:0;
}
.table thead th {
border-top: none;
}
a, a:visited {
color: #000;
}
a:hover {
text-decoration: underline;
color: #000;
}
.psihref, .psihref:visited {
color: #fff;
}
.psihref:hover {
text-decoration: underline;
color: #fff;
}
.col-lg-6, .col-lg-12 {
padding-bottom: 20px;
}
.badge{
font-size: 12px;
border-radius: 10px;
padding: 3px 7px;
float: right;
}
.table-nopadding > tbody > tr > td,
.table-nopadding > tbody > tr > th {
padding: 0;
}
+493
View File
@@ -0,0 +1,493 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<meta name="description" content="phpSysInfo is a customizable PHP script that displays information about your system nicely">
<meta name="author" content="phpSysInfo organization at GitHub">
<title>phpSysInfo <?php echo PSI_VERSION_STRING ?></title>
<link href="gfx/favicon.ico" type="image/x-icon" rel="shortcut icon">
<noscript><meta http-equiv="refresh" content="2; URL=index.php?disp=static"/></noscript>
<link rel="stylesheet" type='text/css' href="templates/vendor/bootstrap.min.css">
<link rel="stylesheet" type='text/css' href="templates/vendor/bootstrap-webapp.css">
<!--[if IE 9]>
<link rel="stylesheet" type='text/css' href="templates/vendor/bootstrap-ie9.css">
<script type="text/JavaScript" src="./js.php?name=bootstrap-ie9"></script>
<![endif]-->
<!--[if IE 8]>
<link rel="stylesheet" type='text/css' href="templates/vendor/bootstrap-ie8.css">
<script type="text/JavaScript" src="./js.php?name=html5shiv-printshiv"></script>
<script type="text/JavaScript" src="./js.php?name=bootstrap-ie8"></script>
<![endif]-->
<!--[if lt IE 8]>
<script type="text/javascript">
alert('You are using an unsupported browser. Update Internet Explorer to at least version 8');
die();
</script>
<![endif]-->
<link rel="stylesheet" type='text/css' href="templates/misc/emptyfile.css" id="PSI_CSS_Fix">
<link rel="stylesheet" type='text/css' href="templates/misc/emptyfile.css" id="PSI_Template">
</head>
<body>
<input type="hidden" id="plugins" value="<?php $plugins = ''; foreach (CommonFunctions::getPlugins() as $plugin) : $plugins .= $plugin.','; endforeach; echo substr($plugins, 0, -1);?>"/>
<input type="hidden" id="showCPUListExpanded" value="<?php echo $showCPUListExpanded;?>"/>
<input type="hidden" id="showCPUInfoExpanded" value="<?php echo $showCPUInfoExpanded;?>"/>
<input type="hidden" id="showNetworkInfosExpanded" value="<?php echo $showNetworkInfosExpanded;?>"/>
<input type="hidden" id="showNetworkActiveSpeed" value="<?php echo $showNetworkActiveSpeed;?>"/>
<input type="hidden" id="showCPULoadCompact" value="<?php echo $showCPULoadCompact;?>"/>
<input type="hidden" id="hideBootstrapLoader" value="<?php echo $hideBootstrapLoader;?>"/>
<input type="hidden" id="hideTotals" value="<?php echo $hideTotals;?>"/>
<input type="hidden" id="blocks" value="<?php echo $blocks;?>"/>
<div class="navbar fixed-top">
<div class="container" style="display:block;">
<div style="display:table-cell">
<div class="navbar-brand">
<img class="logo" alt="" src="gfx/logo_32.gif" title="reload"/>&thinsp;phpSys<a title="phpSysInfo - <?php echo PSI_VERSION_STRING; ?>" class="psihref" href="http://phpsysinfo.sourceforge.net/" target="psihref">Info</a><div class="errorbutton" id="errorbutton" title="errors" data-target="#errors-dialog" style="display:inline-block;background:url('gfx/attention.gif') no-repeat center;width:49px;height:32px;visibility:hidden;">
<img id="loader" alt="" src="gfx/ajax-loader.gif" style="margin:0 3px 0 3px;visibility:hidden;"/>
</div>
</div>
</div>
<div id="select" class="select" style="display:none;width:100%;vertical-align:middle;text-align:right;">
<div id="tempblock" style="display:none;">
<span class="lang_044"></span>
<select class="template" id="template">
<option value="green" selected="selected">green</option>
</select>
</select>
</div>
<div id="langblock" style="display:none;">
<span class="lang_045">Language</span>
<select class="language" id="language">
<?php if ($picklanguage) {
foreach ($languages as $l) :
$selected = "";
if ($language === $l) {
$selected = " selected=\"selected\"";
}
echo " <option value=\"".$l."\"".$selected.">".$l."</option>\n";
endforeach;
} else {
echo " <option value=\"".$language."\" selected=\"selected\">".$language."</option>\n";
}?>
</select>
</div>
</div>
<noscript>
<p>Your navigator does not support JavaScript (or JavaScript is not activated).</p>
<p>In approximatively 2 seconds you will be redirected to the static version of phpSysInfo.</p>
<p>&nbsp;</p>
<p><a href="index.php?disp=static">Click here to switch to the static version</a></p>
</noscript>
</div>
</div>
<div class="container">
<div id="output" class="row" style="display:none;">
<div id="block_vitals" class="col-lg-6" style="display:none;">
<div class="card">
<div class="card-header"><span class="lang_002">System vitals</span></div>
<div class="card-body">
<div class="table-responsive">
<table id="vitals" class="table table-hover table-sm noborderattop">
<tbody>
<tr>
<th><span class="lang_003">Hostname</span></th>
<td><span data-bind="Hostname"></span></td>
</tr>
<tr>
<th><span class="lang_004">Listening IP</span></th>
<td><span data-bind="IPAddr"></span></td>
</tr>
<tr>
<th><span class="lang_005">Kernel Version</span></th>
<td><span data-bind="Kernel"></span></td>
</tr>
<tr>
<th><span class="lang_006">Distro Name</span></th>
<td><span data-bind="Distro"></span></td>
</tr>
<tr>
<th><span class="lang_127">OS Type</span></th>
<td><span data-bind="OS"></span></td>
</tr>
<tr>
<th><span class="lang_007">Uptime</span></th>
<td><span data-bind="Uptime"></span></td>
</tr>
<tr>
<th><span class="lang_095">Last boot</span></th>
<td><span data-bind="LastBoot"></span></td>
</tr>
<tr>
<th><span class="lang_008">Current Users</span></th>
<td><span data-bind="Users"></span></td>
</tr>
<tr>
<th><span class="lang_009">Load Averages</span></th>
<td><span data-bind="LoadAvg"></span></td>
</tr>
<tr id="tr_SysLang">
<th><span class="lang_097">System Language</span></th>
<td><span data-bind="SysLang"></span></td>
</tr>
<tr id="tr_CodePage">
<th><span class="lang_098">Code Page</span></th>
<td><span data-bind="CodePage"></span></td>
</tr>
<tr id="tr_Processes">
<th><span class="lang_110">Processes</span></th>
<td><span data-bind="Processes"></span></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div id="block_hardware" class="col-lg-6" style="display:none;">
<div class="card">
<div class="card-header"><span class="lang_010">Hardware Information</span></div>
<div class="card-body">
<div class="table-responsive">
<table id="hardware" class="table table-hover table-sm noborderattop">
<tbody id="hardware-data">
</tbody>
</table>
</div>
</div>
</div>
</div>
<div id="block_memory" class="col-lg-12" style="display:none;">
<div class="card">
<div class="card-header"><span class="lang_027">Memory Usage</span></div>
<div class="card-body">
<div class="table-responsive">
<table id="memory" class="table table-hover table-sm">
<thead>
<tr>
<th><span class="lang_034">Type</span></th>
<th><span class="lang_033">Usage</span></th>
<th class="rightCell"><span class="lang_125">Free</span></th>
<th class="rightCell"><span class="lang_036">Used</span></th>
<th class="rightCell"><span class="lang_037">Size</span></th>
</tr>
</thead>
<tbody id="memory-data">
<tr>
<th><span data-bind="Type"></span></th>
<td><span data-bind="Usage"></span></td>
<td class="rightCell"><span data-bind="Free"></span></td>
<td class="rightCell"><span data-bind="Used"></span></td>
<td class="rightCell"><span data-bind="Total"></span></td>
</tr>
</tbody>
<tfoot id="swap-data" style="display:none;">
<tr>
<th><span data-bind="Name"></span></th>
<td><span data-bind="Usage"></span></td>
<td class="rightCell"><span data-bind="Free"></span></td>
<td class="rightCell"><span data-bind="Used"></span></td>
<td class="rightCell"><span data-bind="Total"></span></td>
</tr>
</tfoot>
</table>
</div>
</div>
</div>
</div>
<div id="block_filesystem" class="col-lg-12" style="display:none;">
<div class="card">
<div class="card-header"><span class="lang_030">Mounted Filesystems</span></div>
<div class="card-body">
<div class="table-responsive">
<table id="filesystem" class="table table-hover table-sm sortable">
<thead>
<tr>
<th id="filesystem_MountPoint"><span class="lang_031">Mountpoint</span></th>
<th><span class="lang_034">Type</span></th>
<th><span class="lang_032">Partition</span></th>
<th><span class="lang_033">Usage</span></th>
<th class="rightCell sorttable_numeric"><span class="lang_035">Free</span></th>
<th class="rightCell sorttable_numeric"><span class="lang_036">Used</span></th>
<th class="rightCell sorttable_numeric"><span class="lang_037">Size</span></th>
</tr>
</thead>
<tbody id="filesystem-data">
<tr>
<th><span data-bind="MountPoint"></span></th>
<td><span data-bind="FSType"></span></td>
<td><span data-bind="Name"></span></td>
<td><span data-bind="Percent"></span></td>
<td class="rightCell"><span data-bind="Free"></span></td>
<td class="rightCell"><span data-bind="Used"></span></td>
<td class="rightCell"><span data-bind="Total"></span></td>
</tr>
</tbody>
<tfoot id="filesystem-foot" style="display:none;">
<tr>
<td></td>
<td></td>
<th><span class="lang_038">Totals</span></th>
<th><span data-bind="Percent"></span></th>
<th class="rightCell"><span data-bind="Free"></span></th>
<th class="rightCell"><span data-bind="Used"></span></th>
<th class="rightCell"><span data-bind="Total"></span></th>
</tr>
</tfoot>
</table>
</div>
</div>
</div>
</div>
<div id="block_network" class="col-lg-6" style="display:none;">
<div class="card">
<div class="card-header"><span class="lang_021">Network Interface</span></div>
<div class="card-body">
<div class="table-responsive">
<table id="network" class="table table-hover table-sm">
<thead>
<tr>
<th style="width:60%"><span class="lang_022">Device</span></th>
<th class="rightCell"><span class="lang_023">Receive</span></th>
<th class="rightCell"><span class="lang_024">Send</span></th>
<th class="rightCell"><span class="lang_025">Err/<wbr>Drop</span></th>
</tr>
</thead>
<tbody id="network-data"></tbody>
</table>
</div>
</div>
</div>
</div>
<div id="block_voltage" class="col-lg-6" style="display:none;">
<div class="card">
<div class="card-header"><span class="lang_052">Voltage</span></div>
<div class="card-body">
<div class="table-responsive">
<table id="voltage" class="table table-hover table-sm">
<thead>
<tr>
<th><span class="lang_059">Label</span></th>
<th class="rightCell"><span class="lang_054">Value</span></th>
<th class="rightCell"><span class="lang_055">Min</span></th>
<th class="rightCell"><span class="lang_056">Max</span></th>
</tr>
</thead>
<tbody id="voltage-data">
<tr>
<th><span data-bind="Label"></span></th>
<td class="rightCell"><span data-bind="Value"></span></td>
<td class="rightCell"><span data-bind="Min"></span></td>
<td class="rightCell"><span data-bind="Max"></span></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div id="block_current" class="col-lg-6" style="display:none;">
<div class="card">
<div class="card-header"><span class="lang_105">Current</span></div>
<div class="card-body">
<div class="table-responsive">
<table id="current" class="table table-hover table-sm">
<thead>
<tr>
<th><span class="lang_059">Label</span></th>
<th class="rightCell"><span class="lang_054">Value</span></th>
<th class="rightCell"><span class="lang_055">Min</span></th>
<th class="rightCell"><span class="lang_056">Max</span></th>
</tr>
</thead>
<tbody id="current-data">
<tr>
<th><span data-bind="Label"></span></th>
<td class="rightCell"><span data-bind="Value"></span></td>
<td class="rightCell"><span data-bind="Min"></span></td>
<td class="rightCell"><span data-bind="Max"></span></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div id="block_temperature" class="col-lg-6" style="display:none;">
<div class="card">
<div class="card-header"><span class="lang_051">Temperatures</span></div>
<div class="card-body">
<div class="table-responsive">
<table id="temperature" class="table table-hover table-sm">
<thead>
<tr>
<th><span class="lang_059">Label</span></th>
<th class="rightCell"><span class="lang_054">Value</span></th>
<th class="rightCell"><span class="lang_058">Limit</span></th>
</tr>
</thead>
<tbody id="temperature-data">
<tr>
<th><span data-bind="Label"></span></th>
<td class="rightCell"><span data-bind="Value"></span></td>
<td class="rightCell"><span data-bind="Max"></span></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div id="block_fans" class="col-lg-6" style="display:none;">
<div class="card">
<div class="card-header"><span class="lang_053">Fans</span></div>
<div class="card-body">
<div class="table-responsive">
<table id="fans" class="table table-hover table-sm">
<thead>
<tr>
<th><span class="lang_059">Label</span></th>
<th class="rightCell"><span class="lang_054">Value</span></th>
<th class="rightCell"><span class="lang_055">Min</span></th>
</tr>
</thead>
<tbody id="fans-data">
<tr>
<th><span data-bind="Label"></span></th>
<td class="rightCell"><span data-bind="Value"></span></td>
<td class="rightCell"><span data-bind="Min"></span></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div id="block_power" class="col-lg-6" style="display:none;">
<div class="card">
<div class="card-header"><span class="lang_102">Power</span></div>
<div class="card-body">
<div class="table-responsive">
<table id="power" class="table table-hover table-sm">
<thead>
<tr>
<th><span class="lang_059">Label</span></th>
<th class="rightCell"><span class="lang_054">Value</span></th>
<th class="rightCell"><span class="lang_058">Limit</span></th>
</tr>
</thead>
<tbody id="power-data">
<tr>
<th><span data-bind="Label"></span></th>
<td class="rightCell"><span data-bind="Value"></span></td>
<td class="rightCell"><span data-bind="Max"></span></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div id="block_other" class="col-lg-6" style="display:none;">
<div class="card">
<div class="card-header"><span class="lang_121">Other</span></div>
<div class="card-body">
<div class="table-responsive">
<table id="other" class="table table-hover table-sm">
<thead>
<tr>
<th><span class="lang_059">Label</span></th>
<th class="rightCell"><span class="lang_054">Value</span></th>
</tr>
</thead>
<tbody id="other-data">
<tr>
<th><span data-bind="Label"></span></th>
<td class="rightCell"><span data-bind="Value"></span></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div id="block_ups" class="col-lg-6" style="display:none;">
<div class="card">
<div class="card-header"><span class="lang_068">UPS Information</span></div>
<div class="card-body">
<div class="table-responsive">
<table id="ups" class="table table-hover table-sm noborderattop">
<tbody id="ups-data">
</tbody>
</table>
</div>
</div>
</div>
</div>
<?php foreach (CommonFunctions::getPlugins() as $plugin) :
if (file_exists(PSI_APP_ROOT . '/plugins/' . $plugin . '/' . $plugin . '_bootstrap.html')) : ?>
<?php include PSI_APP_ROOT. '/plugins/' . $plugin . '/' . $plugin . '_bootstrap.html'; ?>
<?php endif; endforeach; ?>
</div>
<!-- Errors details modal dialogs -->
<div class="modal fade" id="errors-dialog" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Errors</h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<ul id="errors" class="list-group">
</ul>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
<!-- /.modal -->
</div>
<script type="text/JavaScript" src="./js.php?name=jquery"></script>
<script type="text/JavaScript" src="./js.php?name=console-shim"></script>
<script type="text/JavaScript" src="./js.php?name=transparency"></script>
<script type="text/JavaScript" src="./js.php?name=sorttable"></script>
<script type="text/JavaScript" src="./js.php?name=jquery.treegrid"></script>
<script type="text/JavaScript" src="./js.php?name=bootstrap-util"></script>
<script type="text/JavaScript" src="./js.php?name=bootstrap-modal"></script>
<?php foreach (CommonFunctions::getPlugins() as $plugin) : ?>
<script type="text/JavaScript" src="./js.php?plugin=<?php echo $plugin ?>&amp;name=<?php echo $plugin ?>_bootstrap"></script>
<?php endforeach; ?>
<script type="text/JavaScript" src="./js.php?name=phpsysinfo_bootstrap"></script>
</body>
</html>
+987
View File
@@ -0,0 +1,987 @@
; PSI Config File
;
; @category PHP
; @package PSI
; @author Michael Cramer <BigMichi1@users.sourceforge.net>
; @copyright 2009 phpSysInfo
; @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License version 2, or (at your option) any later version
; @version SVN: $Id: phpsysinfo.ini.new 705 2012-11-11 00:33:29Z namiltd $
; @link http://phpsysinfo.sourceforge.net
[main]
; ********************************
; MAIN PARAMETERS
; ********************************
; Turn on debugging of some functions and include errors and warnings in xml and provide a popup for displaying errors
; - false : no debug information are stored in xml or displayed
; - true : debug information stored in xml and displayed *be careful if set this to true, may include sensitive information from your pc*
;
DEBUG=false
; Turn on logging/unlogging of functions executeProgram() and rfts()
; example : executeProgram () and rfts () record the results to the "/tmp/phpsysinfo.log" file
; LOG="/tmp/phpsysinfo.log"
; example : executeProgram () and rfts () read the results from the "/tmp/phpsysinfo.log" file
; LOG="-/tmp/phpsysinfo.log"
; example : executeProgram () and rfts () read the results from the "/tmp/phpsysinfo.log" file
; LOG="+/tmp/phpsysinfo.log", if lack in the log file it runs normally
;
LOG=false
; Turn on/off compression for JavaScript file
; - JS_COMPRESSION=false //no compression (recommended with slow processor)
; - JS_COMPRESSION="None" //code minimizing
; - JS_COMPRESSION="Normal" //code packing
;
JS_COMPRESSION="Normal"
; Additional paths where to look for installed programs
; Example : ADD_PATHS="/opt/bin,/opt/sbin"
;
ADD_PATHS=false
; List of IP addresses of clients authorized to run
; Example : ALLOWED="127.0.0.1,192.168.1.48" //allowed IP 127.0.0.1 and 192.168.1.48
; ALLOWED=false //no IP checking
;
ALLOWED=false
; List of sudo commands
; Example : SUDO_COMMANDS="iptables-save" //execute "sudo iptables-save" instead "iptables-save"
; SUDO_COMMANDS=false //no sudo commands
;
SUDO_COMMANDS=false
; Order of data blocks
; Example : BLOCKS="vitals,hardware,memory,filesystem,network,voltage,current,temperature,fans,power,other,ups" or BLOCKS=true //default order
; BLOCKS=false //hide all blocks
;
BLOCKS=true
; Maximum time in seconds a script is allowed to run before it is terminated by the parser
;
;MAX_TIMEOUT=30
; executeProgram() timeout value in seconds
;
;EXEC_TIMEOUT=30
; snmprealwalk() and executeProgram("snmpwalk") number of seconds until the first timeout
;
;SNMP_TIMEOUT=3
; snmprealwalk() and executeProgram("snmpwalk") number of times to retry if timeouts occur
;
;SNMP_RETRY=0
; External WinNT server connection parameters
; Possibility available for WinNT and partly for LINUX (if wmic tool from wmic-linux or openvas-smb package is installed)
; These settings can also be entered for a specific plug-in so that only it connects to an external server
; For safety reasons make sure that phpsysinfo.ini cannot be read by the network or other users!
;
;WMI_HOSTNAME="hostname"
;WMI_USER="username"
;WMI_PASSWORD="password"
; Plugins that should be included in xml and output
; List of plugins should look like "plugin,plugin,plugin". See /plugins directory
; - PLUGINS="Raid,PS" //list of plugins
; - PLUGINS=false //no plugins
; included plugins:
; - Raid - show the software, fake, zpool or megaraid RAID status
; - PS - show a process tree of all running processes
; - PSStatus - show a graphical representation if a process is running or not
; - Quotas - show a table with all quotas that are active and there current state
; - SMART - show S.M.A.R.T. information from drives that support it
; - BAT - show battery state on a laptop, tablet or phone
; - UpdateNotifier - show update notifications (only for Ubuntu server)
; - SNMPPInfo - show printers info via SNMP
; - Uprecords - show uprecords info
; - PingTest - show Ping Test info
; - StableBit - show StableBit Scanner info (WinNT)
; - HyperV - show Hyper-V info (WinNT)
; - Docker - show docker stats
; - Viewer - show output of any command or file viewer.tmp contents
;
PLUGINS=false
; ********************************
; DISPLAY PARAMETERS
; ********************************
; Define the default display mode
; auto: let user browser choose the mode
; dynamic: use javascript to refresh data
; static: static page (use metatag to reload page)
; bootstrap: use twitter bootstrap template
;
DEFAULT_DISPLAY_MODE="auto"
; Define the default language
;
DEFAULT_LANG="en"
; Define the default template
;
DEFAULT_TEMPLATE="phpsysinfo"
; Define the default template for frontend "bootstrap"
;
DEFAULT_BOOTSTRAP_TEMPLATE="phpsysinfo"
; Show or hide language picklist
;
SHOW_PICKLIST_LANG=true
; Show or hide template picklist
;
SHOW_PICKLIST_TEMPLATE=true
; Show CPU list expanded
;
SHOW_CPULIST_EXPANDED=true
; Show CPU info expanded
;
SHOW_CPUINFO_EXPANDED=false
; Show memory infos expanded
;
SHOW_MEMORY_INFOS_EXPANDED=false
; Show virtualizer info for Linux, Android and WinNT
;
SHOW_VIRTUALIZER_INFO=true
; Hide loader for frontend "bootstrap"
;
HIDE_BOOTSTRAP_LOADER=false
; Increase the body width for the "dynamic" frontend by pixels. The value should be even
; - 0 : disabled
; - 200 : wider by 200px
; Default is 0 pixels
;
INCREASE_WIDTH=0
; Define the interval for refreshing data in ms
; - 0 : disabled
; - 1000 : 1 second
; Default is 60 seconds
;
REFRESH=60000
; Show a graph for current cpuload
; - true : displayed, but it's a performance hit (because we have to wait to get a value, 1 second)
; - "compact" : displayed like above but in compact mode
; - false : will not be displayed (also in Load Averages field)
;
LOAD_BAR="compact"
; Display the virtual host name and address
; - Default is canonical host name and address
; - Use USE_VHOST=true to display virtual host name.
;
USE_VHOST=false
; Controls the units & format for network, memory and filesystem
; - 1 KiB = 2^10 bytes = 1,024 bytes
; - 1 KB = 10^3 bytes = 1,000 bytes
; - "B" everything is in Byte
; - "PiB" everything is in PeBiByte
; - "TiB" everything is in TeBiByte
; - "GiB" everything is in GiBiByte
; - "MiB" everything is in MeBiByte
; - "KiB" everything is in KiBiByte
; - "auto_binary" everything is automatic done if value is to big for, e.g MiB then it will be in GiB
; - "PB" everything is in PetaByte
; - "TB" everything is in TeraByte
; - "GB" everything is in GigaByte
; - "MB" everything is in MegaByte
; - "KB" everything is in KiloByte
; - "auto_decimal" everything is automatic done if value is to big for, e.g MB then it will be in GB
;
BYTE_FORMAT="auto_binary"
; Format in which temperature is displayed
; - "c" shown in celsius
; - "f" shown in fahrenheit
; - "c-f" both shown first celsius and fahrenheit in braces
; - "f-c" both shown first fahrenheit and celsius in braces
;
TEMP_FORMAT="c"
; Show devices infos
; Example : SHOW_DEVICES_INFOS=true
;
SHOW_DEVICES_INFOS=true
; Show devices serial number
; Example : SHOW_DEVICES_SERIAL=true
;
SHOW_DEVICES_SERIAL=false
; Format in which datetime is displayed
; - "UTC" shown as UTC string
; - "locale" shown as Locale string
;
DATETIME_FORMAT="UTC"
; ********************************
; SENSORS PARAMETERS
; ********************************
; Define the motherboard monitoring program
; We support the following programs so far
; - HDDtemp http://www.guzu.net/linux/hddtemp.php (Linux)
; - LMSensors http://www.lm-sensors.org/ (Linux)
; - Healthd http://healthd.thehousleys.net/ (FreeBSD)
; - HWSensors http://www.openbsd.org/ (OpenBSD)
; - MBMon http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/download.html (FreeBSD/Linux/NetBSD/OpenBSD)
; - MBM5 http://mbm.livewiredev.com/ (data from file data/MBM5.csv - WinNT)
; - CpuMem No addon tool neded (FreeBSD/Linux/WinNT or others but with the dmidecode utility installed)
; - IPMItool http://ipmitool.sourceforge.net/ (Linux)
; - FreeIPMI http://www.gnu.org/software/freeipmi/ (FreeBSD/Linux/OpenBSD/SunOS)
; - IPMIutil http://ipmiutil.sourceforge.net/ (Darwin/FreeBSD/Linux/SunOS/WinNT)
; - IPMIcfg http://www.supermicro.com/en/solutions/management-software/ipmi-utilities (Linux/WinNT)
; - K8Temp http://hur.st/k8temp/ (DragonFly/FreeBSD/NetBSD/OpenBSD)
; - PiTemp No addon tool neded (Raspberry Pi and Banana Pi - Linux)
; - OHM http://openhardwaremonitor.org/ (WinNT)
; - ThermalZone No addon tool neded (WinNT/Linux/Android)
; - QTSsnmp SNMP service enabled and snmp-utils package installed: opkg install snmp-utils (QNAP - QTS Linux)
; - Hwmon No addon tool neded (Linux)
; - SpeedFan http://www.almico.com/speedfan.php (required tool packaged in: tools/speedfan/SpeedFanGet_bin.zip) (WinNT)
; - Thinkpad No addon tool neded (Lenovo Thinkpad - Linux)
; - NvidiaSMI Nvidia GPU drivers (FreeBSD/Linux/SunOS/WinNT)
;
; Example: If you want to use lmsensors : SENSOR_PROGRAM="LMSensors"
; If you want to use lmsensors and IPMItool: SENSOR_PROGRAM="LMSensors,IPMItool"
;
SENSOR_PROGRAM=false
; Show events of sensors
; - true : show events
; - false : do not show events
;
SENSOR_EVENTS=true
; Sort sensors list
;
SORT_SENSORS_LIST=false
; Some sensors programs contain an additional configuration in the relevant sections [sensor_...]
; ********************************
; FILESYSTEM PARAMETERS
; ********************************
; Show mount point
; - true : show mount point
; - false : do not show mount point
;
SHOW_MOUNT_POINT=true
; Show mount option
; - true : show mount option
; - false : do not show mount option
;
SHOW_MOUNT_OPTION=true
; Show mount credentials
; - true : show mount credentials
; - false : do not show mount credentials
;
SHOW_MOUNT_CREDENTIALS=false
; Show inode usage
; - true : display used inodes in percent
; - false : hide them
;
SHOW_INODES=true
; Hide mounts
; Example : HIDE_MOUNTS="/home,/usr"
;
HIDE_MOUNTS=""
; Filesystem usage warning threshold in percent
; - 0 : disabled
; - 90 : 90%
; Default is 90%
;
FS_USAGE_THRESHOLD=90
; Ignore usage and usage threshold for filesystem types
; Example : IGNORE_THRESHOLD_FS_TYPES="packagefs, iso9660, squashfs, devfs, devtmpfs, tmpfs, lxfs, udf, UDF, CDFS"
;
IGNORE_THRESHOLD_FS_TYPES="packagefs, iso9660, squashfs, devfs, devtmpfs, tmpfs, lxfs, udf, UDF, CDFS"
; Ignore usage of mounts
; Example : IGNORE_USAGE="/root,/mnt/c"
;
IGNORE_USAGE=""
; Ignore total size of mounts
; Example : IGNORE_TOTAL="/System/Volumes/VM,/System/Volumes/Prebot"
;
IGNORE_TOTAL=""
; Ignore free space size of mounts
; Example : IGNORE_FREE="/zfs/space,/zfs/data"
;
IGNORE_FREE=""
; Hide filesystem types
; Example : HIDE_FS_TYPES="tmpfs,devtmpfs,usbfs,bstfolder"
;
HIDE_FS_TYPES=""
; Hide partitions
; Example : HIDE_DISKS="rootfs,/dev/sda1"
; HIDE_DISKS=true //hide all partitions
;
HIDE_DISKS=""
; Hide totals information
;
HIDE_TOTALS=false
; ********************************
; NETWORK PARAMETERS
; ********************************
; Hide network interfaces
; Example : HIDE_NETWORK_INTERFACE="eth0,sit0"
; HIDE_NETWORK_INTERFACE=true //hide all network interfaces
;
HIDE_NETWORK_INTERFACE=""
; Use a regular expression in the name of a hidden network interface (e.g. HIDE_NETWORK_INTERFACE="docker.*")
; - true : use a regular expression
; - false : do not use a regular expression
;
HIDE_NETWORK_INTERFACE_REGEX=false
; Show network interfaces infos for Linux, Android, FreeBSD, NetBSD, OpenBSD, Haiku, Darwin, SunOS, Minix, QNX and WinNT
; Example : SHOW_NETWORK_INFOS=true
;
SHOW_NETWORK_INFOS=true
; Hide MAC address in the infos
;
HIDE_NETWORK_MACADDR=false
; Sort network interfaces list
;
SORT_NETWORK_INTERFACES_LIST=false
; Show network infos expanded
;
SHOW_NETWORK_INFOS_EXPANDED=false
; Show network active speed
; - true : display network active speed
; - "bps" : display network active speed in bits per second (b/s, Kb/s, etc...)
; - false : hide them
;
SHOW_NETWORK_ACTIVE_SPEED=false
; ********************************
; UPS PARAMETERS
; ********************************
; Define the ups monitoring program
; We support the following programs so far
; - Apcupsd http://www.apcupsd.com/
; - Nut http://www.networkupstools.org/
; - SNMPups monitoring via Simple Network Management Protocol (SNMP)
; - PowerSoftPlus http://ever.eu/
; - pmset based on the result of the command "pmset -g batt" on Darwin system
;
; Example: If you want to use Apcupsd : UPS_PROGRAM="Apcupsd"
; If you want to use Apcupsd and Nut : UPS_PROGRAM="Apcupsd,Nut"
;
UPS_PROGRAM=false
; Apcupsd supports multiple UPSes
; You can specify comma delimited list in the form <hostname>:<port> or <ip>:<port>. The defaults are: "127.0.0.1:3551"
; See the following parameters in apcupsd.conf: NETSERVER, NISIP, NISPORT
; It uses the defaults if not specified.
;
UPS_APCUPSD_LIST=false
; define how to access the Apcupsd data
; - "command" execute apcaccess command
; - "data" for reading data from file data/upsapcupsd{ups_number}.tmp
; content is the output from "apcaccess status"
;
UPS_APCUPSD_ACCESS="command"
; Apcupsd has a CGI monitoring utility called apcupsd-cgi
; You can set the parameter below to true if you have it installed - this will add apcupsd-cgi links to the UPS tree
;
UPS_APCUPSD_CGI_ENABLE=false
; Nut supports multiple UPSes
; You can specify comma delimited list in the form <hostname>:<port> or <ip>:<port>. The defaults are: "127.0.0.1:3493"
; See the following parameters in upsd.conf: LISTEN
; It uses the defaults if not specified.
;
UPS_NUT_LIST=false
; define how to access the Nut data
; - "command" execute upsc command
; - "data" for reading data from file data/upsnut{ups_number}.tmp
; content is the output from "upsc {upsname}"
;
UPS_NUT_ACCESS="command"
; SNMPups supports multiple UPSes
; You can specify comma delimited list in the form <hostname>:<port> or <ip>:<port>. The default port is 161
; List must be specified.
;
UPS_SNMPUPS_LIST=false
; define how to access the SNMP data
; - "php-snmp" execute php snmprealwalk function (php-snmp module must be installed)
; - "command" execute snmpwalk command
; - "data" for reading data from file data/upssnmpups{ups_number}.tmp
; content is the output from:
; "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
; 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
; 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
; 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"
;
UPS_SNMPUPS_ACCESS="php-snmp"
; define how to access the PowerSoftPlus data
; - "command" execute powersoftplus command
; - "data" for reading data from file data/upspowersoftplus.tmp
; content is the output from "powersoftplus -p"
;
UPS_POWERSOFTPLUS_ACCESS="command"
; define how to access the pmset data
; - "command" execute pmset command
; - "data" for reading data from file data/upspmset.tmp
; content is the output from "pmset -g batt"
;
UPS_PMSET_ACCESS="command"
; ********************************
; MISC PARAMETERS
; ********************************
; define how to access the dmidecode data
; - "data" read data from file data/dmidecode.tmp; content is the output from "dmidecode -t 17")
; - "command" execute command: dmidecode -t 17
; If access error try execute first: chmod 4755 /usr/sbin/dmidecode
; This method is not recommended for safety reasons!
;
DMIDECODE_ACCESS="command"
; ********************************
; SENSORS PROGRAMS PARAMETERS
; ********************************
[sensor_hddtemp]
; Hddtemp motherboard monitoring program configuration
;
; If the hddtemp program is available we can read the temperature, if hdd is smart capable
; !!ATTENTION!! hddtemp might be a security issue
; - ACCESS="command" //read data from 'hddtemp' command (must be set suid)
; - ACCESS="tcp" //read data from hddtemp deamon (localhost:7634)
;
ACCESS="command"
[sensor_lmsensors]
; LMSensors motherboard monitoring program configuration
;
; - ACCESS="command" //read data from 'sensors' command
; - ACCESS="data" //read data from file data/lmsensors.tmp
;
ACCESS="command"
[sensor_healthd]
; Healthd motherboard monitoring program configuration
;
; - ACCESS="command" //read data from 'healthdc' command
; - ACCESS="data" //read data from file data/healthd.tmp
;
ACCESS="command"
[sensor_mbmon]
; MBMon motherboard monitoring program configuration
;
; - ACCESS="command" //read data from 'mbmon -c 1 -r' command
; - ACCESS="data" //read data from file data/mbmon.tmp
; - ACCESS="tcp" //read data from mbmon deamon (localhost:411)
;
ACCESS="command"
[sensor_ipmitool]
; IPMItool motherboard monitoring program configuration
;
; - ACCESS="command" //read data from 'ipmitool sensor -v' command
; //if access error execute first: chmod 666 /dev/ipmi0
; - ACCESS="data" //read data from file data/ipmitool.tmp
;
ACCESS="command"
[sensor_freeipmi]
; FreeIPMI motherboard monitoring program configuration
;
; - ACCESS="command" //read data from 'ipmi-sensors --output-sensor-thresholds' program
; - ACCESS="data" //read data from file data/freeipmi.tmp
;
ACCESS="command"
[sensor_ipmiutil]
; IPMIutil motherboard monitoring program configuration
;
; - ACCESS="command" //read data from 'ipmiutil sensor -stw' command
; //if access error execute first: chmod 666 /dev/ipmi0
; - ACCESS="data" //read data from file data/ipmiutil.tmp
;
ACCESS="command"
[sensor_ipmicfg]
; IPMIcfg motherboard monitoring program configuration
;
; - ACCESS="command" //read data from 'ipmicfg -sdr' and/or 'ipmicfg -psfruinfo' command
; - ACCESS="data" //read data from file data/ipmicfg.tmp (output from: "ipmicfg -sdr>ipmicfg.tmp; ipmicfg -psfruinfo>>ipmicfg.tmp")
;
ACCESS="command"
; Execute power supply FRU health info
; - true : execute 'ipmicfg --psfruinfo'
; - false : don't execute 'ipmicfg --psfruinfo'
; - "only" : execute 'ipmicfg --psfruinfo' and don't execute 'ipmicfg -sdr'
;
PSFRUINFO=true
[sensor_k8temp]
; K8Temp motherboard monitoring program configuration
;
; - ACCESS="command" //read data from 'k8temp' command
; - ACCESS="data" //read data from file data/k8temp.tmp
;
ACCESS="command"
[sensor_thermalzone]
; ThermalZone motherboard monitoring program configuration
;
; - ACCESS="command" //on Linux information is retrieved everytime through system files / on WinNT information is retrieved everytime through WMI
; - ACCESS="data" //read data from file data/thermalzone.tmp (output of WinNT command "wmic /namespace:\\root\wmi PATH MSAcpi_ThermalZoneTemperature get CriticalTripPoint,CurrentTemperature,InstanceName")
;
ACCESS="command"
[sensor_speedfan]
; SpeedFan motherboard monitoring program configuration
;
; - ACCESS="command" //read data from 'speedfanget' command
; - ACCESS="data" //read data from file data/speedfan.tmp
;
ACCESS="command"
[sensor_nvidiasmi]
; NvidiaSMI motherboard monitoring program configuration
;
; - ACCESS="command" //read data from 'nvidia-smi -q' command
; - ACCESS="data" //read data from file data/nvidiasmi.tmp
;
ACCESS="command"
;The path to nvidia-smi.exe for the WinNT system
;
EXE_PATH="c:\Program Files\NVIDIA Corporation\NVSMI\nvidia-smi.exe"
; ********************************
; PLUGINS PARAMETERS
; ********************************
[bat]
; BAT Plugin configuration
; define how to access the battery statistic data
; - "command" on Linux and Android read data from /proc/acpi/battery/BAT0/info and /proc/acpi/battery/BAT0/state
; or on newer kernel from /sys/class/power_supply/
; or from 'upower -d' command (if UPOWER is true)
; on Android read data from /sys/class/power_supply/
; on Darwin read data from 'ioreg -w0 -l -n AppleSmartBattery -r' command
; on FreeBSD read data from 'acpiconf -i batt' command
; on OpenBSD read data from 'sysctl hw.sensors.acpibat0' command
; - "data" (a file must be available in the data directory of the phpsysinfo installation
; with the filename "bat_info.tmp" and "bat_state.tmp"; content is the output
; from "cat /proc/acpi/battery/BAT0/info" and "cat /proc/acpi/battery/BAT0/state")
;
ACCESS="command"
; on Lunux try executing 'upower -d' command
;
UPOWER=false
; Show battery serial number
;
SHOW_SERIAL=false
[raid]
; Raid Plugin configuration
; define how to access the raid statistic data
; - "command" - mdstat: file "/proc/mdstat" is read (on Linux only)
; - dmraid: command "dmraid -s -vv 2>&1" is run (on Linux only)
; If access error try execute first: chmod 4755 /sbin/dmraid
; This method is not recommended for safety reasons!
; - megactl: command "megactl" (on Linux only)
; downloaded from http://sourceforge.net/projects/megactl/ or http://github.com/hmage/megactl
; If permission error try execute first: chmod 4755 /usr/sbin/megactl
; - megasasctl: command "megasasctl" (on Linux only)
; downloaded from http://sourceforge.net/projects/megactl/ or http://github.com/hmage/megactl
; If permission error try execute first: chmod 4755 /usr/sbin/megasasctl
; - megaclisas-status: command "megaclisas-status" (or "megaclisas-status.py" on WinNT)
; downloaded from http://hwraid.le-vert.net or https://github.com/eLvErDe/hwraid (Python 2) or https://github.com/ElCoyote27/hwraid (Python 3)
; - 3ware-status: command "3ware-status" (or 3ware-status.py" on WinNT)
; downloaded from http://hwraid.le-vert.net or https://github.com/eLvErDe/hwraid or https://github.com/ElCoyote27/hwraid
; - graid: command "graid list" is run (on FreeBSD only)
; - zpool: command "zpool status" is run
; - 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
; - "php-snmp"- idrac: execute php snmprealwalk function (php-snmp module must be installed)
; - for others the option is inactive (uses "command" instead)
; - "data" (a file must be available in the data directory of the phpsysinfo installation
; with the filename "raidmdstat.tmp" or "raiddmraid.tmp" or "raidmegactl.tmp" or "raidmegasasctl.tmp"
; or "raidmegaclisas-status.tmp" or "raidgraid.tmp" or "raidzpool.tmp" or "raididrac{device_number}.tmp")
;
ACCESS="command"
; define possible programs
PROGRAM="mdstat,dmraid,megactl,megasasctl,megaclisas-status,3ware-status,graid,zpool,idrac"
; Hide RAID devices
; Example : HIDE_DEVICES="md127"
;
HIDE_DEVICES=""
;
; string contains a list of IDRAC devices that are checked
; Example : IDRAC_DEVICES="192.168.0.120"
;
IDRAC_DEVICES=""
[ps]
; PS Plugin configuration
; define how to access the ps statistic data
; - "command" ps command is run everytime the block gets refreshed or build / on WinNT
; information is retrieved everytime through WMI
; - "data" (a file must be available in the data directory of the phpsysinfo installation
; with the filename "ps.tmp"; content is the output from "ps -axo pid,ppid,pmem,pcpu,args")
;
ACCESS="command"
; Memory Usage info
;
MEMORY_USAGE=true
; CPU Usage info
;
CPU_USAGE=true
; Show kthreadd child list expanded
;
SHOW_KTHREADD_EXPANDED=false
; Show PID 1 child list expanded
;
SHOW_PID1CHILD_EXPANDED=false
[psstatus]
; PSStatus Plugin configuration
; define how to access the psstatus statistic data
; - "command" pidof command is run everytime the block gets refreshed or build
; / on WinNT information is retrieved everytime through WMI
; - "data" a file must be available in the data directory of the phpsysinfo installation
; with the filename "psstatus.tmp"; content is the output from
; <code>for ps in "apache2" "mysqld" "sshd"; do echo $ps "|" `pidof -s -x "$ps"`; done</code>
;
ACCESS="command"
; Regular expression search in the process name (e.g. "ddclient.*") for non-WinNT systems
; - true : Regular expression search (used pgrep command)
; - false : Normal search (used pidof command)
;
USE_REGEX=false
; controls which processes are checked if they are running
;
; string contains a list of process names that are checked, names are seperated by a comma (on WinNT names must end with '.exe')
;
PROCESSES="mysqld, sshd, explorer.exe"
[quotas]
; Quotas Plugin configuration
; define how to access the repquota statistic data
; - "command" repquota command is run everytime the block gets refreshed or build
; - "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")
;
ACCESS="command"
[smart]
; SMART Plugin configuration
; Smartctl program
; If the smartctl program is available we can read S.M.A.R.T informations
; - "command" smartctl command is run everytime the block gets refreshed or build
; if error: Smartctl open device: /dev/sda failed: Permission denied
; Not recommended method:
; execute: chmod 4755 /usr/sbin/smartctl
; Second method:
; try to set: SUDO_COMMANDS="smartctl" and add to file /etc/sudoers line: apache ALL = (ALL) NOPASSWD: /usr/sbin/smartctl
; - "data" (a file must be available in the data directory of the
; phpsysinfo installation with the filename "smart{disk_number}.tmp";
; content is the output from "smartctl --all device"
; or on WinNT only from "wmic /namespace:\\root\wmi path MSStorageDriver_ATAPISmartData get VendorSpecific | more +{disk_number}")
; - "wmi" information is retrieved everytime through WMI (WinNT only)
;
ACCESS="command"
; Smartctl devices to monitor
; If the smartctl support is enabled, those disks information will be displayed
; - DEVICES="/dev/hda,/dev/hdb" //Will display those two disks informations
; You also can specify --device option value for smartctl command surrounded by parentheses eg:
; - DEVICES="(marvell)/dev/sda"
; or
; - DEVICES="(megaraid.0)/dev/sda" //comma in --device option value is replaced by a dot
;
DEVICES="/dev/sda, /dev/sdb"
; Smartctl ID# and column name from "Vendor Specific SMART Attributes with Thresholds" table
; If the smartctl support is enabled, enter the ID#-COLUMN_NAME from "Vendor Specific SMART Attributes with Thresholds" table from smartctl output.
; or for no SCSI devices: ID#-COLUMN_NAME-REPLACEMENT_ID# where REPLACEMENT_ID# is an alternative ID number.
; 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
; - IDS="194-VALUE,4-VALUE,009-RAW_VALUE" //ID#-COLUMN_NAME, ID#-COLUMN_NAME, etc...
; The additional attributes:
; ATA Error Count is marked as 0-RAW_VALUE
; Non-medium Error Count is marked as 255-RAW_VALUE
;
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"
[snmppinfo]
; SNMPPInfo Plugin configuration
; define how to access the SNMP Printer Info statistic data
; - "php-snmp" execute php snmprealwalk function (php-snmp module must be installed)
; - "command" execute snmpwalk command
; - "data" a file must be available in the data directory of the
; phpsysinfo installation with the filename "snmppinfo{printer_number}.tmp";
; content is the output from:
; 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
; 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
; 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
; 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
;
ACCESS="php-snmp"
;define the Printer devices
;
; string contains a list of printer addresses that are checked
;
DEVICES="192.168.0.5, 192.168.0.9"
[updatenotifier]
; Update Notifier Plugin configuration
; define how to access the updatenotifier statistic data
; - "command" execute command /usr/lib/update-notifier/apt-check
; - "data" reads data from file defined in FILE parameter
;
ACCESS="data"
; define the update info file format
; - true: Ubuntu Landscape format (file: /var/lib/update-notifier/updates-available)
; - false: universal format (format: A;B)
; A: total packages to update
; B: security packages to update
;
UBUNTU_LANDSCAPE_FORMAT=true
; define the update info file. The default is: /var/lib/update-notifier/updates-available
;
FILE="/var/lib/update-notifier/updates-available"
[uprecords]
; Uprecords Plugin configuration
; define how to access the uprecords statistic data
; - "command" uprecords command is run everytime the block gets refreshed or build
; if access error try execute first: chmod 4755 /usr/bin/uprecords
; This method is not recommended for safety reasons!
; - "data" (a file must be available in the data directory of the phpsysinfo installation
; with the filename "uprecords.tmp"; content is the output from "TZ=GMT uprecords -a -w")
;
ACCESS="command"
; define the maximum number of entries to show (for command access)
; default is 10
;
MAX_ENTRIES = 10
; define the short mode (do not print extra statistics)
; default is false
;
SHORT_MODE = false
; denote current system session by asterisk (* at the end) instead by the arrow (-> at the beginning)
; default is false
;
DENOTE_BY_ASTERISK = false
[viewer]
; Viewer Plugin configuration
; define how to access the data
; - "command" COMMAND command is run everytime the block gets refreshed or build
; - "data" (a file must be available in the data directory of the phpsysinfo installation with the filename "viewer.tmp")
;
ACCESS="command"
; define COMMAND name (for command access)
; eg:
; - "iptables-save" iptables-save command is run everytime the block gets refreshed or build (Linux)
; if access error try to set: SUDO_COMMANDS="iptables-save" and add to file /etc/sudoers line: apache ALL = (ALL) NOPASSWD: /sbin/iptables-save
; - "systeminfo" systeminfo command is run everytime the block gets refreshed or build (WinNT)
;
COMMAND=""
; define COMMAND parameters (for command access)
;
PARAMS=""
[pingtest]
; PingTest Plugin configuration
; define how to access the psstatus statistic data
; - "command" ping command is run everytime the block gets refreshed or build
; - "data" (a file must be available in the data directory of the phpsysinfo installation
; with the filename "pingtest.tmp")
;
ACCESS="command"
;define the Addresses
;
; string contains a list of addresses that are checked
; Example : ADDRESSES="127.0.0.1,8.8.8.8"
;
ADDRESSES=""
; Define ping timeout in seconds
; - 0 : default ping command timeout
; - 3 : 3 seconds
; Default is 2 seconds
;
TIMEOUT=2
[stablebit]
; StableBit Plugin configuration
; Show or hide disks serial number
;
SHOW_SERIAL=false
[hyperv]
; HyperV Plugin configuration
; define how to access the ps statistic data
; - "command" information is retrieved through WMI
; - "data" (a file must be available in the data directory of the phpsysinfo installation
; with the filename "hyperv.tmp")
;
ACCESS="command"
[docker]
; Docker Plugin configuration
; define how to access the docker statistic data
; - "command" docker command is run everytime the block gets refreshed or build
; - "data" (a file must be available in the data directory of the phpsysinfo installation
; 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}}'")
;
ACCESS="command"