Ein Modul zur Erfassen von diversen RPi/Linux-Statistiken (SYSMON)

Begonnen von hexenmeister, 06 Dezember 2013, 17:44:38

Vorheriges Thema - Nächstes Thema

hexenmeister

Hm... war mir nicht bewusst, dass das ein Problem darstellt. Mus mir überlegen, ob und wie ich das ändern kann.

Harald

#1171
Hallo Hexenmeister,

ich meine die Defaultliste, die ohne Manipulation angezeigt wird.

@ PeMue
danke für den Hinweis. Jetzt weiß ich es wieder

@ Bennemannc
Danke für den Hinweis. Leider werden die Angaben beim Aufruf des Raumes nicht angezeigt. Hinter sysmon steht dann nur "Active". Klicke ich auf sysmon/stateFormat/attr und rufe den Raum auf, wirden die Werte so angezeigt, wie ich möchte. Gehe ich in einen anderen Raum und anschließend wieder auf den sysmon-Raum, steht wieder Active da.

Viele Grüße

Harald
Router:AVM7590 1&1 FW:FRITZ!OS 07.56 Anbindung:1&1 50/10 Mb/s, WLAN-Repeater 300E
ELV MAX!Cube, 7xThermostat, ECO, RasPi 4B mit bullseye auf Festplatte,
CUL V 1.67, JeeLink v3_10.1c, nanoCUL, 1xS300TH, 4xHMS100T, 4xELRO, 1xTFA, 2xMAX_FK
ELV MAX!1.4.5, FHEM 5.7 auf RasPi, Kostal PIKO plus

Bennemannc

Hallo Harald,

das ist bei mir auch so. Anscheinend Werden die Werte nicht zwischengespeichert. Wenn Du eine Weile auf der Seite / dem Raum bleibst, werden nach dem nächsten lesen die Werte auch angezeigt.

Gruß Christoph
Cubietruck, Fhem 5.8
CC-RT-DN|LC-SW2-FM|RC-12|RC-19|LC-SW4-BA-PCB|LCp-SW1-BA-PCB|ES-PMSw1-Pl|LC-Bl1PBU-FM|PBI-4-FM|CC-VD|CC-TC|SEC-SC(2)|RC-KEY3-B|LC-Sw1PBU-FM|PB-2-FM|WDS100-C6-O|WDC7000|LC-Bl1-FM
Module: Dewpoint,FB_Callmonitor,HCS,Panstamp,at,notify,THRESHOLD,average,DOIF

Gorean

Hallo Hexenmeister,

danke für den Tip. Jetzt funktioniert alles wie gewollt :)

VG,
Peter

hexenmeister

@Harald
Ah, endlich verstehe ich, es geht um die HTML-Ausgabe.
Nein, man kann entweder Default nutzen, oder eingene Werte angeben. Schreibe sie doch alle auf, wie du sie haben willst. Inwiefern stellt das ein Problem dar?

Grüße
Alexander

Harald

#1175
Hallo zusammen,

