SYSMON: Qnap NAS via Telnet monitoren

Begonnen von Aladin222, 07 Februar 2015, 11:11:17

Vorheriges Thema - Nächstes Thema

Aladin222

Hi @all,

Also ich habe Fhem bei mir auf einem CubieTruck laufen , und das Modul Sysmon läuft prima !

Weiter habe ich noch zwei Qnap NAS ( 469L & 219P ) Systeme im Netzwerk ,welche ich gerne auch mit Sysmon in Fhem einbinden möchte !
Grundsätzlich sollte dies ja möglich sein , oder ( Sysmon via Telnet ) ?
Was müsste dafür auf den Qnap´s laufen ? ( hatte iStats probiert ,bekomme ich nicht hin )

Sag schonmal Danke ....
-EDIT-
Also ,das Modul Sysmon liest von der Qnap !
Nun bekomme ich aber folgende Fehler im Log :
2015.02.07 11:37:24 1: PERL WARNING: Use of uninitialized value $la15 in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 1352.
2015.02.07 11:37:24 1: PERL WARNING: Use of uninitialized value $la5 in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 1352.
2015.02.07 11:37:24 1: PERL WARNING: Argument "[~] " isn't numeric in int at ./FHEM/42_SYSMON.pm line 2804.
2015.02.07 11:37:24 1: PERL WARNING: Argument "[~] " isn't numeric in int at ./FHEM/42_SYSMON.pm line 1388.
2015.02.07 11:37:24 1: PERL WARNING: Use of uninitialized value $s in division (/) at ./FHEM/42_SYSMON.pm line 3323.
2015.02.07 11:37:24 1: PERL WARNING: Use of uninitialized value $idle in sprintf at ./FHEM/42_SYSMON.pm line 1270.
2015.02.07 11:37:24 1: PERL WARNING: Use of uninitialized value $idle in division (/) at ./FHEM/42_SYSMON.pm line 1264.
2015.02.07 11:37:24 1: PERL WARNING: Argument "[~] " isn't numeric in int at ./FHEM/42_SYSMON.pm line 1237.
2015.02.07 11:37:22 1: PERL WARNING: Use of uninitialized value $la15 in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 1352.
2015.02.07 11:37:22 1: PERL WARNING: Use of uninitialized value $la5 in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 1352.
2015.02.07 11:37:22 1: PERL WARNING: Argument "[~] " isn't numeric in int at ./FHEM/42_SYSMON.pm line 2804.
2015.02.07 11:37:22 1: PERL WARNING: Use of uninitialized value $s in division (/) at ./FHEM/42_SYSMON.pm line 3323.
2015.02.07 11:37:22 1: PERL WARNING: Use of uninitialized value $idle in sprintf at ./FHEM/42_SYSMON.pm line 1270.
2015.02.07 11:37:22 1: PERL WARNING: Use of uninitialized value $idle in division (/) at ./FHEM/42_SYSMON.pm line 1264.
2015.02.07 11:36:39 1: PERL WARNING: Use of uninitialized value in string ne at fhem.pl line 3725.


Als Reading der Qnap469L :
Readings
ath0
not available
2015-02-07 11:41:24
ath0_diff
not available
2015-02-07 11:41:24
ath1
not available
2015-02-07 11:41:24
ath1_diff
not available
2015-02-07 11:41:24
cpmac0
not available
2015-02-07 11:41:24
cpmac0_diff
not available
2015-02-07 11:41:24
cpu_temp
0.00
2015-02-07 11:41:24
cpu_temp_avg
0.0
2015-02-07 11:41:24
dect_temp
3
2015-02-07 11:41:24
dsl
not available
2015-02-07 11:41:24
dsl_crc_15
down: 3 up: 3
2015-02-07 11:41:24
dsl_diff
not available
2015-02-07 11:41:24
dsl_fec_15
down: 3 up: 3
2015-02-07 11:41:24
dsl_rate
down: 3 KBit/s, up: 3 KBit/s
2015-02-07 11:41:24
dsl_synctime
00 Tage 00 Std. 00 Min. 03 Sec.
2015-02-07 11:41:24
eth0
RX: 454994.56 MB, TX: 3535057.90 MB, Total: 3990052.46 MB
2015-02-07 11:41:24
eth0_diff
RX: 2.66 MB, TX: 27.51 MB, Total: 30.17 MB
2015-02-07 11:41:24
eth0_ip
addr:192.168.178.80
2015-02-07 11:41:24
fw_version_info
3
2015-02-07 11:37:24
guest
not available
2015-02-07 11:41:24
guest_diff
not available
2015-02-07 11:41:24
hotspot
not available
2015-02-07 11:41:24
hotspot_diff
not available
2015-02-07 11:41:24
idletime
0 0.00 %
2015-02-07 11:41:24
idletime_text
0 days, 00 hours, 00 minutes (0.00 %)
2015-02-07 11:41:24
internet_ip
3
2015-02-07 11:41:24
internet_state
3
2015-02-07 11:41:24
lan
not available
2015-02-07 11:41:24
lan_diff
not available
2015-02-07 11:41:24
loadavg
3
2015-02-07 11:41:24
night_time_ctrl
unknown
2015-02-07 11:41:24
num_new_messages
3
2015-02-07 11:41:24
power_ac_stat
3 3 3e-06 0.003
2015-02-07 11:41:24
power_ac_text
ac: absent / offline, voltage: 3e-06 V, current: 0.003 mA, 0 W
2015-02-07 11:41:24
power_battery_info
battery info: n/a , capacity: n/a %, status: n/a , health: n/a , total capacity: n/a mAh
2015-02-07 11:41:24
power_battery_stat
3 3 3e-06 0.003 0
2015-02-07 11:41:24
power_battery_text
battery: absent / offline, voltage: 3e-06 V, current: 0.003 mA, 0 W, capacity: 0 %
2015-02-07 11:41:24
power_usb_stat
3 3 3e-06 0.003
2015-02-07 11:41:24
power_usb_text
usb: absent / offline, voltage: 3e-06 V, current: 0.003 mA, 0 W
2015-02-07 11:41:24
ram
Total: 3000.67 MB, Used: 2220.64 MB, 74.01 %, Free: 780.02 MB
2015-02-07 11:41:24
root
Total: 0 MB, Used: 0 MB, 0 %, Available: 0 MB at / (not available)
2015-02-07 11:40:24
stat_cpu
37632307 2816 34219633 1663653815 2511738 1029 2497087
2015-02-07 11:41:24
stat_cpu0
9311126 797 7639622 416586375 605513 261 614647
2015-02-07 11:41:24
stat_cpu0_diff
78 0 68 5801 6 0 2
2015-02-07 11:41:24
stat_cpu0_percent
1.31 0.00 1.14 97.41 0.10 0.00 0.03
2015-02-07 11:41:24
stat_cpu0_text
user: 1.31 %, nice: 0.00 %, sys: 1.14 %, idle: 97.41 %, io: 0.10 %, irq: 0.00 %, sirq: 0.03 %
2015-02-07 11:41:24
stat_cpu1
9658057 827 9455857 414769906 638147 268 635544
2015-02-07 11:41:24
stat_cpu1_diff
77 0 72 5798 6 0 2
2015-02-07 11:41:24
stat_cpu1_percent
1.29 0.00 1.21 97.36 0.10 0.00 0.03
2015-02-07 11:41:24
stat_cpu1_text
user: 1.29 %, nice: 0.00 %, sys: 1.21 %, idle: 97.36 %, io: 0.10 %, irq: 0.00 %, sirq: 0.03 %
2015-02-07 11:41:24
stat_cpu2
9127480 891 7754683 417173367 551562 249 614085
2015-02-07 11:41:24
stat_cpu2_diff
92 0 72 5788 6 0 1
2015-02-07 11:41:24
stat_cpu2_percent
1.54 0.00 1.21 97.13 0.10 0.00 0.02
2015-02-07 11:41:24
stat_cpu2_text
user: 1.54 %, nice: 0.00 %, sys: 1.21 %, idle: 97.13 %, io: 0.10 %, irq: 0.00 %, sirq: 0.02 %
2015-02-07 11:41:24
stat_cpu3
9535642 299 9369471 415124166 716515 250 632809
2015-02-07 11:41:24
stat_cpu3_diff
80 0 66 5774 33 0 2
2015-02-07 11:41:24
stat_cpu3_percent
1.34 0.00 1.11 96.96 0.55 0.00 0.03
2015-02-07 11:41:24
stat_cpu3_text
user: 1.34 %, nice: 0.00 %, sys: 1.11 %, idle: 96.96 %, io: 0.55 %, irq: 0.00 %, sirq: 0.03 %
2015-02-07 11:41:24
stat_cpu_diff
327 0 277 23161 50 0 8
2015-02-07 11:41:24
stat_cpu_percent
1.37 0.00 1.16 97.22 0.21 0.00 0.03
2015-02-07 11:41:24
stat_cpu_text
user: 1.37 %, nice: 0.00 %, sys: 1.16 %, idle: 97.22 %, io: 0.21 %, irq: 0.00 %, sirq: 0.03 %
2015-02-07 11:41:24
swap
Total: 517.68 MB, Used: 2.92 MB, 0.56 %, Free: 514.76 MB
2015-02-07 11:41:24
uptime
3
2015-02-07 11:41:24
uptime_text
0 days, 00 hours, 00 minutes
2015-02-07 11:41:24
vdsl
not available
2015-02-07 11:41:24
vdsl_diff
not available
2015-02-07 11:41:24
wlan_guest_state
unknown
2015-02-07 11:41:24
wlan_state
unknown


