- Mitglied seit
- 4 Dez 2010
- Beiträge
- 1,995
- Punkte für Reaktionen
- 8
- Punkte
- 38
QUERIES = {
["cpu:status/StatCPU"] = "14,11,15,17,15,17,18,20,17,17,15,15,13,19,12,13,13,15,16,20,15,16,13,15,15,18,16,14,11,17,16,16,18,20,16,15,13,14,13,17,14,20,22,16,11,17,19,18,15,15,16,14,14,17,18,13,12,15,18,20,17,16,15,16,15,14,12,18,21,13,16,24,17,18,12,13,13,18,14,13,14,25,11,17,21,17,14,15,15,15,12,13,15,13,19,13,15,16,19,16,18,17,14,14,16,10,14,15,16,20,19,17,12,16,16,16,13,17,16,14,15,14,14,17,19,15,15,16,14,17,13,17,15,14,15,20,19,20,15,14,12,13,16,14,14,14,17,17,19,17,18,13,17,12,12,15,17,12,10,18,20,16,17,14,17,15,12,11,13,18,15,16,16,19,17,15,13,12,11,15,11,10,14,12,15,15,14,17,13,15,15,25,18,15,17,19,15,13,11,11,13,10,9,11,12,31,30,29,28,32,28,16,13,13,16,19,15,14,18,21,20,13,13,13,16,17,17,29,13,12,18,20,14,15,16,21,12,13,15,15",
["cpu:status/StatCPUFrequency"] = "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0",
["cpu:status/StatCurrentInterval"] = "121",
["cpu:status/StatRAMCacheUsed"] = "26,25,26,25,25,26,27,27,27,26,27,26,27,27,27,27,27,26,26,27,27,27,26,26,26,27,27,27,27,26,27,27,27,27,27,26,27,26,27,26,27,27,27,26,27,27,27,26,26,27,27,27,27,26,26,27,27,27,27,27,27,27,27,27,27,26,27,27,27,27,27,27,27,27,27,27,26,27,27,27,27,27,27,27,27,27,26,26,27,27,27,26,27,27,27,26,27,27,26,27,27,27,27,27,27,27,27,27,26,27,27,27,26,27,27,26,26,26,26,27,27,27,27,26,27,27,26,27,26,27,26,27,27,27,26,27,27,27,26,26,27,27,27,26,27,27,27,26,27,26,27,26,26,27,27,27,26,27,27,27,27,27,27,26,27,27,27,27,27,26,27,27,27,26,27,27,27,27,26,26,27,27,27,27,27,27,26,27,26,27,26,26,27,27,27,27,26,26,27,27,27,27,27,26,27,26,26,26,26,26,26,27,27,27,27,27,26,27,27,27,26,27,27,26,27,26,27,26,27,26,27,27,27,27,27,26,27,26,27,27",
["cpu:status/StatRAMPhysFree"] = "17,18,18,18,18,18,16,17,16,17,17,17,17,16,17,17,17,17,17,17,17,16,17,17,17,17,16,17,17,17,17,17,17,17,16,17,17,17,17,17,17,17,16,17,17,17,17,17,17,17,17,17,16,17,17,16,17,17,17,17,16,17,17,17,17,17,17,17,16,17,17,17,17,16,17,17,17,17,16,17,17,16,17,17,17,17,17,17,17,17,17,17,17,17,16,17,17,17,17,16,17,17,17,17,16,17,17,16,17,17,17,17,17,17,17,17,17,17,17,17,16,17,17,17,17,16,17,17,17,17,17,17,17,16,17,17,17,17,17,17,17,17,17,17,17,17,16,17,17,17,17,17,17,17,17,17,17,17,17,16,17,17,17,17,16,17,17,17,17,17,17,17,16,17,17,17,17,16,17,17,17,17,17,17,17,16,17,17,17,17,17,17,17,17,17,17,17,17,16,17,17,17,17,17,17,17,17,17,17,17,17,16,17,17,17,17,17,17,17,17,17,17,17,17,16,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17",
["cpu:status/StatRAMStrictlyUsed"] = "57,57,56,57,57,56,57,56,57,57,56,57,56,57,56,56,56,57,57,56,56,57,57,57,57,56,57,56,56,57,56,56,56,56,57,57,56,57,56,57,56,56,57,57,56,56,56,57,57,56,56,56,57,57,57,57,56,56,56,56,57,56,56,56,56,57,56,56,57,56,56,56,56,57,56,56,57,56,57,56,56,57,56,56,56,56,57,57,56,56,56,57,56,56,57,57,56,56,57,57,56,56,56,56,57,56,56,57,57,56,56,56,57,56,56,57,57,57,57,56,57,56,56,57,56,57,57,56,57,56,57,56,56,57,57,56,56,56,57,57,56,56,56,57,56,56,57,57,56,57,56,57,57,56,56,56,57,56,56,57,56,56,56,57,57,56,56,56,56,57,56,56,57,57,56,56,56,57,57,57,56,56,56,56,56,57,57,56,57,56,57,57,56,56,56,56,57,57,57,56,56,56,56,57,56,57,57,57,57,57,57,57,56,56,56,56,57,56,56,56,57,56,56,57,57,57,56,57,56,57,56,56,56,56,56,57,56,57,56,56",
["cpu:status/StatTemperature"] = "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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0,0,0,0",
["cpu:status/StatCurrentInterval"] = "122",
["cpu:status/StatRAMCacheUsed"] = "20,20,17,18,20,19,19,18,20,20,22,22,20,20,21,21,22,22,21,22,21,21,20,20,20,19,20,21,21,19,22,22,21,22,20,22,21,18,20,19,19,19,19,19,18,18,18,17,19,16,18,18,18,18,18,20,20,20,20,20,20,20,20,20,20,20,20,19,19,19,19,19,20,20,20,19,19,19,20,20,20,20,20,21,21,21,20,20,20,20,20,20,20,20,20,20,21,21,21,20,20,20,21,21,21,21,20,20,21,21,21,21,20,21,20,20,19,19,18,17,17,16,17,17,18,18,17,17,18,18,19,18,18,16,17,16,15,15,17,16,19,18,18,18,17,18,16,17,17,16,17,16,18,17,19,18,19,18,17,17,17,18,18,17,18,17,17,16,17,17,17,17,18,17,16,17,16,17,18,19,19,18,17,17,15,15,14,15,15,14,14,15,14,13,13,13,12,17,17,19,18,18,18,18,18,17,17,17,18,17,18,18,18,18,18,16,13,11,18,18,19,17,17,16,17,17,18,17,17,17,13,16,15,18,19,19,18,19,18,17",
["cpu:status/StatRAMPhysFree"] = "12,12,12,14,12,13,13,14,13,13,12,12,13,13,12,12,12,12,13,12,13,13,13,13,13,14,13,12,13,14,12,12,13,12,13,11,13,11,15,17,20,21,21,21,12,12,13,13,9,14,12,13,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,13,13,12,13,13,12,12,12,13,13,13,12,12,13,13,12,12,12,12,13,12,13,13,13,13,12,12,13,12,12,12,12,13,12,13,12,12,12,12,13,13,12,12,12,12,13,12,13,13,13,13,13,14,15,15,14,14,13,13,13,14,12,13,12,13,13,12,13,15,15,11,14,14,12,13,12,13,14,13,15,13,14,15,14,15,13,14,12,12,12,13,15,15,15,14,14,15,14,14,14,15,14,14,14,14,14,14,15,14,15,14,13,12,13,14,14,15,17,17,17,17,17,18,18,17,18,18,18,18,19,14,14,12,13,13,13,13,13,14,14,14,12,14,13,10,13,13,13,16,13,15,12,13,12,13,14,14,13,12,12,13,13,13,12,15,16,13,12,12,13,11,13,14",
["cpu:status/StatRAMStrictlyUsed"] = "68,68,71,68,68,68,68,68,67,67,66,66,67,67,67,67,66,66,66,66,66,66,67,67,67,67,67,67,66,67,66,66,66,66,67,67,66,71,65,64,61,60,60,60,70,70,69,70,72,70,70,69,70,70,70,68,68,68,68,68,68,68,68,68,68,68,68,68,68,69,68,68,68,68,68,68,68,68,68,68,67,67,68,67,67,67,67,68,67,67,67,67,68,68,67,68,67,67,67,67,68,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,68,68,69,69,68,69,69,69,69,69,70,69,70,69,69,69,69,72,70,69,70,74,69,70,69,69,70,69,69,69,69,70,69,69,69,69,69,69,69,70,69,69,68,68,68,68,68,68,68,69,69,69,69,69,69,69,68,69,69,69,69,69,69,69,68,68,69,68,68,68,69,68,68,68,68,68,68,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,70,69,69,72,69,69,69,68,74,74,70,69,69,70,69,70,70,71,70,70,70,70,75,69,69,69,69,69,69,70,69,69",
["cpu:status/StatTemperature"] = "60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,61,60,60,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,60,61,61,61,61,61,61,61,61,61,60,61,61,61,61,61,60,60,61,61,61,61,60,60,60,60,61,61,61,61,61,61,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,59,59,59,58,59,59,59,59,59,59,59,60,60,60,60,60,60,60,60,60,60,60,61,61,59,59,59,59,60,60,60,60,60,59,59,59,58,58,58,57,56,56,57,58,59,58";
}
@w65:
Bei meinen getesteten Boxen 3370 und 7390 geht leider keine CPU-Temperatur
mit fritz.box/system/ecostat.lua. Die Box 7490 unterstützt diese Funktion.
@koyaanisqatsi:
kurze Frage wenn das "SAS-Gesamtpaket.mips" auf der Fritz!Box installiert ist
und der Webserver aus diesem Paket läuft ist die Bedingung aus Punkt 1 schon erfüllt
(root Recht (PHP shell_exec() muss erlaubt sein)) oder muss ich etwas zusätzlich aktivieren.
Wenn ich deinen Post richtig interpretiere, sollten wir nun selbst unterschiedliche Threads hier starten und wenn diese dann zu viele und zu verstreut sind, dann fasst ihr sie automatisch irgendwann zusammen. Ok, das ist auch kein Problem. Wir dachten nur, es wäre einfacher, so etwas vorher abzuklären, daher die Anfrage.
<?php
/*
+---------------------------------------------------------------------+
| |
| SensorAndSwitch Automation Pro |
| PseudoGeräte-Script |
| =============================================================== |
| Unwetter RSS-Feed |
| |
+---------------------------------------------------------------------+
*/
error_reporting(0);
include "conf/sensorandswitchbundesland.phpconf";
include "include/includedateien.php";
include "include/includefunctions.php";
include "include/includeconf.php";
include "include/includeconfig.php";
include "include/includedefine.php";
if ($_GET["info"]=="status") {
$url="http://www.wetterleitstelle.de/".$bundesland.".xml";
$ch = curl_init();
$timeout = 5;
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0)");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST,false);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER,false);
curl_setopt($ch, CURLOPT_MAXREDIRS, 10);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
$Status = curl_exec($ch);
$Cont=simplexml_load_string($Status);
curl_close($ch);
$Status=trim(strip_tags($Cont->channel->item->description));
if ($Status) {
echo "P#"."<div style='font-size:10px;text-align:left;width:310px;height:50px;position:relative;top:-10px;overflow:auto;'>".$Status."</div>"."*HTML#";
}
else {
echo "P##E##";
}
}
exit;
?>
<?php
$bundesland="Bundesland hier eintragen (Kleinbuchstaben)";
?>
<?php
/*
+---------------------------------------------------------------------+
| |
| SensorAndSwitch Automation Pro |
| PseudoGeräte-Script |
| =============================================================== |
| Wettervorhersage RSS-Feed |
| |
+---------------------------------------------------------------------+
*/
error_reporting(0);
include "conf/sensorandswitchbundesland.phpconf";
include "include/includedateien.php";
include "include/includefunctions.php";
include "include/includeconf.php";
include "include/includeconfig.php";
include "include/includedefine.php";
if ($_GET["info"]=="status") {
$url="http://www.wetterleitstelle.de/wettervorhersage_".$bundesland.".xml";
$ch = curl_init();
$timeout = 5;
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0)");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST,false);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER,false);
curl_setopt($ch, CURLOPT_MAXREDIRS, 10);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
$Status = curl_exec($ch);
$Cont=simplexml_load_string($Status);
curl_close($ch);
$Status=trim(strip_tags($Cont->channel->item->description));
if ($Status) {
echo "P#"."<div style='font-size:10px;text-align:left;width:310px;height:50px;position:relative;top:-10px;overflow:auto;'>".$Status."</div>"."*HTML#";
}
else {
echo "P##E##";
}
}
exit;
?>