@Bennemannc
besten Dank für den Hinweis. Beimir funktioniert das so wie Du es beschrieben hast. Ich war wohl nur zu ungeduldig ;-(

@Hexenmeister
Natürlich ist das kein Problem, so eine Liste zu erstellen. Aber so wie es jetzt funktioniert, reicht mir das.

Viele Grüße und schönes Wochenende

Harald
Router:AVM7590 1&1 FW:FRITZ!OS 07.56 Anbindung:1&1 50/10 Mb/s, WLAN-Repeater 300E
ELV MAX!Cube, 7xThermostat, ECO, RasPi 4B mit bullseye auf Festplatte,
CUL V 1.67, JeeLink v3_10.1c, nanoCUL, 1xS300TH, 4xHMS100T, 4xELRO, 1xTFA, 2xMAX_FK
ELV MAX!1.4.5, FHEM 5.7 auf RasPi, Kostal PIKO plus

Torben

Hallo,

ich nutze einen Intel NUC mit Ubuntu 15.10. Das Sysmon-Modul an sich funktioniert und zeigt auch viele Werte richtig an:
cpu_model_name Intel(R) Core(TM) i3-6100U CPU @ 2.30GHz
Lediglich die CPU-Temperatur ist immer konstant auf 27,8°C:
cpu_temp_stat 27.80 27.80 27.80
Auch im BIOS werden mir deutlich andere Werte angezeigt. Hat jemand eine Idee, woran es liegt und ob/wie man die richtigen Werte bekommt?
WLAN wird ebenfalls nicht angezeigt wlan0 not available, was für mich aber nicht dramatisch ist.

Gruß
Torben

hexenmeister

Zitat von: Torben am 06 März 2016, 10:50:52
ich nutze einen Intel NUC mit Ubuntu 15.10. Das Sysmon-Modul an sich funktioniert und zeigt auch viele Werte richtig an:
cpu_model_name Intel(R) Core(TM) i3-6100U CPU @ 2.30GHz
Lediglich die CPU-Temperatur ist immer konstant auf 27,8°C:
cpu_temp_stat 27.80 27.80 27.80
Auch im BIOS werden mir deutlich andere Werte angezeigt. Hat jemand eine Idee, woran es liegt und ob/wie man die richtigen Werte bekommt?
WLAN wird ebenfalls nicht angezeigt wlan0 not available, was für mich aber nicht dramatisch ist.
Da ich leider nicht weiß, wo und wie beim NUC die CPU-Temp-Daten verfügbar sind, kann ich nur raten, wieso da konstante Temperatur ausgegeben wird. Weißt du, wie man an die entsprechenden Daten dran kommt?

Wernieman

- Bitte um Input für Output
- When there is a Shell, there is a Way
- Wann war Dein letztes Backup?

Wie man Fragen stellt: https://tty1.net/smart-questions_de.html

hexenmeister

Zitat von: Wernieman am 07 März 2016, 09:37:59
Wie mist Du denn aktuell die CPU-Temperatur?

RPI:
cat /sys/class/thermal/thermal_zone0/temp

BBB:
cat /sys/class/hwmon/hwmon0/device/temp1_input

andere:
cat /sys/class/hwmon/hwmon0/device/hwmon/hwmon0/temp".($cpuNum+1)."_input 2

Torben

Beim NUC scheint es bei hwmon1 abgelegt zu sein.

pi@pi:/sys/class/hwmon/hwmon1/device/hwmon/hwmon1$ ls
device  power      temp1_crit        temp1_input  temp1_max   temp2_crit_alarm  temp2_label  temp3_crit        temp3_input  temp3_max
name    subsystem  temp1_crit_alarm  temp1_label  temp2_crit  temp2_input       temp2_max    temp3_crit_alarm  temp3_label  uevent
pi@pi:/sys/class/hwmon/hwmon1/device/hwmon/hwmon1$ cat temp2_input
34000
pi@pi:/sys/class/hwmon/hwmon1/device/hwmon/hwmon1$ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1:        +27.8°C  (crit = +105.0°C)
temp2:        +29.8°C  (crit = +105.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:  +36.0°C  (high = +100.0°C, crit = +100.0°C)
Core 0:         +35.0°C  (high = +100.0°C, crit = +100.0°C)
Core 1:         +33.0°C  (high = +100.0°C, crit = +100.0°C)

pi@pi:/sys/class/hwmon/hwmon1/device/hwmon/hwmon1$

Wernieman

Ansonsten .. mal mit "sensors" angucken, ob sich überhaupt etwas tut ...
- Bitte um Input für Output
- When there is a Shell, there is a Way
- Wann war Dein letztes Backup?

Wie man Fragen stellt: https://tty1.net/smart-questions_de.html

Achim

Hallo,

ich habe ein Problem mit dem Attribut "disable". Es funktioniert bei mir nicht so wie es soll.

Sobald das Attribut "disable" vorhanden ist, ist der Status von SYSMON auf "Initialized" und es werden der Status nicht mehr abgefragt. Die Statusänderung geschieht nur nach einem Restart von FHEM. Während FHEM läuft, kann ich das Attribut verändern wie ich will, es ändert sich nichts an der Funktion von SYSMON.

Ich habe zwei SYSMON Instanzen am laufen. Eine für das lokale System und eine für meine Owncloud. Beides RPIs

Viele Grüße
Achim
1x RPi V1, COC, 6x FHT, 1x S300TH, 2x DS18B20, 1x KS300
1x Arduino Nano mit Firmata, 2x DS2423old, 4x DS18B20, HIH5030, verschiedene Ein/Ausgangsschaltungen am Arduino
Mysensors-Seriell Gateway, Si7021, BH1750, Relais

hexenmeister

SYSMON funktioniert beim mir je nach Einstellung von 'disable' (0 der 1) korrekt. Die Readings werden eingefroren bzw. korrekt aktualisiert. Lediglich STATE wird wirklich nicht korrekt aktualisiert. Ist aber nur Kosmetik.

Achim

#1184
Hallo,

ich habe das heute nochmals überprüft. Mit dem Attribut "disable 0" werden die Readings nicht aktualisiert und auch keine Events generiert um das Fiellog zu beschreiben.
Folgende Schritte habe ich durchgeführt:


  • SYSMON läuft wie gewünscht, kein Attribut "disable" vorhanden
  • über FHEM Oberfläche das Attribut disable auf 1 gesetzt, "save config"
    das Einlesen der Werte wird unterbrochen, keine Eintrag im Filelog, kein Update der Readings
  • über FHEM Oberfläche das Attribut disable auf 0 gesetzt, "save config"
    es werden weiterhin keine Werte gelesen, kein Update der Readings, keine Einträge im Filelog
  • Verbose auf 5 gesetzt
    folgende Einträge erscheinen jetzt im Logfile
Zitat2016.03.12 17:39:37 5: SYSMON owncloud: Set.744 owncloud ?
2016.03.12 17:39:38 5: SYSMON owncloud: Get.662 owncloud ?
2016.03.12 17:44:08 5: SYSMON owncloud: Set.744 owncloud ?
2016.03.12 17:44:08 5: SYSMON owncloud: obtainParameters.1109 owncloud: Open shared telnet connection
2016.03.12 17:44:08 5: SYSMON owncloud: readPassword.3732 Read password from file
2016.03.12 17:44:08 5: SYSMON owncloud: Open_Connection.3826 Open Telnet connection to abcloud:23
2016.03.12 17:44:08 5: SYSMON owncloud: Open_Connection.3840 Wait for user or password prompt.
2016.03.12 17:44:08 5: SYSMON owncloud: Open_Connection.3859 Entering user name
2016.03.12 17:44:08 5: SYSMON owncloud: Open_Connection.3862 Wait for password prompt
2016.03.12 17:44:08 5: SYSMON owncloud: Open_Connection.3877 Entering password
2016.03.12 17:44:08 5: SYSMON owncloud: Open_Connection.3880 Wait for command prompt
2016.03.12 17:44:09 5: SYSMON owncloud: Exec_Remote.4047 Execute 'cat /proc/uptime'
2016.03.12 17:44:09 5: SYSMON owncloud: Exec.3976 remove prompt: pi@abcloud:~'
2016.03.12 17:44:09 5: SYSMON owncloud: Exec.3992 Result L: '2927074.18 2778213.64'
2016.03.12 17:44:09 5: SYSMON owncloud: Exec_Remote.4047 Execute 'cat /sys/class/thermal/thermal_zone0/temp 2>&1'
2016.03.12 17:44:10 5: SYSMON owncloud: Exec.3976 remove prompt: pi@abcloud:~'
2016.03.12 17:44:10 5: SYSMON owncloud: Exec.3992 Result L: '30938'
2016.03.12 17:44:10 5: SYSMON owncloud: Exec_Remote.4047 Execute '[ -f /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq ] && cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq 2>&1 || echo 0'
2016.03.12 17:44:10 5: SYSMON owncloud: Exec.3976 remove prompt: pi@abcloud:~'
2016.03.12 17:44:10 5: SYSMON owncloud: Exec.3992 Result L: '900000'
2016.03.12 17:44:10 5: SYSMON owncloud: Exec_Remote.4047 Execute 'cat /proc/loadavg'
2016.03.12 17:44:10 5: SYSMON owncloud: Exec.3976 remove prompt: pi@abcloud:~'
2016.03.12 17:44:10 5: SYSMON owncloud: Exec.3992 Result L: '0.01 0.03 0.05 1/101 419'
2016.03.12 17:44:10 5: SYSMON owncloud: Exec_Remote.4047 Execute 'cat /proc/stat'
2016.03.12 17:44:10 5: SYSMON owncloud: Exec.3976 remove prompt: pi@abcloud:~'
2016.03.12 17:44:10 5: SYSMON owncloud: Exec.3985 Result A: '$VAR1 = 'cpu  11082531 0 3063239 275770071 332728 290 412578 0 0 0
';
$VAR2 = 'cpu0 11082531 0 3063239 275770071 332728 290 412578 0 0 0
';
$VAR3 = 'intr 882122057 0 0 0 84572033 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 104926 0 0 0 0 0 0 0 0 0 0 0 788200328 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 146818 2 0 0 0 0 0 0 0 0 1 0 1117763 0 0 0 0 0 9 7980177 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
';
$VAR4 = 'ctxt 262102610
';
$VAR5 = 'btime 1454873975
';
$VAR6 = 'processes 1329579
';
$VAR7 = 'procs_running 1
';
$VAR8 = 'procs_blocked 0
';
$VAR9 = 'softirq 132636297 32416281 32592851 585426 16984399 107760 0 36475063 0 35598 13438919
';
'
2016.03.12 17:44:10 5: SYSMON owncloud: Exec_Remote.4047 Execute 'free'
2016.03.12 17:44:10 5: SYSMON owncloud: Exec.3976 remove prompt: pi@abcloud:~'
2016.03.12 17:44:10 5: SYSMON owncloud: Exec.3985 Result A: '$VAR1 = '             total       used       free     shared    buffers     cached
';
$VAR2 = 'Mem:        493752     469628      24124      40920     116752     244680
';
$VAR3 = '-/+ buffers/cache:     108196     385556
';
$VAR4 = 'Swap:       102396      26872      75524
';
'
2016.03.12 17:44:10 5: SYSMON owncloud: getNetworkInfo.2650 get eth0:eth0:Ethernet
2016.03.12 17:44:10 5: SYSMON owncloud: Exec_Remote.4047 Execute 'ifconfig eth0 2>&1'
2016.03.12 17:44:10 5: SYSMON owncloud: Exec.3976 remove prompt: pi@abcloud:~'
2016.03.12 17:44:10 5: SYSMON owncloud: Exec.3985 Result A: '$VAR1 = 'eth0      Link encap:Ethernet  HWaddr b8:27:eb:94:c3:a6 
';
$VAR2 = '          inet addr:192.168.178.41  Bcast:192.168.178.255  Mask:255.255.255.0
';
$VAR3 = '          inet6 addr: fe80::f81c:9cd8:84eb:a4c/64 Scope:Link
';
$VAR4 = '          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
';
$VAR5 = '          RX packets:17481742 errors:0 dropped:3250 overruns:0 frame:0
';
$VAR6 = '          TX packets:13327798 errors:0 dropped:0 overruns:0 carrier:0
';
$VAR7 = '          collisions:0 txqueuelen:1000
';
$VAR8 = '          RX bytes:2998639375 (2.7 GiB)  TX bytes:3827071713 (3.5 GiB)
';
'
2016.03.12 17:44:10 5: SYSMON owncloud: getNetworkInfo.2662 SYSMON_getNetworkInfo>>>>>>>>>>>>>>>>$VAR1 = 'eth0      Link encap:Ethernet  HWaddr b8:27:eb:94:c3:a6 
';
$VAR2 = '          inet addr:192.168.178.41  Bcast:192.168.178.255  Mask:255.255.255.0
';
$VAR3 = '          inet6 addr: fe80::f81c:9cd8:84eb:a4c/64 Scope:Link
';
$VAR4 = '          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
';
$VAR5 = '          RX packets:17481742 errors:0 dropped:3250 overruns:0 frame:0
';
$VAR6 = '          TX packets:13327798 errors:0 dropped:0 overruns:0 carrier:0
';
$VAR7 = '          collisions:0 txqueuelen:1000
';
$VAR8 = '          RX bytes:2998639375 (2.7 GiB)  TX bytes:3827071713 (3.5 GiB)
';

2016.03.12 17:44:10 5: SYSMON owncloud: Exec_Remote.4047 Execute 'cat /sys/class/net/eth0/statistics/rx_bytes'
2016.03.12 17:44:10 5: SYSMON owncloud: Exec.3976 remove prompt: pi@abcloud:~'
2016.03.12 17:44:10 5: SYSMON owncloud: Exec.3992 Result L: '2998640356'
2016.03.12 17:44:10 5: SYSMON owncloud: Exec_Remote.4047 Execute 'cat /sys/class/net/eth0/statistics/tx_bytes'
2016.03.12 17:44:10 5: SYSMON owncloud: Exec.3976 remove prompt: pi@abcloud:~'
2016.03.12 17:44:10 5: SYSMON owncloud: Exec.3992 Result L: '3827074878'
2016.03.12 17:44:10 5: SYSMON owncloud: Exec_Remote.4047 Execute '[ -f /sys/class/net/eth0/speed ] && cat /sys/class/net/eth0/speed 2>/dev/null || echo not available'
2016.03.12 17:44:11 5: SYSMON owncloud: Exec.3976 remove prompt: pi@abcloud:~'
2016.03.12 17:44:11 5: SYSMON owncloud: Exec.3992 Result L: '100'
2016.03.12 17:44:11 5: SYSMON owncloud: getFileSystemInfo.2550 get fs_boot:/boot
2016.03.12 17:44:11 5: SYSMON owncloud: getFileSystemInfo.2561 exec df /boot -m 2>/dev/null
2016.03.12 17:44:11 5: SYSMON owncloud: Exec_Remote.4047 Execute 'df /boot -m 2>/dev/null'
2016.03.12 17:44:11 5: SYSMON owncloud: Exec.3976 remove prompt: pi@abcloud:~'
2016.03.12 17:44:11 5: SYSMON owncloud: Exec.3985 Result A: '$VAR1 = 'Filesystem     1M-blocks  Used Available Use% Mounted on
';
$VAR2 = '/dev/mmcblk0p1        60    20        41  34% /boot
';
'
2016.03.12 17:44:11 5: SYSMON owncloud: getFileSystemInfo.2566 recieved 2 lines
2016.03.12 17:44:11 5: SYSMON owncloud: getFileSystemInfo.2583 recieved line0 Filesystem     1M-blocks  Used Available Use% Mounted on

2016.03.12 17:44:11 5: SYSMON owncloud: getFileSystemInfo.2602 analyse line /dev/mmcblk0p1        60    20        41  34% /boot
for /boot
2016.03.12 17:44:11 5: SYSMON owncloud: getFileSystemInfo.2611 pattern (/boot) found
2016.03.12 17:44:11 5: SYSMON owncloud: getFileSystemInfo.2617 use line /dev/mmcblk0p1        60    20        41  34% /boot

2016.03.12 17:44:11 5: SYSMON owncloud: getFileSystemInfo.2550 get fs_root:/:Root
2016.03.12 17:44:11 5: SYSMON owncloud: getFileSystemInfo.2561 exec df / -m 2>/dev/null
2016.03.12 17:44:11 5: SYSMON owncloud: Exec_Remote.4047 Execute 'df / -m 2>/dev/null'
2016.03.12 17:44:11 5: SYSMON owncloud: Exec.3976 remove prompt: pi@abcloud:~'
2016.03.12 17:44:11 5: SYSMON owncloud: Exec.3985 Result A: '$VAR1 = 'Filesystem     1M-blocks  Used Available Use% Mounted on
';
$VAR2 = '/dev/root           7486  1382      5773  20% /
';
'
2016.03.12 17:44:11 5: SYSMON owncloud: getFileSystemInfo.2566 recieved 2 lines
2016.03.12 17:44:11 5: SYSMON owncloud: getFileSystemInfo.2583 recieved line0 Filesystem     1M-blocks  Used Available Use% Mounted on

2016.03.12 17:44:11 5: SYSMON owncloud: getFileSystemInfo.2602 analyse line /dev/root           7486  1382      5773  20% /
for /
2016.03.12 17:44:11 5: SYSMON owncloud: getFileSystemInfo.2611 pattern (/) found
2016.03.12 17:44:11 5: SYSMON owncloud: getFileSystemInfo.2617 use line /dev/root           7486  1382      5773  20% /

2016.03.12 17:44:11 5: SYSMON owncloud: getFileSystemInfo.2550 get fs_data:/media/usb-ssd:SSD
2016.03.12 17:44:11 5: SYSMON owncloud: getFileSystemInfo.2561 exec df /media/usb-ssd -m 2>/dev/null
2016.03.12 17:44:11 5: SYSMON owncloud: Exec_Remote.4047 Execute 'df /media/usb-ssd -m 2>/dev/null'
2016.03.12 17:44:11 5: SYSMON owncloud: Exec.3976 remove prompt: pi@abcloud:~'
2016.03.12 17:44:11 5: SYSMON owncloud: Exec.3985 Result A: '$VAR1 = 'Filesystem     1M-blocks  Used Available Use% Mounted on
';
$VAR2 = '/dev/sda1         122102  2172    119931   2% /media/usb-ssd
';
'
2016.03.12 17:44:11 5: SYSMON owncloud: getFileSystemInfo.2566 recieved 2 lines
2016.03.12 17:44:11 5: SYSMON owncloud: getFileSystemInfo.2583 recieved line0 Filesystem     1M-blocks  Used Available Use% Mounted on

2016.03.12 17:44:11 5: SYSMON owncloud: getFileSystemInfo.2602 analyse line /dev/sda1         122102  2172    119931   2% /media/usb-ssd
for /media/usb-ssd
2016.03.12 17:44:11 5: SYSMON owncloud: getFileSystemInfo.2611 pattern (/media/usb-ssd) found
2016.03.12 17:44:11 5: SYSMON owncloud: getFileSystemInfo.2617 use line /dev/sda1         122102  2172    119931   2% /media/usb-ssd

2016.03.12 17:44:11 5: SYSMON owncloud: obtainParameters.1129 owncloud: Close shared telnet connection
2016.03.12 17:44:11 5: SYSMON owncloud: Close_Connection.3929 Close Telnet connection

SYSMON liest wohl die Werte aus, die Readings werden aber nicht aktualisiert. Und es kommen auch keine Events im Eventmonitor an, und es gibt damit logischerweise auch keine Einträge im Filelog. Meine Definition von SYSMON ist:
define owncloud SYSMON telnet:pi@abcloud 1 1 1 10
attr owncloud disable 0
attr owncloud event-on-update-reading cpu_temp,cpu_temp_avg,cpu_freq,eth0_diff,loadavg,ram,fs_.*,stat_cpu_percent
attr owncloud filesystems fs_boot:/boot,fs_root:/:Root,fs_data:/media/usb-ssd:SSD
attr owncloud network-interfaces eth0:eth0:Ethernet
attr owncloud room System
attr owncloud verbose 5

define FileLog_owncloud FileLog /var/log/fhem/owncloud-%Y-%m.log owncloud
attr FileLog_owncloud logtype text
attr FileLog_owncloud room System


Ich habe noch eine zweite Instanz von SYSMON am Laufen (lokaler RPI). Diese reagiert genauso.

Ein "list owncloud" ergibt folgendes:
ZitatInternals:
   DEF        telnet:pi@abcloud 1 1 1 10
   HOST       abcloud
   INTERVAL_BASE 60
   INTERVAL_MULTIPLIERS 1 1 1 10
   MODE       telnet
   NAME       owncloud
   NR         110
   PORT       23
   STATE      Initialized
   TYPE       SYSMON
   USER       pi
   Readings:
     2016-03-12 09:21:31   cpu0_freq       900
     2016-03-12 09:21:31   cpu0_freq_stat  700.00 900.00 899.99
     2016-03-11 19:34:09   cpu_bogomips    2.57
     2016-03-12 09:21:31   cpu_core_count  1
     2016-03-12 09:21:31   cpu_freq        900
     2016-03-12 09:21:31   cpu_freq_stat   700.00 900.00 899.99
     2016-03-12 09:21:31   cpu_idle_stat   0.00 98.78 68.91
     2016-03-11 19:34:09   cpu_model_name  ARMv6-compatible processor rev 7 (v6l)
     2016-03-12 09:21:31   cpu_temp        30.94
     2016-03-12 09:21:31   cpu_temp_avg    31.1
     2016-03-12 09:21:31   cpu_temp_stat   29.86 36.32 31.12
     2016-03-12 09:21:31   eth0            RX: 2859.04 MB, TX: 3649.24 MB, Total: 6508.28 MB
     2016-03-12 09:21:31   eth0_diff       RX: 0.03 MB, TX: 0.05 MB, Total: 0.08 MB
     2016-03-12 09:21:31   eth0_ip         192.168.178.41
     2016-03-12 09:21:31   eth0_rx         2997922184
     2016-03-12 09:21:31   eth0_speed      100
     2016-03-12 09:21:31   eth0_tx         3826506255
     2016-03-12 09:20:28   fs_boot         Total: 60 MB, Used: 20 MB, 34 %, Available: 41 MB at /boot
     2016-03-12 09:20:28   fs_data         Total: 122102 MB, Used: 2172 MB, 2 %, Available: 119931 MB at /media/usb-ssd
     2016-03-12 09:20:28   fs_root         Total: 7486 MB, Used: 1382 MB, 20 %, Available: 5773 MB at /
     2016-03-12 09:21:31   idletime        2748443 94.87 %
     2016-03-12 09:21:31   idletime_text   31 days, 19 hours, 27 minutes (94.87 %)
     2016-03-12 09:21:31   loadavg         0.65 0.67 0.32
     2016-03-12 09:21:31   ram             Total: 482.18 MB, Used: 103.90 MB, 21.55 %, Free: 378.28 MB
     2016-03-12 09:21:31   ram_used_stat   59.73 444.06 87.54
     2016-03-12 09:21:31   starttime       1454873975
     2016-03-12 09:21:31   starttime_text  07.02.2016 20:39:35
     2016-03-12 09:21:31   stat_cpu        11051426 0 3056745 272814332 331633 288 412467
     2016-03-12 09:21:31   stat_cpu_diff   938 0 191 5031 15 0 10
     2016-03-12 09:21:31   stat_cpu_percent 15.17 0.00 3.09 81.34 0.24 0.00 0.16
     2016-03-12 09:21:31   stat_cpu_text   user: 15.17 %, nice: 0.00 %, sys: 3.09 %, idle: 81.34 %, io: 0.24 %, irq: 0.00 %, sirq: 0.16 %
     2016-03-12 09:21:31   swap            Total: 100.00 MB, Used: 26.24 MB,  26.24 %, Free: 73.75 MB
     2016-03-12 09:21:31   swap_used_stat  0.00 88.57 26.36
     2016-03-12 09:21:31   uptime          2896913
     2016-03-12 09:21:31   uptime_text     33 days, 12 hours, 41 minutes
   Helper:
     error_msg
     net_eth0_stat_class 1
     proc_fs    1
     recognized_prompt pi@abcloud:~
     sys_cpu0_freq 1
     sys_cpu0_temp 0
     sys_cpu1_freq 0
     sys_cpu1_temp 0
     sys_cpu2_freq 0
     sys_cpu2_temp 0
     sys_cpu3_freq 0
     sys_cpu3_temp 0
     sys_cpu4_freq 0
     sys_cpu4_temp 0
     sys_cpu5_freq 0
     sys_cpu5_temp 0
     sys_cpu6_freq 0
     sys_cpu6_temp 0
     sys_cpu7_freq 0
     sys_cpu7_temp 0
     sys_cpu_core_num 1
     sys_cpu_freq_rpi_bbb 1
     sys_cpu_num 1
     sys_cpu_temp_bbb 0
     sys_cpu_temp_rpi 1
     sys_fb     0
     sys_power_ac 0
     sys_power_bat 0
     sys_power_usb 0
     Cur_readings_map:
       cpu0_freq  CPU frequency (core 0)
       cpu0_freq_stat CPU frequency (core 0) stat
       cpu0_idle_stat CPU0 min/max/avg (idle)
       cpu1_idle_stat CPU1 min/max/avg (idle)
       cpu2_idle_stat CPU2 min/max/avg (idle)
       cpu3_idle_stat CPU3 min/max/avg (idle)
       cpu4_idle_stat CPU4 min/max/avg (idle)
       cpu5_idle_stat CPU5 min/max/avg (idle)
       cpu6_idle_stat CPU6 min/max/avg (idle)
       cpu7_idle_stat CPU7 min/max/avg (idle)
       cpu_bogomips BogoMIPS
       cpu_core_count Number of CPU cores
       cpu_freq   CPU frequency
       cpu_freq_stat CPU frequency stat
       cpu_idle_stat CPU min/max/avg (idle)
       cpu_model_name CPU model name
       cpu_temp   CPU temperature
       cpu_temp_avg Average CPU temperature
       cpu_temp_stat CPU temperature stat
       date       Date
       eth0       Ethernet
       eth0_diff  Ethernet (diff)
       eth0_ip    Ethernet (IP)
       eth0_ip6   Ethernet (IP6)
       eth0_rx    Ethernet (RX)
       eth0_speed Ethernet (speed)
       eth0_tx    Ethernet (TX)
       fhemstarttime Fhem start time
       fhemstarttime_text Fhem start time
       fhemuptime System up time
       fhemuptime_text FHEM up time
       fs_boot    Filesystem /boot
       fs_boot_free Filesystem /boot (free)
       fs_boot_used Filesystem /boot (used)
       fs_boot_used_percent Filesystem /boot (used %)
       fs_data    SSD
       fs_data_free SSD (free)
       fs_data_used SSD (used)
       fs_data_used_percent SSD (used %)
       fs_root    Root
       fs_root_free Root (free)
       fs_root_used Root (used)
       fs_root_used_percent Root (used %)
       idletime   Idle time
       idletime_text Idle time
       io_sda     TEST
       io_sda_diff TEST
       io_sda_raw TEST
       loadavg    Load average
       loadavg_1  Load average 1
       loadavg_15 Load average 15
       loadavg_5  Load average 5
       ram        RAM
       ram_free   RAM free
       ram_free_percent RAM free %
       ram_total  RAM total
       ram_used   RAM used
       ram_used_stat RAM used stat
       starttime  System start time
       starttime_text System start time
       stat_cpu   CPU statistics
       stat_cpu0  CPU0 statistics
       stat_cpu0_diff CPU0 statistics (diff)
       stat_cpu0_percent CPU0 statistics (diff, percent)
       stat_cpu0_text CPU0 statistics (text)
       stat_cpu1  CPU1 statistics
       stat_cpu1_diff CPU1 statistics (diff)
       stat_cpu1_percent CPU1 statistics (diff, percent)
       stat_cpu1_text CPU1 statistics (text)
       stat_cpu2  CPU2 statistics
       stat_cpu2_diff CPU2 statistics (diff)
       stat_cpu2_percent CPU2 statistics (diff, percent)
       stat_cpu2_text CPU2 statistics (text)
       stat_cpu3  CPU3 statistics
       stat_cpu3_diff CPU3 statistics (diff)
       stat_cpu3_percent CPU3 statistics (diff, percent)
       stat_cpu3_text CPU3 statistics (text)
       stat_cpu4  CPU4 statistics
       stat_cpu4_diff CPU4 statistics (diff)
       stat_cpu4_percent CPU4 statistics (diff, percent)
       stat_cpu4_text CPU4 statistics (text)
       stat_cpu5  CPU5 statistics
       stat_cpu5_diff CPU5 statistics (diff)
       stat_cpu5_percent CPU5 statistics (diff, percent)
       stat_cpu5_text CPU5 statistics (text)
       stat_cpu6  CPU6 statistics
       stat_cpu6_diff CPU6 statistics (diff)
       stat_cpu6_percent CPU6 statistics (diff, percent)
       stat_cpu6_text CPU6 statistics (text)
       stat_cpu7  CPU7 statistics
       stat_cpu7_diff CPU7 statistics (diff)
       stat_cpu7_percent CPU7 statistics (diff, percent)
       stat_cpu7_text CPU7 statistics (text)
       stat_cpu_diff CPU statistics (diff)
       stat_cpu_idle_percent CPU statistics idle %
       stat_cpu_io_percent CPU statistics io %
       stat_cpu_irq_percent CPU statistics irq %
       stat_cpu_nice_percent CPU statistics nice %
       stat_cpu_percent CPU statistics (diff, percent)
       stat_cpu_sirq_percent CPU statistics sirq %
       stat_cpu_sys_percent CPU statistics sys %
       stat_cpu_text CPU statistics (text)
       stat_cpu_user_percent CPU statistics user %
       swap       swap
       swap_free  swap free
       swap_total swap total
       swap_used  swap used
       swap_used_percent swap used %
       swap_used_stat swap used stat
       uptime     System up time
       uptime_text System up time
     Excludes:
     Shadow_map:
       cpu0_freq  900
       cpu0_freq_stat 700.00 900.00 899.99
       cpu_bogomips 2.57
       cpu_core_count 1
       cpu_freq   900
       cpu_freq_stat 700.00 900.00 899.99
       cpu_idle_stat 0.00 98.78 76.31
       cpu_model_name ARMv6-compatible processor rev 7 (v6l)
       cpu_temp   31.48
       cpu_temp_avg 31.2
       cpu_temp_stat 29.86 36.32 31.21
       eth0       RX: 2859.94 MB, TX: 3650.09 MB, Total: 6510.03 MB
       eth0_diff  RX: 0.90 MB, TX: 0.85 MB, Total: 1.75 MB
       eth0_ip    192.168.178.41
       eth0_rx    2998867037
       eth0_speed 100
       eth0_tx    3827397627
       fs_boot    Total: 60 MB, Used: 20 MB, 34 %, Available: 41 MB at /boot
       fs_data    Total: 122102 MB, Used: 2172 MB, 2 %, Available: 119931 MB at /media/usb-ssd
       fs_root    Total: 7486 MB, Used: 1383 MB, 20 %, Available: 5772 MB at /
       idletime   2779046 94.91 %
       idletime_text 32 days, 03 hours, 57 minutes (94.91 %)
       loadavg    0.15 0.06 0.06
       ram        Total: 482.18 MB, Used: 105.63 MB, 21.91 %, Free: 376.55 MB
       ram_used_stat 59.73 444.06 92.06
       starttime  1454873974
       starttime_text 07.02.2016 20:39:34
       stat_cpu   11088625 0 3064632 275852730 332868 291 412647
       stat_cpu_diff 37199 0 7887 3038398 1235 3 180
       stat_cpu_percent 1.21 0.00 0.26 98.49 0.04 0.00 0.01
       stat_cpu_text user: 1.21 %, nice: 0.00 %, sys: 0.26 %, idle: 98.49 %, io: 0.04 %, irq: 0.00 %, sirq: 0.01 %
       swap       Total: 100.00 MB, Used: 26.24 MB,  26.24 %, Free: 73.75 MB
       swap_used_stat 0.00 88.57 26.33
       uptime     2927984
       uptime_text 33 days, 21 hours, 19 minutes
Attributes:
   disable    0
   event-on-update-reading cpu_temp,cpu_temp_avg,cpu_freq,eth0_diff,loadavg,ram,fs_.*,stat_cpu_percent
   filesystems fs_boot:/boot,fs_root:/:Root,fs_data:/media/usb-ssd:SSD
   network-interfaces eth0:eth0:Ethernet
   room       System
   verbose    5

09:21 war der Zeitpunkt, an dem ich heute morgen "disable auf 1" gesetzt habe. Das "list" von 18:11
Die Version von SYSMON ist 2.2.7

Beim Löschen der Attribute "disable" und "verbose" stehen folgende Einträge im Logfile:
Zitat2016.03.12 18:16:09 5: SYSMON owncloud: Attr.805 disable
2016.03.12 18:16:10 5: SYSMON owncloud: Set.744 owncloud ?
2016.03.12 18:16:10 5: SYSMON owncloud: Get.662 owncloud ?
2016.03.12 18:16:13 5: SYSMON owncloud: Attr.805 verbose

Das "deleteattr" von disable" reicht nicht, damit SYSMON wieder wie gewünscht arbeitet. Ich muss danach auch einen Neustart von FHEM durchführen.

Viele Grüße
Achim
1x RPi V1, COC, 6x FHT, 1x S300TH, 2x DS18B20, 1x KS300
1x Arduino Nano mit Firmata, 2x DS2423old, 4x DS18B20, HIH5030, verschiedene Ein/Ausgangsschaltungen am Arduino
Mysensors-Seriell Gateway, Si7021, BH1750, Relais