Als Reading der Qnap219P :
ath0
not available
2015-02-07 11:42:26
ath0_diff
not available
2015-02-07 11:42:26
ath1
not available
2015-02-07 11:42:26
ath1_diff
not available
2015-02-07 11:42:26
cpmac0
not available
2015-02-07 11:42:26
cpmac0_diff
not available
2015-02-07 11:42:26
cpu_temp
0.00
2015-02-07 11:42:26
cpu_temp_avg
0.0
2015-02-07 11:42:26
dect_temp
3
2015-02-07 11:42:26
dsl
not available
2015-02-07 11:42:26
dsl_crc_15
down: 3 up: 3
2015-02-07 11:42:26
dsl_diff
not available
2015-02-07 11:42:26
dsl_fec_15
down: 3 up: 3
2015-02-07 11:42:26
dsl_rate
down: 3 KBit/s, up: 3 KBit/s
2015-02-07 11:42:26
dsl_synctime
00 Tage 00 Std. 00 Min. 03 Sec.
2015-02-07 11:42:26
eth0
RX: 3990.56 MB, TX: 1581.22 MB, Total: 5571.78 MB
2015-02-07 11:42:26
eth0_diff
RX: 0.07 MB, TX: 0.07 MB, Total: 0.14 MB
2015-02-07 11:42:26
eth0_ip
addr:192.168.178.36
2015-02-07 11:42:26
fw_version_info
3
2015-02-07 11:37:26
guest
not available
2015-02-07 11:42:26
guest_diff
not available
2015-02-07 11:42:26
hotspot
not available
2015-02-07 11:42:26
hotspot_diff
not available
2015-02-07 11:42:26
idletime
0 0.00 %
2015-02-07 11:42:26
idletime_text
0 days, 00 hours, 00 minutes (0.00 %)
2015-02-07 11:42:26
internet_ip
3
2015-02-07 11:42:26
internet_state
3
2015-02-07 11:42:26
lan
not available
2015-02-07 11:42:26
lan_diff
not available
2015-02-07 11:42:26
loadavg
[~]
2015-02-07 11:42:26
night_time_ctrl
unknown
2015-02-07 11:42:26
num_new_messages
3
2015-02-07 11:42:26
power_ac_stat
3 3 3e-06 0.003
2015-02-07 11:42:26
power_ac_text
ac: absent / offline, voltage: 3e-06 V, current: 0.003 mA, 0 W
2015-02-07 11:42:26
power_battery_info
battery info: n/a , capacity: n/a %, status: n/a , health: n/a , total capacity: n/a mAh
2015-02-07 11:42:26
power_battery_stat
3 3 3e-06 0.003 0
2015-02-07 11:42:26
power_battery_text
battery: absent / offline, voltage: 3e-06 V, current: 0.003 mA, 0 W, capacity: 0 %
2015-02-07 11:42:26
power_usb_stat
3 3 3e-06 0.003
2015-02-07 11:42:26
power_usb_text
usb: absent / offline, voltage: 3e-06 V, current: 0.003 mA, 0 W
2015-02-07 11:42:26
ram
Total: 503.35 MB, Used: 436.09 MB, 86.64 %, Free: 67.25 MB
2015-02-07 11:42:26
root
Total: 0 MB, Used: 0 MB, 0 %, Available: 0 MB at / (not available)
2015-02-07 11:40:26
swap
Total: 517.62 MB, Used: 139.70 MB, 26.99 %, Free: 377.92 MB
2015-02-07 11:42:26
uptime
3
2015-02-07 11:42:26
uptime_text
0 days, 00 hours, 00 minutes
2015-02-07 11:42:26
vdsl
not available
2015-02-07 11:42:26
vdsl_diff
not available
2015-02-07 11:42:26
wlan_guest_state
unknown
2015-02-07 11:42:26
wlan_state
unknown


Wenn ich mal get List (Qnap469L) mache bekomme ich :
internet_state       3
dsl_rate             down: 3 KBit/s, up: 3 KBit/s
stat_cpu0_text       user: 1.68 %, nice: 0.00 %, sys: 2.40 %, idle: 95.72 %, io: 0.08 %, irq: 0.00 %, sirq: 0.12 %
swap                 Total: 517.68 MB, Used: 2.92 MB,  0.56 %, Free: 514.76 MB
cpu_temp_avg         0.0
stat_cpu1_percent    1.84 0.00 6.44 91.20 0.37 0.00 0.16
cpmac0_diff          not available
dsl_synctime         00 Tage 00 Std. 00 Min. 03 Sec.
wlan_guest_state     unknown
stat_cpu             37641837 2817 34230879 1664362453 2512950 1030 2497436
power_ac_text        ac: absent / offline, voltage: 3e-06 V, current: 0.003 mA, 0 W
stat_cpu1_text       user: 1.84 %, nice: 0.00 %, sys: 6.44 %, idle: 91.20 %, io: 0.37 %, irq: 0.00 %, sirq: 0.16 %
stat_cpu_diff        335 0 838 18308 31 0 31
stat_cpu2_diff       74 0 118 4681 0 0 8
eth0_ip              addr:192.168.178.80
stat_cpu_percent     1.71 0.00 4.29 93.68 0.16 0.00 0.16
guest_diff           not available
guest                not available
dect_temp            3
ram                  Total: 3000.67 MB, Used: 2221.97 MB, 74.05 %, Free: 778.70 MB
stat_cpu3            9538041 299 9372755 415300855 716830 250 632905
power_battery_stat   3 3 3e-06 0.003 0
stat_cpu0_percent    1.68 0.00 2.40 95.72 0.08 0.00 0.12
eth0_diff            RX: 5.70 MB, TX: 20.30 MB, Total: 26.00 MB
uptime_text          0 days, 00 hours, 00 minutes
ath0_diff            not available
idletime_text        0 days, 00 hours, 00 minutes (0.00 %)
ath1_diff            not available
root                 Total: 0 MB, Used: 0 MB, 0 %, Available: 0 MB at / (not available)
night_time_ctrl      unknown
stat_cpu0            9313466 797 7641848 416764158 605750 261 614726
lan_diff             not available
power_battery_info   battery info: n/a , capacity: n/a %, status: n/a , health: n/a , total capacity: n/a mAh
stat_cpu2_percent    1.52 0.00 2.42 95.90 0.00 0.00 0.16
power_usb_text       usb: absent / offline, voltage: 3e-06 V, current: 0.003 mA, 0 W
vdsl_diff            not available
stat_cpu3_percent    1.84 0.00 5.91 91.88 0.18 0.00 0.18
vdsl                 not available
eth0                 RX: 455087.29 MB, TX: 3535799.31 MB, Total: 3990886.6 MB
hotspot_diff         not available
ath1                 not available
uptime               3
wlan_state           unknown
cpu_temp             0.00
lan                  not available
internet_ip          3
stat_cpu3_diff       90 0 289 4491 9 0 9
stat_cpu2            9129773 891 7756987 417351159 551809 249 614170
power_ac_stat        3 3 3e-06 0.003
ath0                 not available
dsl_crc_15           down: 3 up: 3
dsl                  not available
dsl_diff             not available
stat_cpu3_text       user: 1.84 %, nice: 0.00 %, sys: 5.91 %, idle: 91.88 %, io: 0.18 %, irq: 0.00 %, sirq: 0.18 %
hotspot              not available
stat_cpu1_diff       90 0 315 4464 18 0 8
stat_cpu1            9660556 828 9459288 414946280 638560 268 635634
cpmac0               not available
power_usb_stat       3 3 3e-06 0.003
stat_cpu_text        user: 1.71 %, nice: 0.00 %, sys: 4.29 %, idle: 93.68 %, io: 0.16 %, irq: 0.00 %, sirq: 0.16 %
power_battery_text   battery: absent / offline, voltage: 3e-06 V, current: 0.003 mA, 0 W, capacity: 0 %
stat_cpu0_diff       82 0 117 4673 4 0 6
dsl_fec_15           down: 3 up: 3
loadavg              3
idletime             0 0.00 %
num_new_messages     3
stat_cpu2_text       user: 1.52 %, nice: 0.00 %, sys: 2.42 %, idle: 95.90 %, io: 0.00 %, irq: 0.00 %, sirq: 0.16 %

