initial commit of file from CVS for smeserver-phpsysinfo on Sat Sep 7 20:53:46 AEST 2024
This commit is contained in:
269
root/opt/phpsysinfo/plugins/ipmiinfo/class.ipmiinfo.inc.php
Normal file
269
root/opt/phpsysinfo/plugins/ipmiinfo/class.ipmiinfo.inc.php
Normal file
@@ -0,0 +1,269 @@
|
||||
<?php
|
||||
/**
|
||||
* ipmiinfo Plugin
|
||||
*
|
||||
* PHP version 5
|
||||
*
|
||||
* @category PHP
|
||||
* @package PSI_Plugin_ipmiinfo
|
||||
* @author Mieczyslaw Nalewaj <namiltd@users.sourceforge.net>
|
||||
* @copyright 2009 phpSysInfo
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
|
||||
* @version SVN: $Id: class.ipmiinfo.inc.php 661 2012-08-27 11:26:39Z namiltd $
|
||||
* @link http://phpsysinfo.sourceforge.net
|
||||
*/
|
||||
/**
|
||||
* ipmiinfo plugin, which displays all ipmi informations available
|
||||
*
|
||||
* @category PHP
|
||||
* @package PSI_Plugin_ipmiinfo
|
||||
* @author Mieczyslaw Nalewaj <namiltd@users.sourceforge.net>
|
||||
* @copyright 2009 phpSysInfo
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
|
||||
* @version Release: 3.0
|
||||
* @link http://phpsysinfo.sourceforge.net
|
||||
*/
|
||||
class ipmiinfo extends PSI_Plugin
|
||||
{
|
||||
private $_lines;
|
||||
|
||||
public function __construct($enc)
|
||||
{
|
||||
parent::__construct(__CLASS__, $enc);
|
||||
|
||||
$this->_lines = array();
|
||||
}
|
||||
|
||||
/**
|
||||
* get temperature information
|
||||
*
|
||||
* @return array temperatures in array with label
|
||||
*/
|
||||
private function temperatures()
|
||||
{
|
||||
$result = array();
|
||||
$i = 0;
|
||||
foreach ($this->_lines as $line) {
|
||||
$buffer = preg_split("/\s*\|\s*/", $line);
|
||||
if ($buffer[2] == "degrees C" && $buffer[3] != "na") {
|
||||
$result[$i]['label'] = $buffer[0];
|
||||
$result[$i]['value'] = $buffer[1];
|
||||
$result[$i]['state'] = $buffer[3];
|
||||
if ($buffer[8] != "na") $result[$i]['max'] = $buffer[8];
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
* get voltages information
|
||||
*
|
||||
* @return array voltage in array with label
|
||||
*/
|
||||
private function voltages()
|
||||
{
|
||||
$result = array();
|
||||
$i = 0;
|
||||
foreach ($this->_lines as $line) {
|
||||
$buffer = preg_split("/\s*\|\s*/", $line);
|
||||
if ($buffer[2] == "Volts" && $buffer[3] != "na") {
|
||||
$result[$i]['label'] = $buffer[0];
|
||||
$result[$i]['value'] = $buffer[1];
|
||||
$result[$i]['state'] = $buffer[3];
|
||||
if ($buffer[5] != "na") $result[$i]['min'] = $buffer[5];
|
||||
if ($buffer[8] != "na") $result[$i]['max'] = $buffer[8];
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
* get fans information
|
||||
*
|
||||
* @return array fans in array with label
|
||||
*/
|
||||
private function fans()
|
||||
{
|
||||
$result = array();
|
||||
$i = 0;
|
||||
foreach ($this->_lines as $line) {
|
||||
$buffer = preg_split("/\s*\|\s*/", $line);
|
||||
if ($buffer[2] == "RPM" && $buffer[3] != "na") {
|
||||
$result[$i]['label'] = $buffer[0];
|
||||
$result[$i]['value'] = $buffer[1];
|
||||
$result[$i]['state'] = $buffer[3];
|
||||
if ($buffer[8] != "na") $result[$i]['min'] = $buffer[8];
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
* get powers information
|
||||
*
|
||||
* @return array misc in array with label
|
||||
*/
|
||||
private function powers()
|
||||
{
|
||||
$result = array();
|
||||
$i = 0;
|
||||
foreach ($this->_lines as $line) {
|
||||
$buffer = preg_split("/\s*\|\s*/", $line);
|
||||
if ($buffer[2] == "Watts" && $buffer[3] != "na") {
|
||||
$result[$i]['label'] = $buffer[0];
|
||||
$result[$i]['value'] = $buffer[1];
|
||||
$result[$i]['state'] = $buffer[3];
|
||||
if ($buffer[8] != "na") $result[$i]['max'] = $buffer[8];
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
* get currents information
|
||||
*
|
||||
* @return array misc in array with label
|
||||
*/
|
||||
private function currents()
|
||||
{
|
||||
$result = array();
|
||||
$i = 0;
|
||||
foreach ($this->_lines as $line) {
|
||||
$buffer = preg_split("/\s*\|\s*/", $line);
|
||||
if ($buffer[2] == "Amps" && $buffer[3] != "na") {
|
||||
$result[$i]['label'] = $buffer[0];
|
||||
$result[$i]['value'] = $buffer[1];
|
||||
$result[$i]['state'] = $buffer[3];
|
||||
if ($buffer[8] != "na") $result[$i]['max'] = $buffer[8];
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
* get misc information
|
||||
*
|
||||
* @return array misc in array with label
|
||||
*/
|
||||
private function misc()
|
||||
{
|
||||
$result = array();
|
||||
$i = 0;
|
||||
foreach ($this->_lines as $line) {
|
||||
$buffer = preg_split("/\s*\|\s*/", $line);
|
||||
if ($buffer[2] == "discrete" && $buffer[3] != "na") {
|
||||
$result[$i]['label'] = $buffer[0];
|
||||
$result[$i]['value'] = $buffer[1];
|
||||
$result[$i]['state'] = $buffer[3];
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
public function execute()
|
||||
{
|
||||
$this->_lines = array();
|
||||
switch (strtolower(PSI_PLUGIN_IPMIINFO_ACCESS)) {
|
||||
case 'command':
|
||||
$lines = "";
|
||||
if (CommonFunctions::executeProgram('ipmitool', 'sensor', $lines) && !empty($lines))
|
||||
$this->_lines = preg_split("/\n/", $lines, -1, PREG_SPLIT_NO_EMPTY);
|
||||
break;
|
||||
case 'data':
|
||||
if (CommonFunctions::rfts(APP_ROOT."/data/ipmiinfo.txt", $lines) && !empty($lines))
|
||||
$this->_lines = preg_split("/\n/", $lines, -1, PREG_SPLIT_NO_EMPTY);
|
||||
break;
|
||||
default:
|
||||
$this->error->addConfigError('__construct()', 'PSI_PLUGIN_IPMIINFO_ACCESS');
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
public function xml()
|
||||
{
|
||||
if (empty($this->_lines))
|
||||
return $this->xml->getSimpleXmlElement();
|
||||
|
||||
$arrBuff = $this->temperatures();
|
||||
if (sizeof($arrBuff) > 0) {
|
||||
$temp = $this->xml->addChild("Temperatures");
|
||||
foreach ($arrBuff as $arrValue) {
|
||||
$item = $temp->addChild('Item');
|
||||
$item->addAttribute('Label', $arrValue['label']);
|
||||
$item->addAttribute('Value', $arrValue['value']);
|
||||
$item->addAttribute('State', $arrValue['state']);
|
||||
if (isset($arrValue['Max'])) $item->addAttribute('Max', $arrValue['Max']);
|
||||
}
|
||||
}
|
||||
$arrBuff = $this->voltages();
|
||||
if (sizeof($arrBuff) > 0) {
|
||||
$volt = $this->xml->addChild('Voltages');
|
||||
foreach ($arrBuff as $arrValue) {
|
||||
$item = $volt->addChild('Item');
|
||||
$item->addAttribute('Label', $arrValue['label']);
|
||||
$item->addAttribute('Value', $arrValue['value']);
|
||||
$item->addAttribute('State', $arrValue['state']);
|
||||
if (isset($arrValue['Min'])) $item->addAttribute('Min', $arrValue['min']);
|
||||
if (isset($arrValue['Max'])) $item->addAttribute('Max', $arrValue['max']);
|
||||
}
|
||||
}
|
||||
$arrBuff = $this->fans();
|
||||
if (sizeof($arrBuff) > 0) {
|
||||
$fan = $this->xml->addChild('Fans');
|
||||
foreach ($arrBuff as $arrValue) {
|
||||
$item = $fan->addChild('Item');
|
||||
$item->addAttribute('Label', $arrValue['label']);
|
||||
$item->addAttribute('Value', $arrValue['value']);
|
||||
$item->addAttribute('State', $arrValue['state']);
|
||||
if (isset($arrValue['Min'])) $item->addAttribute('Min', $arrValue['min']);
|
||||
}
|
||||
}
|
||||
$arrBuff = $this->powers();
|
||||
if (sizeof($arrBuff) > 0) {
|
||||
$misc = $this->xml->addChild('Powers');
|
||||
foreach ($arrBuff as $arrValue) {
|
||||
$item = $misc->addChild('Item');
|
||||
$item->addAttribute('Label', $arrValue['label']);
|
||||
$item->addAttribute('Value', $arrValue['value']);
|
||||
$item->addAttribute('State', $arrValue['state']);
|
||||
if (isset($arrValue['Max'])) $item->addAttribute('Max', $arrValue['max']);
|
||||
}
|
||||
}
|
||||
$arrBuff = $this->currents();
|
||||
if (sizeof($arrBuff) > 0) {
|
||||
$misc = $this->xml->addChild('Currents');
|
||||
foreach ($arrBuff as $arrValue) {
|
||||
$item = $misc->addChild('Item');
|
||||
$item->addAttribute('Label', $arrValue['label']);
|
||||
$item->addAttribute('Value', $arrValue['value']);
|
||||
$item->addAttribute('State', $arrValue['state']);
|
||||
if (isset($arrValue['Max'])) $item->addAttribute('Max', $arrValue['max']);
|
||||
}
|
||||
}
|
||||
$arrBuff = $this->misc();
|
||||
if (sizeof($arrBuff) > 0) {
|
||||
$misc = $this->xml->addChild('Misc');
|
||||
foreach ($arrBuff as $arrValue) {
|
||||
$item = $misc->addChild('Item');
|
||||
$item->addAttribute('Label', $arrValue['label']);
|
||||
$item->addAttribute('Value', $arrValue['value']);
|
||||
$item->addAttribute('State', $arrValue['state']);
|
||||
}
|
||||
}
|
||||
|
||||
return $this->xml->getSimpleXmlElement();
|
||||
}
|
||||
|
||||
}
|
15
root/opt/phpsysinfo/plugins/ipmiinfo/ipmiinfo_bootstrap.html
Normal file
15
root/opt/phpsysinfo/plugins/ipmiinfo/ipmiinfo_bootstrap.html
Normal file
@@ -0,0 +1,15 @@
|
||||
<div class="col-lg-6" id="block_ipmiinfo" style="display:none">
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">IPMI Status</div>
|
||||
<div class="panel-body">
|
||||
<table id="ipmiinfo" class="table table-hover table-condensed">
|
||||
<tbody id="ipmiinfo-data">
|
||||
<tr>
|
||||
<td><span data-bind="Label"></span></td>
|
||||
<td><span data-bind="Value"></span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
153
root/opt/phpsysinfo/plugins/ipmiinfo/js/ipmiinfo.js
Normal file
153
root/opt/phpsysinfo/plugins/ipmiinfo/js/ipmiinfo.js
Normal file
@@ -0,0 +1,153 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2008 by phpSysInfo - A PHP System Information Script *
|
||||
* http://phpsysinfo.sourceforge.net/ *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License *
|
||||
* along with this program; if not, write to the *
|
||||
* Free Software Foundation, Inc., *
|
||||
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
|
||||
***************************************************************************/
|
||||
|
||||
//$Id: ipmiinfo.js 661 2012-08-27 11:26:39Z namiltd $
|
||||
|
||||
|
||||
/*global $, jQuery, buildBlock, datetime, plugin_translate, genlang, createBar */
|
||||
|
||||
"use strict";
|
||||
|
||||
var ipmiinfo_show = false;
|
||||
/**
|
||||
* insert content into table
|
||||
* @param {jQuery} xml plugin-XML
|
||||
*/
|
||||
function ipmiinfo_populate(xml) {
|
||||
|
||||
var html = "";
|
||||
$("#Plugin_ipmiinfoTable").html(" ");
|
||||
|
||||
$("Plugins Plugin_ipmiinfo Temperatures Item", xml).each(function ipmiinfo_getitem(idp) {
|
||||
if(idp==0) {
|
||||
html += "<tr><th colspan=\"2\" style=\"font-weight:bold\">" + genlang(3, true, "ipmiinfo") + "</th></tr>\n";
|
||||
}
|
||||
html += " <tr>\n";
|
||||
html += " <td style=\"font-weight:normal\">" + $(this).attr("Label") + "</td>\n";
|
||||
html += " <td style=\"font-weight:normal\">" + $(this).attr("Value") + "</td>\n";
|
||||
html += " </tr>\n";
|
||||
ipmiinfo_show = true;
|
||||
});
|
||||
|
||||
$("Plugins Plugin_ipmiinfo Fans Item", xml).each(function ipmiinfo_getitem(idp) {
|
||||
if(idp==0) {
|
||||
html += "<tr><th colspan=\"2\" style=\"font-weight:bold\">" + genlang(4, true, "ipmiinfo") + "</th></tr>\n";
|
||||
}
|
||||
html += " <tr>\n";
|
||||
html += " <td style=\"font-weight:normal\">" + $(this).attr("Label") + "</td>\n";
|
||||
html += " <td style=\"font-weight:normal\">" + $(this).attr("Value") + "</td>\n";
|
||||
html += " </tr>\n";
|
||||
ipmiinfo_show = true;
|
||||
});
|
||||
|
||||
$("Plugins Plugin_ipmiinfo Voltages Item", xml).each(function ipmiinfo_getitem(idp) {
|
||||
if(idp==0) {
|
||||
html += "<tr><th colspan=\"2\" style=\"font-weight:bold\">" + genlang(5, true, "ipmiinfo") + "</th></tr>\n";
|
||||
}
|
||||
html += " <tr>\n";
|
||||
html += " <td style=\"font-weight:normal\">" + $(this).attr("Label") + "</td>\n";
|
||||
html += " <td style=\"font-weight:normal\">" + $(this).attr("Value") + "</td>\n";
|
||||
html += " </tr>\n";
|
||||
ipmiinfo_show = true;
|
||||
});
|
||||
|
||||
$("Plugins Plugin_ipmiinfo Currents Item", xml).each(function ipmiinfo_getitem(idp) {
|
||||
if(idp==0) {
|
||||
html += "<tr><th colspan=\"2\" style=\"font-weight:bold\">" + genlang(7, true, "ipmiinfo") + "</th></tr>\n";
|
||||
}
|
||||
html += " <tr>\n";
|
||||
html += " <td style=\"font-weight:normal\">" + $(this).attr("Label") + "</td>\n";
|
||||
html += " <td style=\"font-weight:normal\">" + $(this).attr("Value") + "</td>\n";
|
||||
html += " </tr>\n";
|
||||
ipmiinfo_show = true;
|
||||
});
|
||||
|
||||
$("Plugins Plugin_ipmiinfo Powers Item", xml).each(function ipmiinfo_getitem(idp) {
|
||||
if(idp==0) {
|
||||
html += "<tr><th colspan=\"2\" style=\"font-weight:bold\">" + genlang(8, true, "ipmiinfo") + "</th></tr>\n";
|
||||
}
|
||||
html += " <tr>\n";
|
||||
html += " <td style=\"font-weight:normal\">" + $(this).attr("Label") + "</td>\n";
|
||||
html += " <td style=\"font-weight:normal\">" + $(this).attr("Value") + "</td>\n";
|
||||
html += " </tr>\n";
|
||||
ipmiinfo_show = true;
|
||||
});
|
||||
$("Plugins Plugin_ipmiinfo Misc Item", xml).each(function ipmiinfo_getitem(idp) {
|
||||
if(idp==0) {
|
||||
html += "<tr><th colspan=\"2\" style=\"font-weight:bold\">" + genlang(6, true, "ipmiinfo") + "</th></tr>\n";
|
||||
}
|
||||
html += " <tr>\n";
|
||||
html += " <td style=\"font-weight:normal\">" + $(this).attr("Label") + "</td>\n";
|
||||
html += " <td style=\"font-weight:normal\">" + $(this).attr("Value") + "</td>\n";
|
||||
html += " </tr>\n";
|
||||
ipmiinfo_show = true;
|
||||
});
|
||||
|
||||
$("#Plugin_ipmiinfoTable").append(html);
|
||||
$('#Plugin_ipmiinfoTable tr:nth-child(even)').addClass('even');
|
||||
|
||||
}
|
||||
|
||||
function ipmiinfo_buildTable() {
|
||||
var html = "";
|
||||
|
||||
html += "<table id=\"Plugin_ipmiinfoTable\" class=\"stripeMe\" style=\"border-spacing:0;\">\n";
|
||||
html += " <thead>\n";
|
||||
html += " </thead>\n";
|
||||
html += " <tbody>\n";
|
||||
html += " </tbody>\n";
|
||||
html += "</table>\n";
|
||||
$("#Plugin_ipmiinfo").append(html);
|
||||
}
|
||||
|
||||
/**
|
||||
* load the xml via ajax
|
||||
*/
|
||||
function ipmiinfo_request() {
|
||||
$.ajax({
|
||||
url: "xml.php?plugin=ipmiinfo",
|
||||
dataType: "xml",
|
||||
error: function ipmiinfo_error() {
|
||||
$.jGrowl("Error loading XML document for Plugin ipmiinfo!");
|
||||
},
|
||||
success: function ipmiinfo_buildblock(xml) {
|
||||
populateErrors(xml);
|
||||
ipmiinfo_populate(xml);
|
||||
if (ipmiinfo_show) {
|
||||
plugin_translate("ipmiinfo");
|
||||
$("#Plugin_ipmiinfo").show();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
$(document).ready(function ipmiinfo_buildpage() {
|
||||
$("#footer").before(buildBlock("ipmiinfo", 1, true));
|
||||
$("#Plugin_ipmiinfo").css("width", "451px");
|
||||
|
||||
ipmiinfo_buildTable();
|
||||
|
||||
ipmiinfo_request();
|
||||
|
||||
$("#Reload_ipmiinfoTable").click(function ipmiinfo_reload(id) {
|
||||
ipmiinfo_request();
|
||||
$("#Reload_ipmiinfoTable").attr("title",datetime());
|
||||
});
|
||||
});
|
@@ -0,0 +1,36 @@
|
||||
function renderPlugin_ipmiinfo(data) {
|
||||
|
||||
var directives = {
|
||||
Label: {
|
||||
html: function () {
|
||||
if (this["Value"] == undefined) {
|
||||
return '<b>' + this["Label"] + '</b>';
|
||||
} else {
|
||||
return this["Label"];
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
if (data['Plugins']['Plugin_ipmiinfo'] !== undefined) {
|
||||
var data_ipmiinfo = [];
|
||||
var valuelist = {Temperatures:"Temperatures [C]", Voltages:"Voltages [V]", Fans:"Fans [RPM]", Powers:"Powers [W]", Currents:"Currents [A]", Misc:"Misc [0/1]"};
|
||||
for (var ipmiinfo_value in valuelist) {
|
||||
if (data['Plugins']['Plugin_ipmiinfo'][ipmiinfo_value] !== undefined) {
|
||||
var datas = items(data['Plugins']['Plugin_ipmiinfo'][ipmiinfo_value]["Item"]);
|
||||
if (datas.length > 0) {
|
||||
data_ipmiinfo.push({Label:valuelist[ipmiinfo_value]});
|
||||
data_ipmiinfo.push_attrs(datas);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (data_ipmiinfo.length > 0) {
|
||||
$('#ipmiinfo-data').render(data_ipmiinfo, directives);
|
||||
$('#block_ipmiinfo').show();
|
||||
} else {
|
||||
$('#block_ipmiinfo').hide();
|
||||
}
|
||||
} else {
|
||||
$('#block_ipmiinfo').hide();
|
||||
}
|
||||
}
|
33
root/opt/phpsysinfo/plugins/ipmiinfo/lang/cz.xml
Normal file
33
root/opt/phpsysinfo/plugins/ipmiinfo/lang/cz.xml
Normal file
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Id: cz.xml 661 2012-08-27 11:26:39Z namiltd $ -->
|
||||
<!--
|
||||
phpSysInfo language file Language: Czech Created by: Tomáš Růžička
|
||||
-->
|
||||
<tns:translationPlugin language="czech" charset="utf-8"
|
||||
xmlns:tns="http://phpsysinfo.sourceforge.net/translation-plugin" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://phpsysinfo.sourceforge.net/translation-plugin ../../../language/translation-plugin.xsd">
|
||||
<expression id="plugin_ipmiinfo_001" name="ipmiinfo_title">
|
||||
<exp>IPMI informace</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_002" name="ipmiinfo_date">
|
||||
<exp>Aktualizováno</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_003" name="ipmiinfo_temperatures">
|
||||
<exp>Teploty [°C]</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_004" name="ipmiinfo_fans">
|
||||
<exp>Větráky [RPM]</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_005" name="ipmiinfo_voltages">
|
||||
<exp>Napětí [V]</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_006" name="ipmiinfo_misc">
|
||||
<exp>Různé [0/1]</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_007" name="ipmiinfo_currents">
|
||||
<exp>Currents [A]</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_008" name="ipmiinfo_powers">
|
||||
<exp>Powers [W]</exp>
|
||||
</expression>
|
||||
</tns:translationPlugin>
|
33
root/opt/phpsysinfo/plugins/ipmiinfo/lang/de.xml
Normal file
33
root/opt/phpsysinfo/plugins/ipmiinfo/lang/de.xml
Normal file
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Id: en.xml 661 2012-08-27 11:26:39Z namiltd $ -->
|
||||
<!--
|
||||
phpSysInfo language file Language: German Created by: Matthias Freund (MAFLO321)
|
||||
-->
|
||||
<tns:translationPlugin language="german" charset="utf-8"
|
||||
xmlns:tns="http://phpsysinfo.sourceforge.net/translation-plugin" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://phpsysinfo.sourceforge.net/translation-plugin ../../../language/translation-plugin.xsd">
|
||||
<expression id="plugin_ipmiinfo_001" name="ipmiinfo_title">
|
||||
<exp>IPMI Status</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_002" name="ipmiinfo_date">
|
||||
<exp>Letzte Aktualisierung</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_003" name="ipmiinfo_temperatures">
|
||||
<exp>Temperaturen [°C]</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_004" name="ipmiinfo_fans">
|
||||
<exp>Lüfter [RPM]</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_005" name="ipmiinfo_voltages">
|
||||
<exp>Spannungen [V]</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_006" name="ipmiinfo_misc">
|
||||
<exp>Misc [0/1]</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_007" name="ipmiinfo_currents">
|
||||
<exp>Currents [A]</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_008" name="ipmiinfo_powers">
|
||||
<exp>Powers [W]</exp>
|
||||
</expression>
|
||||
</tns:translationPlugin>
|
33
root/opt/phpsysinfo/plugins/ipmiinfo/lang/en.xml
Normal file
33
root/opt/phpsysinfo/plugins/ipmiinfo/lang/en.xml
Normal file
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Id: en.xml 661 2012-08-27 11:26:39Z namiltd $ -->
|
||||
<!--
|
||||
phpSysInfo language file Language: English Created by: Mieczyslaw Nalewaj
|
||||
-->
|
||||
<tns:translationPlugin language="english" charset="utf-8"
|
||||
xmlns:tns="http://phpsysinfo.sourceforge.net/translation-plugin" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://phpsysinfo.sourceforge.net/translation-plugin ../../../language/translation-plugin.xsd">
|
||||
<expression id="plugin_ipmiinfo_001" name="ipmiinfo_title">
|
||||
<exp>IPMI Status</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_002" name="ipmiinfo_date">
|
||||
<exp>Last refresh</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_003" name="ipmiinfo_temperatures">
|
||||
<exp>Temperatures [°C]</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_004" name="ipmiinfo_fans">
|
||||
<exp>Fans [RPM]</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_005" name="ipmiinfo_voltages">
|
||||
<exp>Voltages [V]</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_006" name="ipmiinfo_misc">
|
||||
<exp>Misc [0/1]</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_007" name="ipmiinfo_currents">
|
||||
<exp>Currents [A]</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_008" name="ipmiinfo_powers">
|
||||
<exp>Powers [W]</exp>
|
||||
</expression>
|
||||
</tns:translationPlugin>
|
33
root/opt/phpsysinfo/plugins/ipmiinfo/lang/fr.xml
Normal file
33
root/opt/phpsysinfo/plugins/ipmiinfo/lang/fr.xml
Normal file
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Id: fr.xml 661 2012-08-27 11:26:39Z namiltd $ -->
|
||||
<!--
|
||||
phpSysInfo language file Language: English Created by: Erkan VALENTIN
|
||||
-->
|
||||
<tns:translationPlugin language="french" charset="utf-8"
|
||||
xmlns:tns="http://phpsysinfo.sourceforge.net/translation-plugin" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://phpsysinfo.sourceforge.net/translation-plugin ../../../language/translation-plugin.xsd">
|
||||
<expression id="plugin_ipmiinfo_001" name="ipmiinfo_title">
|
||||
<exp>Etat IPMI</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_002" name="ipmiinfo_date">
|
||||
<exp>Dernière actualisation</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_003" name="ipmiinfo_temperatures">
|
||||
<exp>Températures [°c]</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_004" name="ipmiinfo_fans">
|
||||
<exp>Ventilateurs [RPM]</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_005" name="ipmiinfo_voltages">
|
||||
<exp>Tensions [V]</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_006" name="ipmiinfo_misc">
|
||||
<exp>Divers [0/1]</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_007" name="ipmiinfo_currents">
|
||||
<exp>Currents [A]</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_008" name="ipmiinfo_powers">
|
||||
<exp>Powers [W]</exp>
|
||||
</expression>
|
||||
</tns:translationPlugin>
|
33
root/opt/phpsysinfo/plugins/ipmiinfo/lang/pl.xml
Normal file
33
root/opt/phpsysinfo/plugins/ipmiinfo/lang/pl.xml
Normal file
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Id: pl.xml 661 2012-08-27 11:26:39Z namiltd $ -->
|
||||
<!--
|
||||
phpSysInfo language file Language: Polish Created by: Mieczyslaw Nalewaj
|
||||
-->
|
||||
<tns:translationPlugin language="polish" charset="utf-8"
|
||||
xmlns:tns="http://phpsysinfo.sourceforge.net/translation-plugin" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://phpsysinfo.sourceforge.net/translation-plugin ../../../language/translation-plugin.xsd">
|
||||
<expression id="plugin_ipmiinfo_001" name="ipmiinfo_title">
|
||||
<exp>IPMI Status</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_002" name="ipmiinfo_date">
|
||||
<exp>Ostatnie odświeżenie</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_003" name="ipmiinfo_temperatures">
|
||||
<exp>Temperatury [°C]</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_004" name="ipmiinfo_fans">
|
||||
<exp>Wentylatory [RPM]</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_005" name="ipmiinfo_voltages">
|
||||
<exp>Napięcia [V]</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_006" name="ipmiinfo_misc">
|
||||
<exp>Różne [0/1]</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_007" name="ipmiinfo_currents">
|
||||
<exp>Prądy [A]</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_008" name="ipmiinfo_powers">
|
||||
<exp>Moce [W]</exp>
|
||||
</expression>
|
||||
</tns:translationPlugin>
|
33
root/opt/phpsysinfo/plugins/ipmiinfo/lang/ro.xml
Normal file
33
root/opt/phpsysinfo/plugins/ipmiinfo/lang/ro.xml
Normal file
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Id: ro.xml 661 2014-05-02 11:26:39Z namiltd $ -->
|
||||
<!--
|
||||
phpSysInfo language file Language: Romană Created by: Mieczyslaw Nalewaj
|
||||
-->
|
||||
<tns:translationPlugin language="romana" charset="utf-8"
|
||||
xmlns:tns="http://phpsysinfo.sourceforge.net/translation-plugin" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://phpsysinfo.sourceforge.net/translation-plugin ../../../language/translation-plugin.xsd">
|
||||
<expression id="plugin_ipmiinfo_001" name="ipmiinfo_title">
|
||||
<exp>Stare IPMI</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_002" name="ipmiinfo_date">
|
||||
<exp>Ultimul refresh</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_003" name="ipmiinfo_temperatures">
|
||||
<exp>Temperaturi [°C]</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_004" name="ipmiinfo_fans">
|
||||
<exp>Ventilatoare [RPM]</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_005" name="ipmiinfo_voltages">
|
||||
<exp>Tensiuni [V]</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_006" name="ipmiinfo_misc">
|
||||
<exp>Diverse [0/1]</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_007" name="ipmiinfo_currents">
|
||||
<exp>Amperi [A]</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_008" name="ipmiinfo_powers">
|
||||
<exp>Wați [W]</exp>
|
||||
</expression>
|
||||
</tns:translationPlugin>
|
33
root/opt/phpsysinfo/plugins/ipmiinfo/lang/ru.xml
Normal file
33
root/opt/phpsysinfo/plugins/ipmiinfo/lang/ru.xml
Normal file
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Id: en.xml 661 2012-08-27 11:26:39Z namiltd $ -->
|
||||
<!--
|
||||
phpSysInfo language file Language: Russian Created by: Denis Sevostyanov (den007)
|
||||
-->
|
||||
<tns:translationPlugin language="russian" charset="utf-8"
|
||||
xmlns:tns="http://phpsysinfo.sourceforge.net/translation-plugin" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://phpsysinfo.sourceforge.net/translation-plugin ../../../language/translation-plugin.xsd">
|
||||
<expression id="plugin_ipmiinfo_001" name="ipmiinfo_title">
|
||||
<exp>IPMI Статус</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_002" name="ipmiinfo_date">
|
||||
<exp>Последнее обновление</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_003" name="ipmiinfo_temperatures">
|
||||
<exp>Температура [°C]</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_004" name="ipmiinfo_fans">
|
||||
<exp>Вентиляторы [ОБ/мин]</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_005" name="ipmiinfo_voltages">
|
||||
<exp>Напряжение [V]</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_006" name="ipmiinfo_misc">
|
||||
<exp>Разное [0/1]</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_007" name="ipmiinfo_currents">
|
||||
<exp>Ток [A]</exp>
|
||||
</expression>
|
||||
<expression id="plugin_ipmiinfo_008" name="ipmiinfo_powers">
|
||||
<exp>Напряжение [W]</exp>
|
||||
</expression>
|
||||
</tns:translationPlugin>
|
Reference in New Issue
Block a user