hexenmeister

Hallo!

Mit QNAP habe ich SYSMON noch nie getestet. Ich hätte gerne list auf die entsprechenden Devices und log mit verbose 5.
Weiterhin wäre hilfreich, wenn mir jemand sagen könnte, wie ich ein QNAP sicher unterschieden kann. Scheinbar hält SYSMON dein QNAP für ein FritzBox, was komisch ist... was liefert [ -f /usr/bin/ctlmgr_ctl ] && echo 1 || echo 0 wenn man es von QNAP ausführen lässt?

Maintainer: MQTT_GENERIC_BRIDGE, SYSMON, SMARTMON, systemd_watchdog, MQTT, MQTT_DEVICE, MQTT_BRIDGE
Contrib: dev_proxy

Aladin222

#2
erstmal Danke das Du mal reinschaust  ::) !
Das ein List hilfreich sein könnte ,dachte ich mir auch *schaem , habe ich im ersten Post editiert bevor ich deine Antwort gesehen hatte :-)

Du meintest die Terminaleingabe in der Qnap ?
[ -f /usr/bin/ctlmgr_ctl ] && echo 1 || echo 0

Habe ich genauso eingegeben , kommt als Antwort
0

Glaube ich hab was falsch verstanden ,oder ?

hexenmeister

nein, nicht get List, sondern list <devicename> Da werden einige interne Steuervariablen mit angezeigt.

und noch attr <devicename> verbose 5, dann get <devicename> update und log posten.

Ich bin erstmal weg, schaue mir heute abends wieder an. ;)
Maintainer: MQTT_GENERIC_BRIDGE, SYSMON, SMARTMON, systemd_watchdog, MQTT, MQTT_DEVICE, MQTT_BRIDGE
Contrib: dev_proxy

Aladin222

#4
Super , danke Dir !

Ok , Also hier das List Qnap469L
Internals:
   DEF        Telnet:admin@192.168.178.80:13131 1 1 1 10
   HOST       192.168.178.80
   INTERVAL_BASE 60
   INTERVAL_MULTIPLIERS 1 1 1 10
   MODE       telnet
   NAME       Qnap469L
   NR         513
   PORT       13131
   STATE      Active
   TYPE       SYSMON
   USER       admin
   Readings:
     2015-02-07 12:25:15   ath0            not available
     2015-02-07 12:25:15   ath0_diff       not available
     2015-02-07 12:25:15   ath1            not available
     2015-02-07 12:25:15   ath1_diff       not available
     2015-02-07 12:25:15   cpmac0          not available
     2015-02-07 12:25:15   cpmac0_diff     not available
     2015-02-07 12:25:15   cpu_temp        0.00
     2015-02-07 12:25:15   cpu_temp_avg    0.0
     2015-02-07 12:25:15   dect_temp       3
     2015-02-07 12:25:15   dsl             not available
     2015-02-07 12:25:15   dsl_crc_15      down: 3 up: 3
     2015-02-07 12:25:15   dsl_diff        not available
     2015-02-07 12:25:15   dsl_fec_15      down: 3 up: 3
     2015-02-07 12:25:15   dsl_rate        down: 3 KBit/s, up: 3 KBit/s
     2015-02-07 12:25:15   dsl_synctime    00 Tage 00 Std. 00 Min. 03 Sec.
     2015-02-07 12:25:15   eth0            RX: 455127.68 MB, TX: 3536137.42 MB, Total: 3991265.1 MB
     2015-02-07 12:25:15   eth0_diff       RX: 2.39 MB, TX: 24.53 MB, Total: 26.92 MB
     2015-02-07 12:25:15   eth0_ip         addr:192.168.178.80
     2015-02-07 12:08:15   fw_version_info 3
     2015-02-07 12:25:15   guest           not available
     2015-02-07 12:25:15   guest_diff      not available
     2015-02-07 12:25:15   hotspot         not available
     2015-02-07 12:25:15   hotspot_diff    not available
     2015-02-07 12:25:15   idletime        0 0.00 %
     2015-02-07 12:25:15   idletime_text   0 days, 00 hours, 00 minutes (0.00 %)
     2015-02-07 12:25:15   internet_ip     3
     2015-02-07 12:25:15   internet_state  3
     2015-02-07 12:25:15   lan             not available
     2015-02-07 12:25:15   lan_diff        not available
     2015-02-07 12:25:15   loadavg         3
     2015-02-07 12:25:15   night_time_ctrl unknown
     2015-02-07 12:25:15   num_new_messages 3
     2015-02-07 12:25:15   power_ac_stat   3 3 3e-06 0.003
     2015-02-07 12:25:15   power_ac_text   ac: absent / offline, voltage: 3e-06 V, current: 0.003 mA, 0 W
     2015-02-07 12:25:15   power_battery_info battery info: n/a , capacity: n/a %, status: n/a , health: n/a , total capacity: n/a mAh
     2015-02-07 12:25:15   power_battery_stat 3 3 3e-06 0.003 0
     2015-02-07 12:25:15   power_battery_text battery: absent / offline, voltage: 3e-06 V, current: 0.003 mA, 0 W, capacity: 0 %
     2015-02-07 12:25:15   power_usb_stat  3 3 3e-06 0.003
     2015-02-07 12:25:15   power_usb_text  usb: absent / offline, voltage: 3e-06 V, current: 0.003 mA, 0 W
     2015-02-07 12:25:15   ram             Total: 3000.67 MB, Used: 2221.85 MB, 74.05 %, Free: 778.82 MB
     2015-02-07 12:20:15   root            Total: 0 MB, Used: 0 MB, 0 %, Available: 0 MB at / (not available)
     2015-02-07 12:25:15   stat_cpu        37646301 2817 34235741 1664666753 2513548 1030 2497585
     2015-02-07 12:25:15   stat_cpu0       9314577 797 7642907 416840266 605954 261 614761
     2015-02-07 12:25:15   stat_cpu0_diff  72 0 54 5814 21 0 2
     2015-02-07 12:25:15   stat_cpu0_percent 1.21 0.00 0.91 97.50 0.35 0.00 0.03
     2015-02-07 12:25:15   stat_cpu0_text  user: 1.21 %, nice: 0.00 %, sys: 0.91 %, idle: 97.50 %, io: 0.35 %, irq: 0.00 %, sirq: 0.03 %
     2015-02-07 12:25:15   stat_cpu1       9661720 828 9460691 415022085 638709 268 635674
     2015-02-07 12:25:15   stat_cpu1_diff  76 0 62 5829 0 0 1
     2015-02-07 12:25:15   stat_cpu1_percent 1.27 0.00 1.04 97.67 0.00 0.00 0.02
     2015-02-07 12:25:15   stat_cpu1_text  user: 1.27 %, nice: 0.00 %, sys: 1.04 %, idle: 97.67 %, io: 0.00 %, irq: 0.00 %, sirq: 0.02 %
     2015-02-07 12:25:15   stat_cpu2       9130843 891 7757997 417427567 551929 249 614203
     2015-02-07 12:25:15   stat_cpu2_diff  85 0 64 5805 6 0 3
     2015-02-07 12:25:15   stat_cpu2_percent 1.43 0.00 1.07 97.35 0.10 0.00 0.05
     2015-02-07 12:25:15   stat_cpu2_text  user: 1.43 %, nice: 0.00 %, sys: 1.07 %, idle: 97.35 %, io: 0.10 %, irq: 0.00 %, sirq: 0.05 %
     2015-02-07 12:25:15   stat_cpu3       9539159 299 9374144 415376833 716955 250 632946
     2015-02-07 12:25:15   stat_cpu3_diff  82 0 69 5790 22 0 1
     2015-02-07 12:25:15   stat_cpu3_percent 1.37 0.00 1.16 97.08 0.37 0.00 0.02
     2015-02-07 12:25:15   stat_cpu3_text  user: 1.37 %, nice: 0.00 %, sys: 1.16 %, idle: 97.08 %, io: 0.37 %, irq: 0.00 %, sirq: 0.02 %
     2015-02-07 12:25:15   stat_cpu_diff   315 0 249 23239 48 0 6
     2015-02-07 12:25:15   stat_cpu_percent 1.32 0.00 1.04 97.41 0.20 0.00 0.03
     2015-02-07 12:25:15   stat_cpu_text   user: 1.32 %, nice: 0.00 %, sys: 1.04 %, idle: 97.41 %, io: 0.20 %, irq: 0.00 %, sirq: 0.03 %
     2015-02-07 12:25:15   swap            Total: 517.68 MB, Used: 2.92 MB,  0.56 %, Free: 514.76 MB
     2015-02-07 12:25:15   uptime          3
     2015-02-07 12:25:15   uptime_text     0 days, 00 hours, 00 minutes
     2015-02-07 12:25:15   vdsl            not available
     2015-02-07 12:25:15   vdsl_diff       not available
     2015-02-07 12:25:15   wlan_guest_state unknown
     2015-02-07 12:25:15   wlan_state      unknown
   Helper:
     error_msg
     proc_fs    3
     sys_cpu1_freq 0
     sys_cpu_core_num 4
     sys_cpu_freq_rpi_bbb 0
     sys_cpu_num 3
     sys_cpu_temp_bbb 3
     sys_cpu_temp_rpi 3
     sys_fb     3
     sys_power_ac 3
     sys_power_bat 3
     sys_power_usb 3
     u_first_mark 1
     Cur_readings_map:
       ath0       Network adapter ath0
       ath0_diff  Network adapter ath0 (diff)
       ath0_ip    Network adapter ath0 (IP)
       ath0_ip6   Network adapter ath0 (IP6)
       ath0_rx    Network adapter ath0 (RX)
       ath0_tx    Network adapter ath0 (TX)
       ath1       Network adapter ath1
       ath1_diff  Network adapter ath1 (diff)
       ath1_ip    Network adapter ath1 (IP)
       ath1_ip6   Network adapter ath1 (IP6)
       ath1_rx    Network adapter ath1 (RX)
       ath1_tx    Network adapter ath1 (TX)
       cpmac0     Network adapter cpmac0
       cpmac0_diff Network adapter cpmac0 (diff)
       cpmac0_ip  Network adapter cpmac0 (IP)
       cpmac0_ip6 Network adapter cpmac0 (IP6)
       cpmac0_rx  Network adapter cpmac0 (RX)
       cpmac0_tx  Network adapter cpmac0 (TX)
       cpu_bogomips BogoMIPS
       cpu_temp   CPU temperature
       cpu_temp_avg Average CPU temperature
       date       Date
       dect_temp  DECT temperatur
       dsl        Network adapter dsl
       dsl_crc_15 DSL unrecoverable errors per 15 minutes
       dsl_diff   Network adapter dsl (diff)
       dsl_fec_15 DSL recoverable errors per 15 minutes
       dsl_ip     Network adapter dsl (IP)
       dsl_ip6    Network adapter dsl (IP6)
       dsl_rate   DSL rate
       dsl_rx     Network adapter dsl (RX)
       dsl_synctime DSL synctime
       dsl_tx     Network adapter dsl (TX)
       eth0       Network adapter eth0
       eth0_diff  Network adapter eth0 (diff)
       eth0_ip    Network adapter eth0 (IP)
       eth0_ip6   Network adapter eth0 (IP6)
       eth0_rx    Network adapter eth0 (RX)
       eth0_tx    Network adapter eth0 (TX)
       fhemuptime System up time
       fhemuptime_text FHEM up time
       fw_version_info firmware info
       guest      Network adapter guest
       guest_diff Network adapter guest (diff)
       guest_ip   Network adapter guest (IP)
       guest_ip6  Network adapter guest (IP6)
       guest_rx   Network adapter guest (RX)
       guest_tx   Network adapter guest (TX)
       hotspot    Network adapter hotspot
       hotspot_diff Network adapter hotspot (diff)
       hotspot_ip Network adapter hotspot (IP)
       hotspot_ip6 Network adapter hotspot (IP6)
       hotspot_rx Network adapter hotspot (RX)
       hotspot_tx Network adapter hotspot (TX)
       idletime   Idle time
       idletime_text Idle time
       internet_ip Internet IP
       internet_state Internet connection state
       io_sda     TEST
       io_sda_diff TEST
       io_sda_raw TEST
       lan        Network adapter lan
       lan_diff   Network adapter lan (diff)
       lan_ip     Network adapter lan (IP)
       lan_ip6    Network adapter lan (IP6)
       lan_rx     Network adapter lan (RX)
       lan_tx     Network adapter lan (TX)
       loadavg    Load average
       loadavg_1  Load average 1
       loadavg_15 Load average 15
       loadavg_5  Load average 5
       night_time_ctrl night time control
       num_new_messages new messages
       power_ac_stat AC-Versorgung Info
       power_ac_text AC-Versorgung Info
       power_battery_info Batterie-Versorgung  Zusatzinfo
       power_battery_stat Batterie-Versorgung Info
       power_battery_text Batterie-Versorgung  Info
       power_usb_stat USB-Versorgung Info
       power_usb_text USB-Versorgung Info
       ram        RAM
       ram_free   RAM free
       ram_free_percent RAM free %
       ram_total  RAM total
       ram_used   RAM used
       root       Filesystem /
       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 %
       uptime     System up time
       uptime_text System up time
       vdsl       Network adapter vdsl
       vdsl_diff  Network adapter vdsl (diff)
       vdsl_ip    Network adapter vdsl (IP)
       vdsl_ip6   Network adapter vdsl (IP6)
       vdsl_rx    Network adapter vdsl (RX)
       vdsl_tx    Network adapter vdsl (TX)
       wlan_guest_state WLAN Guest State
       wlan_state WLAN State
     Shadow_map:
       ath0       not available
       ath0_diff  not available
       ath1       not available
       ath1_diff  not available
       cpmac0     not available
       cpmac0_diff not available
       cpu_temp   0.00
       cpu_temp_avg 0.0
       dect_temp  3
       dsl        not available
       dsl_crc_15 down: 3 up: 3
       dsl_diff   not available
       dsl_fec_15 down: 3 up: 3
       dsl_rate   down: 3 KBit/s, up: 3 KBit/s
       dsl_synctime 00 Tage 00 Std. 00 Min. 03 Sec.
       eth0       RX: 455128.83 MB, TX: 3536149.19 MB, Total: 3991278.02 MB
       eth0_diff  RX: 1.15 MB, TX: 11.77 MB, Total: 12.92 MB
       eth0_ip    addr:192.168.178.80
       guest      not available
       guest_diff not available
       hotspot    not available
       hotspot_diff not available
       idletime   0 0.00 %
       idletime_text 0 days, 00 hours, 00 minutes (0.00 %)
       internet_ip 3
       internet_state 3
       lan        not available
       lan_diff   not available
       loadavg    3
       night_time_ctrl unknown
       num_new_messages 3
       power_ac_stat 3 3 3e-06 0.003
       power_ac_text ac: absent / offline, voltage: 3e-06 V, current: 0.003 mA, 0 W
       power_battery_info battery info: n/a , capacity: n/a %, status: n/a , health: n/a , total capacity: n/a mAh
       power_battery_stat 3 3 3e-06 0.003 0
       power_battery_text battery: absent / offline, voltage: 3e-06 V, current: 0.003 mA, 0 W, capacity: 0 %
       power_usb_stat 3 3 3e-06 0.003
       power_usb_text usb: absent / offline, voltage: 3e-06 V, current: 0.003 mA, 0 W
       ram        Total: 3000.67 MB, Used: 2221.61 MB, 74.04 %, Free: 779.06 MB
       root       Total: 0 MB, Used: 0 MB, 0 %, Available: 0 MB at / (not available)
       stat_cpu   37646444 2817 34235864 1664676014 2513566 1030 2497588
       stat_cpu0  9314610 797 7642937 416842592 605954 261 614761
       stat_cpu0_diff 33 0 30 2326 0 0 0
       stat_cpu0_percent 1.38 0.00 1.26 97.36 0.00 0.00 0.00
       stat_cpu0_text user: 1.38 %, nice: 0.00 %, sys: 1.26 %, idle: 97.36 %, io: 0.00 %, irq: 0.00 %, sirq: 0.00 %
       stat_cpu1  9661753 828 9460721 415024409 638709 268 635675
       stat_cpu1_diff 33 0 30 2324 0 0 1
       stat_cpu1_percent 1.38 0.00 1.26 97.32 0.00 0.00 0.04
       stat_cpu1_text user: 1.38 %, nice: 0.00 %, sys: 1.26 %, idle: 97.32 %, io: 0.00 %, irq: 0.00 %, sirq: 0.04 %
       stat_cpu2  9130881 891 7758028 417429876 551935 249 614204
       stat_cpu2_diff 38 0 31 2309 6 0 1
       stat_cpu2_percent 1.59 0.00 1.30 96.81 0.25 0.00 0.04
       stat_cpu2_text user: 1.59 %, nice: 0.00 %, sys: 1.30 %, idle: 96.81 %, io: 0.25 %, irq: 0.00 %, sirq: 0.04 %
       stat_cpu3  9539198 299 9374177 415379136 716967 250 632947
       stat_cpu3_diff 39 0 33 2303 12 0 1
       stat_cpu3_percent 1.63 0.00 1.38 96.44 0.50 0.00 0.04
       stat_cpu3_text user: 1.63 %, nice: 0.00 %, sys: 1.38 %, idle: 96.44 %, io: 0.50 %, irq: 0.00 %, sirq: 0.04 %
       stat_cpu_diff 143 0 123 9261 18 0 3
       stat_cpu_percent 1.50 0.00 1.29 96.99 0.19 0.00 0.03
       stat_cpu_text user: 1.50 %, nice: 0.00 %, sys: 1.29 %, idle: 96.99 %, io: 0.19 %, irq: 0.00 %, sirq: 0.03 %
       swap       Total: 517.68 MB, Used: 2.92 MB,  0.56 %, Free: 514.76 MB
       uptime     3
       uptime_text 0 days, 00 hours, 00 minutes
       vdsl       not available
       vdsl_diff  not available
       wlan_guest_state unknown
       wlan_state unknown
Attributes:
   group      Qnap
   room       Test


hier das List Qnap219P
Internals:
   DEF        Telnet:admin@192.168.178.36:13131 1 1 1 10
   HOST       192.168.178.36
   INTERVAL_BASE 60
   INTERVAL_MULTIPLIERS 1 1 1 10
   MODE       telnet
   NAME       Qnap219P
   NR         519
   PORT       13131
   STATE      Active
   TYPE       SYSMON
   USER       admin
   Readings:
     2015-02-07 12:28:18   ath0            not available
     2015-02-07 12:28:18   ath0_diff       not available
     2015-02-07 12:28:18   ath1            not available
     2015-02-07 12:28:18   ath1_diff       not available
     2015-02-07 12:28:18   cpmac0          not available
     2015-02-07 12:28:18   cpmac0_diff     not available
     2015-02-07 12:28:18   cpu_temp        0.00
     2015-02-07 12:28:18   cpu_temp_avg    0.0
     2015-02-07 12:28:18   dect_temp       3
     2015-02-07 12:28:18   dsl             not available
     2015-02-07 12:28:18   dsl_crc_15      down: 3 up: 3
     2015-02-07 12:28:18   dsl_diff        not available
     2015-02-07 12:28:18   dsl_fec_15      down: 3 up: 3
     2015-02-07 12:28:18   dsl_rate        down: 3 KBit/s, up: 3 KBit/s
     2015-02-07 12:28:18   dsl_synctime    00 Tage 00 Std. 00 Min. 03 Sec.
     2015-02-07 12:28:18   eth0            RX: 4019.32 MB, TX: 1600.35 MB, Total: 5619.67 MB
     2015-02-07 12:28:18   eth0_diff       RX: 0.12 MB, TX: 0.08 MB, Total: 0.20 MB
     2015-02-07 12:28:18   eth0_ip         addr:192.168.178.36
     2015-02-07 12:08:18   fw_version_info 3
     2015-02-07 12:28:18   guest           not available
     2015-02-07 12:28:18   guest_diff      not available
     2015-02-07 12:28:18   hotspot         not available
     2015-02-07 12:28:18   hotspot_diff    not available
     2015-02-07 12:28:18   idletime        0 0.00 %
     2015-02-07 12:28:18   idletime_text   0 days, 00 hours, 00 minutes (0.00 %)
     2015-02-07 12:28:18   internet_ip     3
     2015-02-07 12:28:18   internet_state  3
     2015-02-07 12:28:18   lan             not available
     2015-02-07 12:28:18   lan_diff        not available
     2015-02-07 12:28:18   loadavg         [~]
     2015-02-07 12:28:18   night_time_ctrl unknown
     2015-02-07 12:28:18   num_new_messages 3
     2015-02-07 12:28:18   power_ac_stat   3 3 3e-06 0.003
     2015-02-07 12:28:18   power_ac_text   ac: absent / offline, voltage: 3e-06 V, current: 0.003 mA, 0 W
     2015-02-07 12:28:18   power_battery_info battery info: n/a , capacity: n/a %, status: n/a , health: n/a , total capacity: n/a mAh
     2015-02-07 12:28:18   power_battery_stat 3 3 3e-06 0.003 0
     2015-02-07 12:28:18   power_battery_text battery: absent / offline, voltage: 3e-06 V, current: 0.003 mA, 0 W, capacity: 0 %
     2015-02-07 12:28:18   power_usb_stat  3 3 3e-06 0.003
     2015-02-07 12:28:18   power_usb_text  usb: absent / offline, voltage: 3e-06 V, current: 0.003 mA, 0 W
     2015-02-07 12:28:18   ram             Total: 503.35 MB, Used: 433.36 MB, 86.09 %, Free: 69.99 MB
     2015-02-07 12:20:18   root            Total: 0 MB, Used: 0 MB, 0 %, Available: 0 MB at / (not available)
     2015-02-07 12:06:47   stat_cpu        6112013 45 15921576 414362313 1278355 0 1638095
     2015-02-07 12:06:47   stat_cpu_diff   603 0 1310 4007 7 0 78
     2015-02-07 12:06:47   stat_cpu_percent 10.04 0.00 21.82 66.73 0.12 0.00 1.30
     2015-02-07 12:06:47   stat_cpu_text   user: 10.04 %, nice: 0.00 %, sys: 21.82 %, idle: 66.73 %, io: 0.12 %, irq: 0.00 %, sirq: 1.30 %
     2015-02-07 12:28:18   swap            Total: 517.62 MB, Used: 139.71 MB,  26.99 %, Free: 377.91 MB
     2015-02-07 12:28:18   uptime          3
     2015-02-07 12:28:18   uptime_text     0 days, 00 hours, 00 minutes
     2015-02-07 12:28:18   vdsl            not available
     2015-02-07 12:28:18   vdsl_diff       not available
     2015-02-07 12:28:18   wlan_guest_state unknown
     2015-02-07 12:28:18   wlan_state      unknown
   Helper:
     error_msg
     sys_cpu_freq_rpi_bbb 0
     sys_cpu_temp_rpi 2
     sys_fb     3
     sys_power_ac 2
     sys_power_bat 2
     sys_power_usb 2
     u_first_mark 1
     Cur_readings_map:
       ath0       Network adapter ath0
       ath0_diff  Network adapter ath0 (diff)
       ath0_ip    Network adapter ath0 (IP)
       ath0_ip6   Network adapter ath0 (IP6)
       ath0_rx    Network adapter ath0 (RX)
       ath0_tx    Network adapter ath0 (TX)
       ath1       Network adapter ath1
       ath1_diff  Network adapter ath1 (diff)
       ath1_ip    Network adapter ath1 (IP)
       ath1_ip6   Network adapter ath1 (IP6)
       ath1_rx    Network adapter ath1 (RX)
       ath1_tx    Network adapter ath1 (TX)
       cpmac0     Network adapter cpmac0
       cpmac0_diff Network adapter cpmac0 (diff)
       cpmac0_ip  Network adapter cpmac0 (IP)
       cpmac0_ip6 Network adapter cpmac0 (IP6)
       cpmac0_rx  Network adapter cpmac0 (RX)
       cpmac0_tx  Network adapter cpmac0 (TX)
       cpu_bogomips BogoMIPS
       cpu_temp   CPU temperature
       cpu_temp_avg Average CPU temperature
       date       Date
       dect_temp  DECT temperatur
       dsl        Network adapter dsl
       dsl_crc_15 DSL unrecoverable errors per 15 minutes
       dsl_diff   Network adapter dsl (diff)
       dsl_fec_15 DSL recoverable errors per 15 minutes
       dsl_ip     Network adapter dsl (IP)
       dsl_ip6    Network adapter dsl (IP6)
       dsl_rate   DSL rate
       dsl_rx     Network adapter dsl (RX)
       dsl_synctime DSL synctime
       dsl_tx     Network adapter dsl (TX)
       eth0       Network adapter eth0
       eth0_diff  Network adapter eth0 (diff)
       eth0_ip    Network adapter eth0 (IP)
       eth0_ip6   Network adapter eth0 (IP6)
       eth0_rx    Network adapter eth0 (RX)
       eth0_tx    Network adapter eth0 (TX)
       fhemuptime System up time
       fhemuptime_text FHEM up time
       fw_version_info firmware info
       guest      Network adapter guest
       guest_diff Network adapter guest (diff)
       guest_ip   Network adapter guest (IP)
       guest_ip6  Network adapter guest (IP6)
       guest_rx   Network adapter guest (RX)
       guest_tx   Network adapter guest (TX)
       hotspot    Network adapter hotspot
       hotspot_diff Network adapter hotspot (diff)
       hotspot_ip Network adapter hotspot (IP)
       hotspot_ip6 Network adapter hotspot (IP6)
       hotspot_rx Network adapter hotspot (RX)
       hotspot_tx Network adapter hotspot (TX)
       idletime   Idle time
       idletime_text Idle time
       internet_ip Internet IP
       internet_state Internet connection state
       io_sda     TEST
       io_sda_diff TEST
       io_sda_raw TEST
       lan        Network adapter lan
       lan_diff   Network adapter lan (diff)
       lan_ip     Network adapter lan (IP)
       lan_ip6    Network adapter lan (IP6)
       lan_rx     Network adapter lan (RX)
       lan_tx     Network adapter lan (TX)
       loadavg    Load average
       loadavg_1  Load average 1
       loadavg_15 Load average 15
       loadavg_5  Load average 5
       night_time_ctrl night time control
       num_new_messages new messages
       power_ac_stat AC-Versorgung Info
       power_ac_text AC-Versorgung Info
       power_battery_info Batterie-Versorgung  Zusatzinfo
       power_battery_stat Batterie-Versorgung Info
       power_battery_text Batterie-Versorgung  Info
       power_usb_stat USB-Versorgung Info
       power_usb_text USB-Versorgung Info
       ram        RAM
       ram_free   RAM free
       ram_free_percent RAM free %
       ram_total  RAM total
       ram_used   RAM used
       root       Filesystem /
       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 %
       uptime     System up time
       uptime_text System up time
       vdsl       Network adapter vdsl
       vdsl_diff  Network adapter vdsl (diff)
       vdsl_ip    Network adapter vdsl (IP)
       vdsl_ip6   Network adapter vdsl (IP6)
       vdsl_rx    Network adapter vdsl (RX)
       vdsl_tx    Network adapter vdsl (TX)
       wlan_guest_state WLAN Guest State
       wlan_state WLAN State
Attributes:
   room       Test



Das Logfile musste ich als Datei anhängen ( lies sich nicht als Code einfügen )

hexenmeister

Ja, das Problem ist klar... Die Lösung um so weniger. Die Unzulänglichkeiten des Telnet-Protokolls... Ohne direkt zu testen etwas doof.

Probiere mal die angehängte Version. Falls nicht fruchtet, dann bitte wieder einen Log.

Maintainer: MQTT_GENERIC_BRIDGE, SYSMON, SMARTMON, systemd_watchdog, MQTT, MQTT_DEVICE, MQTT_BRIDGE
Contrib: dev_proxy

Aladin222

#6
@hexenmeister,
danke , also lag es nicht an meiner Dummheit :-) Naja, schade , wäre damit wohl leichter ,snief :-)

Use of uninitialized value $output[0] in pattern match (m//) at ./FHEM/42_SYSMON.pm line 3430.
Use of uninitialized value $output[0] in pattern match (m//) at ./FHEM/42_SYSMON.pm line 3430.
Use of uninitialized value $output[0] in pattern match (m//) at ./FHEM/42_SYSMON.pm line 3430.
Use of uninitialized value $output[0] in pattern match (m//) at ./FHEM/42_SYSMON.pm line 3430.
Use of uninitialized value $output[0] in pattern match (m//) at ./FHEM/42_SYSMON.pm line 3430.
Argument "[~] " isn't numeric in int at ./FHEM/42_SYSMON.pm line 2922.
Use of uninitialized value $output[0] in pattern match (m//) at ./FHEM/42_SYSMON.pm line 3430.


Verbose 5 Logfile im Anhang

hexenmeister , da ich ja beide Qnap Systeme einbinden wollte ,noch mal eine Nachfrage , die Qnap219L hat eine ARM CPU die Qnap469L hat eine Intel CPU - macht es dies nun noch komplizierter ?

hexenmeister

Paar Fehler gefunden und korrigiert... Stochern im Neben geht weiter...

Bitte diese Version ausprobieren...

Zitat von: Aladin222 am 08 Februar 2015, 10:01:39
[...] da ich ja beide Qnap Systeme einbinden wollte ,noch mal eine Nachfrage , die Qnap219L hat eine ARM CPU die Qnap469L hat eine Intel CPU - macht es dies nun noch komplizierter ?
Eher nicht. SYSMON ist CPU an sich sehr egal. Wichtig ist, was Betriebsystem liefert. Die feinen Unterschiede machen die Sache schwiwreg.
Aber die CPU-Daten sehen ja eigentlich recht gut aus. Die größere Kiste hat einen 4-Core-Prozessor, die Kleinere hat nur 2 Kerne, richtig?

Maintainer: MQTT_GENERIC_BRIDGE, SYSMON, SMARTMON, systemd_watchdog, MQTT, MQTT_DEVICE, MQTT_BRIDGE
Contrib: dev_proxy

Aladin222

Ja stimmt 469L ist ne 4Core CPU .

Im Logfile kommt :
"my" variable $userfn masks earlier declaration in same scope at ./FHEM/42_SYSMON.pm line 1213, <> line 11.

Das List ergibt :
Internals:
   DEF        Telnet:admin@192.168.178.80:13131 1 1 1 10
   HOST       192.168.178.80
   INTERVAL_BASE 60
   INTERVAL_MULTIPLIERS 1 1 1 10
   MODE       telnet
   NAME       Qnap469L
   NR         513
   PORT       13131
   STATE      Active
   TYPE       SYSMON
   USER       admin
   Readings:
     2015-02-08 13:52:33   cpu_temp        0.00
     2015-02-08 13:52:33   cpu_temp_avg    0.0
     2015-02-08 13:52:33   dect_temp       3
     2015-02-08 13:52:33   dsl_crc_15      down: 3 up: 3
     2015-02-08 13:52:33   dsl_fec_15      down: 3 up: 3
     2015-02-08 13:52:33   dsl_rate        down: 3 KBit/s, up: 3 KBit/s
     2015-02-08 13:52:33   dsl_synctime    00 Tage 00 Std. 00 Min. 03 Sec.
     2015-02-08 13:52:33   eth0            RX: 460561.87 MB, TX: 3580761.44 MB, Total: 4041323.31 MB
     2015-02-08 13:52:33   eth0_diff       RX: 2.52 MB, TX: 24.51 MB, Total: 27.03 MB
     2015-02-08 13:52:33   eth0_ip         addr:192.168.178.80
     2015-02-08 13:50:33   fs_boot         Total: 0 MB, Used: 0 MB, 0 %, Available: 0 MB at /boot (not available)
     2015-02-08 13:50:33   fs_root         Total: 0 MB, Used: 0 MB, 0 %, Available: 0 MB at / (not available)
     2015-02-08 13:50:33   fs_usb1         Total: 0 MB, Used: 0 MB, 0 %, Available: 0 MB at /media/usb1 (not available)
     2015-02-08 13:49:33   fw_version_info 3
     2015-02-08 13:52:33   idletime        0 0.00 %
     2015-02-08 13:52:33   idletime_text   0 days, 00 hours, 00 minutes (0.00 %)
     2015-02-08 13:52:33   internet_ip     3
     2015-02-08 13:52:33   internet_state  3
     2015-02-08 13:52:33   loadavg         3
     2015-02-08 13:52:33   night_time_ctrl unknown
     2015-02-08 13:52:33   num_new_messages 3
     2015-02-08 13:52:33   power_ac_stat   3 3 3e-06 0.003
     2015-02-08 13:52:33   power_ac_text   ac: absent / offline, voltage: 3e-06 V, current: 0.003 mA, 0 W
     2015-02-08 13:52:33   power_battery_info battery info: n/a , capacity: n/a %, status: n/a , health: n/a , total capacity: n/a mAh
     2015-02-08 13:52:33   power_battery_stat 3 3 3e-06 0.003 0
     2015-02-08 13:52:33   power_battery_text battery: absent / offline, voltage: 3e-06 V, current: 0.003 mA, 0 W, capacity: 0 %
     2015-02-08 13:52:33   power_usb_stat  3 3 3e-06 0.003
     2015-02-08 13:52:33   power_usb_text  usb: absent / offline, voltage: 3e-06 V, current: 0.003 mA, 0 W
     2015-02-08 13:52:33   ram             Total: 3000.67 MB, Used: 2657.14 MB, 88.55 %, Free: 343.53 MB
     2015-02-08 13:52:33   stat_cpu        38134805 2872 34828155 1699895309 2577405 1048 2518201
     2015-02-08 13:52:33   stat_cpu0       9434772 814 7759746 425675116 621449 266 619605
     2015-02-08 13:52:33   stat_cpu0_diff  73 0 67 5832 0 0 1
     2015-02-08 13:52:33   stat_cpu0_percent 1.22 0.00 1.12 97.64 0.00 0.00 0.02
     2015-02-08 13:52:33   stat_cpu0_text  user: 1.22 %, nice: 0.00 %, sys: 1.12 %, idle: 97.64 %, io: 0.00 %, irq: 0.00 %, sirq: 0.02 %
     2015-02-08 13:52:33   stat_cpu1       9788918 843 9638481 423794730 654853 272 641120
     2015-02-08 13:52:33   stat_cpu1_diff  67 0 60 5841 4 0 1
     2015-02-08 13:52:33   stat_cpu1_percent 1.12 0.00 1.00 97.79 0.07 0.00 0.02
     2015-02-08 13:52:33   stat_cpu1_text  user: 1.12 %, nice: 0.00 %, sys: 1.00 %, idle: 97.79 %, io: 0.07 %, irq: 0.00 %, sirq: 0.02 %
     2015-02-08 13:52:33   stat_cpu2       9247854 905 7878477 426271474 565459 253 619062
     2015-02-08 13:52:33   stat_cpu2_diff  87 0 75 5796 11 0 1
     2015-02-08 13:52:33   stat_cpu2_percent 1.46 0.00 1.26 97.09 0.18 0.00 0.02
     2015-02-08 13:52:33   stat_cpu2_text  user: 1.46 %, nice: 0.00 %, sys: 1.26 %, idle: 97.09 %, io: 0.18 %, irq: 0.00 %, sirq: 0.02 %
     2015-02-08 13:52:33   stat_cpu3       9663259 308 9551449 424153987 735642 254 638412
     2015-02-08 13:52:33   stat_cpu3_diff  93 0 66 5783 29 0 2
     2015-02-08 13:52:33   stat_cpu3_percent 1.56 0.00 1.10 96.82 0.49 0.00 0.03
     2015-02-08 13:52:33   stat_cpu3_text  user: 1.56 %, nice: 0.00 %, sys: 1.10 %, idle: 96.82 %, io: 0.49 %, irq: 0.00 %, sirq: 0.03 %
     2015-02-08 13:52:33   stat_cpu_diff   320 0 269 23253 44 0 6
     2015-02-08 13:52:33   stat_cpu_percent 1.34 0.00 1.13 97.33 0.18 0.00 0.03
     2015-02-08 13:52:33   stat_cpu_text   user: 1.34 %, nice: 0.00 %, sys: 1.13 %, idle: 97.33 %, io: 0.18 %, irq: 0.00 %, sirq: 0.03 %
     2015-02-08 13:52:33   swap            Total: 517.68 MB, Used: 4.02 MB,  0.78 %, Free: 513.66 MB
     2015-02-08 13:52:33   uptime          3
     2015-02-08 13:52:33   uptime_text     0 days, 00 hours, 00 minutes
     2015-02-08 13:52:33   wlan0           not available
     2015-02-08 13:52:33   wlan0_diff      not available
     2015-02-08 13:52:33   wlan_guest_state unknown
     2015-02-08 13:52:33   wlan_state      unknown
   Helper:
     error_msg
     proc_fs    3
     sys_cpu1_freq 0
     sys_cpu_core_num 4
     sys_cpu_freq_rpi_bbb 0
     sys_cpu_num 3
     sys_cpu_temp_bbb 3
     sys_cpu_temp_rpi 3
     sys_fb     3
     sys_power_ac 3
     sys_power_bat 3
     sys_power_usb 3
     u_first_mark 1
     Cur_readings_map:
       cpu_bogomips BogoMIPS
       cpu_temp   CPU temperature
       cpu_temp_avg Average CPU temperature
       date       Date
       dect_temp  DECT temperatur
       dsl_crc_15 DSL unrecoverable errors per 15 minutes
       dsl_fec_15 DSL recoverable errors per 15 minutes
       dsl_rate   DSL rate
       dsl_synctime DSL synctime
       eth0       Ethernet
       eth0_diff  Ethernet (diff)
       eth0_ip    Ethernet (IP)
       eth0_ip6   Ethernet (IP6)
       eth0_rx    Ethernet (RX)
       eth0_tx    Ethernet (TX)
       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_root    Root
       fs_root_free Root (free)
       fs_root_used Root (used)
       fs_root_used_percent Root (used %)
       fs_usb1    USB-Stick
       fs_usb1_free USB-Stick (free)
       fs_usb1_used USB-Stick (used)
       fs_usb1_used_percent USB-Stick (used %)
       fw_version_info firmware info
       idletime   Idle time
       idletime_text Idle time
       internet_ip Internet IP
       internet_state Internet connection state
       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
       night_time_ctrl night time control
       num_new_messages new messages
       power_ac_stat AC-Versorgung Info
       power_ac_text AC-Versorgung Info
       power_battery_info Batterie-Versorgung  Zusatzinfo
       power_battery_stat Batterie-Versorgung Info
       power_battery_text Batterie-Versorgung  Info
       power_usb_stat USB-Versorgung Info
       power_usb_text USB-Versorgung Info
       ram        RAM
       ram_free   RAM free
       ram_free_percent RAM free %
       ram_total  RAM total
       ram_used   RAM used
       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 %
       uptime     System up time
       uptime_text System up time
       wlan0      WiFi
       wlan0_diff WiFi (diff)
       wlan0_ip   WiFi (IP)
       wlan0_ip6  WiFi (IP6)
       wlan0_rx   WiFi (RX)
       wlan0_tx   WiFi (TX)
       wlan_guest_state WLAN Guest State
       wlan_state WLAN State
     Shadow_map:
       cpu_temp   0.00
       cpu_temp_avg 0.0
       dect_temp  3
       dsl_crc_15 down: 3 up: 3
       dsl_fec_15 down: 3 up: 3
       dsl_rate   down: 3 KBit/s, up: 3 KBit/s
       dsl_synctime 00 Tage 00 Std. 00 Min. 03 Sec.
       eth0       RX: 460551.37 MB, TX: 3580703.49 MB, Total: 4041254.86 MB
       eth0_diff  RX: 1.13 MB, TX: 10.57 MB, Total: 11.70 MB
       eth0_ip    addr:192.168.178.80
       fs_boot    Total: 0 MB, Used: 0 MB, 0 %, Available: 0 MB at /boot (not available)
       fs_root    Total: 0 MB, Used: 0 MB, 0 %, Available: 0 MB at / (not available)
       fs_usb1    Total: 0 MB, Used: 0 MB, 0 %, Available: 0 MB at /media/usb1 (not available)
       idletime   0 0.00 %
       idletime_text 0 days, 00 hours, 00 minutes (0.00 %)
       internet_ip 3
       internet_state 3
       loadavg    3
       night_time_ctrl unknown
       num_new_messages 3
       power_ac_stat 3 3 3e-06 0.003
       power_ac_text ac: absent / offline, voltage: 3e-06 V, current: 0.003 mA, 0 W
       power_battery_info battery info: n/a , capacity: n/a %, status: n/a , health: n/a , total capacity: n/a mAh
       power_battery_stat 3 3 3e-06 0.003 0
       power_battery_text battery: absent / offline, voltage: 3e-06 V, current: 0.003 mA, 0 W, capacity: 0 %
       power_usb_stat 3 3 3e-06 0.003
       power_usb_text usb: absent / offline, voltage: 3e-06 V, current: 0.003 mA, 0 W
       ram        Total: 3000.67 MB, Used: 2657.22 MB, 88.55 %, Free: 343.45 MB
       stat_cpu   38133927 2872 34826678 1699843695 2577309 1048 2518149
       stat_cpu0  9434574 814 7759484 425662080 621429 266 619593
       stat_cpu0_diff 41 0 32 4290 24 0 1
       stat_cpu0_percent 0.93 0.00 0.73 97.77 0.55 0.00 0.02
       stat_cpu0_text user: 0.93 %, nice: 0.00 %, sys: 0.73 %, idle: 97.77 %, io: 0.55 %, irq: 0.00 %, sirq: 0.02 %
       stat_cpu1  9788704 843 9638004 423781920 654832 272 641106
       stat_cpu1_diff 40 0 41 4311 0 0 1
       stat_cpu1_percent 0.91 0.00 0.93 98.13 0.00 0.00 0.02
       stat_cpu1_text user: 0.91 %, nice: 0.00 %, sys: 0.93 %, idle: 98.13 %, io: 0.00 %, irq: 0.00 %, sirq: 0.02 %
       stat_cpu2  9247631 905 7878217 426258459 565445 253 619050
       stat_cpu2_diff 43 0 40 4299 10 0 0
       stat_cpu2_percent 0.98 0.00 0.91 97.88 0.23 0.00 0.00
       stat_cpu2_text user: 0.98 %, nice: 0.00 %, sys: 0.91 %, idle: 97.88 %, io: 0.23 %, irq: 0.00 %, sirq: 0.00 %
       stat_cpu3  9663016 308 9550971 424141235 735602 254 638398
       stat_cpu3_diff 39 0 42 4311 0 0 1
       stat_cpu3_percent 0.89 0.00 0.96 98.13 0.00 0.00 0.02
       stat_cpu3_text user: 0.89 %, nice: 0.00 %, sys: 0.96 %, idle: 98.13 %, io: 0.00 %, irq: 0.00 %, sirq: 0.02 %
       stat_cpu_diff 163 0 155 17210 34 0 4
       stat_cpu_percent 0.93 0.00 0.88 97.97 0.19 0.00 0.02
       stat_cpu_text user: 0.93 %, nice: 0.00 %, sys: 0.88 %, idle: 97.97 %, io: 0.19 %, irq: 0.00 %, sirq: 0.02 %
       swap       Total: 517.68 MB, Used: 4.02 MB,  0.78 %, Free: 513.66 MB
       uptime     3
       uptime_text 0 days, 00 hours, 00 minutes
       wlan0      not available
       wlan0_diff not available
       wlan_guest_state unknown
       wlan_state unknown
Attributes:
   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_usb1:/media/usb1:USB-Stick
   group      Qnap
   network-interfaces eth0:eth0:Ethernet,wlan0:wlan0:WiFi
   room       Test


Das Verbose 5 Logfile im Anhang

hexenmeister

Arrghhh! Das System ist schon sehr anders, sogar die Logdateien sind "andersherum" ???

Probiere mal die neue Version. Hoffe, dass zumindest die Erkennung von FritzBox etc. damit geht. Übringens reload 42_SYSMON reicht hier nicht aus. Die Erkennung des Modells funktioniert nur beim ersten Start oder Define. Also entweder FHEM neustarten oder nach dem Reload SYSMOM-Device löschen/neudefinieren. Ich würde das Ergebnis der Erkennung auch gerne in Log sehen.

Maintainer: MQTT_GENERIC_BRIDGE, SYSMON, SMARTMON, systemd_watchdog, MQTT, MQTT_DEVICE, MQTT_BRIDGE
Contrib: dev_proxy

Aladin222

hmmm, sieht übel aus ?

Fhem neustart gemacht, hier das komplette Log 

hexenmeister

mir gehen langsam die ideen aus :(
Ich sehe im Log keine Testabfrage nach System. Hier ist eine Version mit einem neuen Versuch und zusätzlichen Log-Ausgaben.
Nach dem reload 42_SYSMON bitte statt neustart set <sysmonname> reset und dann get <sysmonname> update
Dann log und list. Ich hoffe, da sehe ich mehr ...
Maintainer: MQTT_GENERIC_BRIDGE, SYSMON, SMARTMON, systemd_watchdog, MQTT, MQTT_DEVICE, MQTT_BRIDGE
Contrib: dev_proxy

Aladin222

hmmm, da fehlt nun ne neue Version 42sysmon , oder verstehe ich dich nun komplett falsch ? :-)

hexenmeister

Du hast recht, das passiert, wenn man mehrere sachen gleichzeitig tut ;)
Maintainer: MQTT_GENERIC_BRIDGE, SYSMON, SMARTMON, systemd_watchdog, MQTT, MQTT_DEVICE, MQTT_BRIDGE
Contrib: dev_proxy

Aladin222

wow.... das logfite wurde nun aber extrem lang !
Um sicher zu gehen hab ich das Logfile komplett neu schreiben lassen - kommt wirklich so viel !