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 %
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?
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 ?
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. ;)
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 )
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.
@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 ?
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?
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
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.
hmmm, sieht übel aus ?
Fhem neustart gemacht, hier das komplette Log
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 ...
hmmm, da fehlt nun ne neue Version 42sysmon , oder verstehe ich dich nun komplett falsch ? :-)
Du hast recht, das passiert, wenn man mehrere sachen gleichzeitig tut ;)
wow.... das logfite wurde nun aber extrem lang !
Um sicher zu gehen hab ich das Logfile komplett neu schreiben lassen - kommt wirklich so viel !
wie sehen die Readings aus? Das meiste müsste bereits vernünftig aussehen.
Leider liefern Befehle für Speicher/Netztwerk/HDD Daten in einer anderen Form, so dass das nicht erkannt wird. Ich sehe mir das noch an.
Bitte noch list auf Device posten.
jep...das sieht schon gut aus ;D
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 19:15:17 cpu_temp 49.00
2015-02-08 19:15:17 cpu_temp_avg 49.2
2015-02-08 19:15:17 eth0 unexpected format
2015-02-08 19:15:17 eth0_diff unexpected format
2015-02-08 19:14:18 eth0_ip addr:192.168.178.80
2015-02-08 19:10:18 fs_boot Total: 0 MB, Used: 0 MB, 0 %, Available: 0 MB at /boot (not available)
2015-02-08 19:10:18 fs_root Total: 0 MB, Used: 0 MB, 0 %, Available: 0 MB at / (not available)
2015-02-08 19:10:18 fs_usb1 Total: 0 MB, Used: 0 MB, 0 %, Available: 0 MB at /media/usb1 (not available)
2015-02-08 19:15:17 idletime 17220896 47.81 %
2015-02-08 19:15:17 idletime_text 199 days, 07 hours, 34 minutes (47.81 %)
2015-02-08 19:15:17 loadavg 0.07 0.13 0.13
2015-02-08 19:15:17 ram n/a
2015-02-08 19:15:17 stat_cpu 38229916 2890 34950862 1707355000 2591154 1051 2522207
2015-02-08 19:15:17 stat_cpu0 9458543 819 7784007 427545600 624596 268 620551
2015-02-08 19:15:17 stat_cpu0_diff 49 0 52 5852 2 0 1
2015-02-08 19:15:17 stat_cpu0_percent 0.82 0.00 0.87 98.25 0.03 0.00 0.02
2015-02-08 19:15:17 stat_cpu0_text user: 0.82 %, nice: 0.00 %, sys: 0.87 %, idle: 98.25 %, io: 0.03 %, irq: 0.00 %, sirq: 0.02 %
2015-02-08 19:15:17 stat_cpu1 9813842 849 9675922 425651403 658779 273 642190
2015-02-08 19:15:17 stat_cpu1_diff 55 0 42 5861 5 0 1
2015-02-08 19:15:17 stat_cpu1_percent 0.92 0.00 0.70 98.27 0.08 0.00 0.02
2015-02-08 19:15:17 stat_cpu1_text user: 0.92 %, nice: 0.00 %, sys: 0.70 %, idle: 98.27 %, io: 0.08 %, irq: 0.00 %, sirq: 0.02 %
2015-02-08 19:15:17 stat_cpu2 9270308 911 7902691 428145883 567478 254 619990
2015-02-08 19:15:17 stat_cpu2_diff 68 0 56 5817 8 0 2
2015-02-08 19:15:17 stat_cpu2_percent 1.14 0.00 0.94 97.75 0.13 0.00 0.03
2015-02-08 19:15:17 stat_cpu2_text user: 1.14 %, nice: 0.00 %, sys: 0.94 %, idle: 97.75 %, io: 0.13 %, irq: 0.00 %, sirq: 0.03 %
2015-02-08 19:15:17 stat_cpu3 9687222 309 9588241 426012112 740299 255 639475
2015-02-08 19:15:17 stat_cpu3_diff 74 0 56 5806 22 0 1
2015-02-08 19:15:17 stat_cpu3_percent 1.24 0.00 0.94 97.43 0.37 0.00 0.02
2015-02-08 19:15:17 stat_cpu3_text user: 1.24 %, nice: 0.00 %, sys: 0.94 %, idle: 97.43 %, io: 0.37 %, irq: 0.00 %, sirq: 0.02 %
2015-02-08 19:15:17 stat_cpu_diff 246 0 206 23336 37 0 5
2015-02-08 19:15:17 stat_cpu_percent 1.03 0.00 0.86 97.93 0.16 0.00 0.02
2015-02-08 19:15:17 stat_cpu_text user: 1.03 %, nice: 0.00 %, sys: 0.86 %, idle: 97.93 %, io: 0.16 %, irq: 0.00 %, sirq: 0.02 %
2015-02-08 19:15:17 swap n/a
2015-02-08 19:15:17 uptime 4502714
2015-02-08 19:15:17 uptime_text 52 days, 02 hours, 45 minutes
2015-02-08 19:15:17 wlan0 RX: 461562.44 MB, TX: 3588080.66 MB, Total: 4049643.1 MB
2015-02-08 19:15:17 wlan0_diff RX: 461562.44 MB, TX: 3588080.66 MB, Total: 4049643.10 MB
2015-02-08 19:15:17 wlan0_ip addr:192.168.178.80
Helper:
error_msg
proc_fs 1
sys_cpu1_freq 0
sys_cpu_core_num 8
sys_cpu_freq_rpi_bbb 0
sys_cpu_num 1
sys_cpu_temp_bbb 1
sys_cpu_temp_rpi 0
sys_fb 0
sys_power_ac 0
sys_power_bat 0
sys_power_usb 0
u_first_mark 1
Cur_readings_map:
cpu_bogomips BogoMIPS
cpu_temp CPU temperature
cpu_temp_avg Average CPU temperature
date Date
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 %)
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
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)
Shadow_map:
cpu_temp 49.00
cpu_temp_avg 49.2
eth0 RX: 461559.98 MB, TX: 3588054.62 MB, Total: 4049614.6 MB
eth0_diff RX: 0.57 MB, TX: 9.18 MB, Total: 9.75 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 17220625 47.81 %
idletime_text 199 days, 07 hours, 30 minutes (47.81 %)
loadavg 0.08 0.14 0.14
ram Total: 3000.67 MB, Used: 2658.21 MB, 88.59 %, Free: 342.45 MB
stat_cpu 38229636 2890 34950621 1707328112 2591111 1051 2522201
stat_cpu0 9458487 819 7783945 427538857 624594 268 620550
stat_cpu0_diff 20 0 24 4994 6 0 1
stat_cpu0_percent 0.40 0.00 0.48 98.99 0.12 0.00 0.02
stat_cpu0_text user: 0.40 %, nice: 0.00 %, sys: 0.48 %, idle: 98.99 %, io: 0.12 %, irq: 0.00 %, sirq: 0.02 %
stat_cpu1 9813779 849 9675873 425644656 658769 273 642189
stat_cpu1_diff 21 0 17 5005 3 0 0
stat_cpu1_percent 0.42 0.00 0.34 99.19 0.06 0.00 0.00
stat_cpu1_text user: 0.42 %, nice: 0.00 %, sys: 0.34 %, idle: 99.19 %, io: 0.06 %, irq: 0.00 %, sirq: 0.00 %
stat_cpu2 9270232 911 7902626 428139176 567470 254 619988
stat_cpu2_diff 26 0 19 4985 6 0 1
stat_cpu2_percent 0.52 0.00 0.38 98.97 0.12 0.00 0.02
stat_cpu2_text user: 0.52 %, nice: 0.00 %, sys: 0.38 %, idle: 98.97 %, io: 0.12 %, irq: 0.00 %, sirq: 0.02 %
stat_cpu3 9687137 309 9588175 426005422 740277 255 639473
stat_cpu3_diff 29 0 27 4962 25 0 1
stat_cpu3_percent 0.57 0.00 0.54 98.37 0.50 0.00 0.02
stat_cpu3_text user: 0.57 %, nice: 0.00 %, sys: 0.54 %, idle: 98.37 %, io: 0.50 %, irq: 0.00 %, sirq: 0.02 %
stat_cpu_diff 95 0 88 19945 39 0 2
stat_cpu_percent 0.47 0.00 0.44 98.89 0.19 0.00 0.01
stat_cpu_text user: 0.47 %, nice: 0.00 %, sys: 0.44 %, idle: 98.89 %, io: 0.19 %, irq: 0.00 %, sirq: 0.01 %
swap Total: 517.68 MB, Used: 4.02 MB, 0.78 %, Free: 513.66 MB
uptime 4502645
uptime_text 52 days, 02 hours, 44 minutes
wlan0 not available
wlan0_diff not available
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
verbose 5
Es fehlen noch also eth0, ram, swap und die HDD Infos. Das dürfte noch zu kriegen sein. :)
btw. Deine filesystems Attribute sind zwar für Raspberry sinnvoll, aber sicher nicht für Deinen Fall ;)
hmmm , ja HDD wäre super !
Nur leider raffe ich schon die ganze Zeit nicht wirklich was du da zauberst ;) stolpere nur hinter her ,grins .
Aber es sieht,bis jetzt, doch schon prima aus *freu
Date: 08.02.2015 19:54:49
CPU temperature: 49.00 °C
System up time: 52 days, 03 hours, 24 minutes
Load average: 0.06 0.13 0.14
RAM: Total: 3000.67 MB, Used: 2658.37 MB, 88.59 %, Free: 342.30 MB
swap: Total: 517.68 MB, Used: 4.02 MB, 0.78 %, Free: 513.66 MB
Ethernet: RX: 461687.49 MB, TX: 3589230.45 MB, Total: 4050917.94 MB
readings
cpu_temp
49.00
2015-02-08 19:52:18
cpu_temp_avg
49.2
2015-02-08 19:52:18
eth0
unexpected format
2015-02-08 19:52:18
eth0_diff
unexpected format
2015-02-08 19:52:18
eth0_ip
addr:192.168.178.80
2015-02-08 19:50:18
fs_boot
Total: 0 MB, Used: 0 MB, 0 %, Available: 0 MB at /boot (not available)
2015-02-08 19:50:18
fs_root
Total: 0 MB, Used: 0 MB, 0 %, Available: 0 MB at / (not available)
2015-02-08 19:50:18
fs_usb1
Total: 0 MB, Used: 0 MB, 0 %, Available: 0 MB at /media/usb1 (not available)
2015-02-08 19:50:18
idletime
17229507 47.81 %
2015-02-08 19:52:18
idletime_text
199 days, 09 hours, 58 minutes (47.81 %)
2015-02-08 19:52:18
loadavg
0.19 0.19 0.16
2015-02-08 19:52:18
ram
n/a
2015-02-08 19:52:18
stat_cpu
38241245 2890 34964251 1708210020 2592685 1052 2522659
2015-02-08 19:52:18
stat_cpu0
9461383 820 7786733 427759773 625016 268 620665
2015-02-08 19:52:18
stat_cpu0_diff
87 0 59 5798 14 0 2
2015-02-08 19:52:18
stat_cpu0_percent
1.46 0.00 0.99 97.28 0.23 0.00 0.03
2015-02-08 19:52:18
stat_cpu0_text
user: 1.46 %, nice: 0.00 %, sys: 0.99 %, idle: 97.28 %, io: 0.23 %, irq: 0.00 %, sirq: 0.03 %
2015-02-08 19:52:18
stat_cpu1
9816878 849 9679985 425864219 659193 273 642310
2015-02-08 19:52:18
stat_cpu1_diff
91 0 68 5799 4 0 2
2015-02-08 19:52:18
stat_cpu1_percent
1.53 0.00 1.14 97.23 0.07 0.00 0.03
2015-02-08 19:52:18
stat_cpu1_text
user: 1.53 %, nice: 0.00 %, sys: 1.14 %, idle: 97.23 %, io: 0.07 %, irq: 0.00 %, sirq: 0.03 %
2015-02-08 19:52:18
stat_cpu2
9272930 911 7905418 428360699 567669 254 620090
2015-02-08 19:52:18
stat_cpu2_diff
73 0 67 5827 0 0 2
2015-02-08 19:52:18
stat_cpu2_percent
1.22 0.00 1.12 97.62 0.00 0.00 0.03
2015-02-08 19:52:18
stat_cpu2_text
user: 1.22 %, nice: 0.00 %, sys: 1.12 %, idle: 97.62 %, io: 0.00 %, irq: 0.00 %, sirq: 0.03 %
2015-02-08 19:52:18
stat_cpu3
9690051 309 9592114 426225328 740806 255 639594
2015-02-08 19:52:18
stat_cpu3_diff
68 0 62 5816 15 0 2
2015-02-08 19:52:18
stat_cpu3_percent
1.14 0.00 1.04 97.53 0.25 0.00 0.03
2015-02-08 19:52:18
stat_cpu3_text
user: 1.14 %, nice: 0.00 %, sys: 1.04 %, idle: 97.53 %, io: 0.25 %, irq: 0.00 %, sirq: 0.03 %
2015-02-08 19:52:18
stat_cpu_diff
320 0 256 23240 32 0 6
2015-02-08 19:52:18
stat_cpu_percent
1.34 0.00 1.07 97.43 0.13 0.00 0.03
2015-02-08 19:52:18
stat_cpu_text
user: 1.34 %, nice: 0.00 %, sys: 1.07 %, idle: 97.43 %, io: 0.13 %, irq: 0.00 %, sirq: 0.03 %
2015-02-08 19:52:18
swap
n/a
2015-02-08 19:52:18
uptime
4504934
2015-02-08 19:52:18
uptime_text
52 days, 03 hours, 22 minutes
2015-02-08 19:52:18
wlan0
RX: 461681.86 MB, TX: 3589175.91 MB, Total: 4050857.77 MB
2015-02-08 19:52:18
wlan0_diff
RX: 2.78 MB, TX: 27.15 MB, Total: 29.93 MB
2015-02-08 19:52:18
wlan0_ip
addr:192.168.178.80
Oh? Geht nur HDD nicht? Laum dem letzten Log waren RAM/SWAP/Ethernet auch noch Mist.
Kannst Du mal einen aktuellen Log posten?
Muss nicht neugestertet werden, get <name> update reicht.
ja verstehe das auch nicht das Log sieht komisch aus , aber in den readings ist cpu Temperatur und ram usw vorhanden ?!
Fast alles sieht gut aus. Nur nicht HDD. Kannst Du mal probieren, was passiert, wenn man auf der Console Deiner QNAP folgendes ausführt:
df
df / -m
SYSMON nutz derzeit df <mountpath> -m
Laut Log liefert das nur ein Header. Damit SYSMON etwas sinnvolles dazu anzeigt, brauche ich einen auf QNAP funktionierendes Befehl für die Anzeige von Festplattenplatz.
Grüße,
Alexander
Guten Abend
Habe mal auf meinem 419P nach geschaut. Hier die Ergebnisse.
[~] # df
Filesystem Size Used Available Use% Mounted on
/dev/ramdisk 32.9M 17.0M 15.9M 52% /
tmpfs 64.0M 476.0k 63.5M 1% /tmp
/dev/sda4 371.0M 333.3M 37.7M 90% /mnt/ext
/dev/md9 509.5M 133.7M 375.8M 26% /mnt/HDA_ROOT
/dev/md0 2.7T 1.3T 1.4T 49% /share/MD0_DATA
[~] # df / -m
Filesystem 1M-blocks Used Available Use% Mounted on
[~] #
Gruss
Brause
OK.
Klappt auch mit
df /dev/md0
Wenn auch folgendes geht
df /dev/md0 -m
Dann kannst Du ja bereits jetzt filesystem-Attribut passend erstellen. Dann müsste SYSMON damit klarkommen.
Da kommen dann diese Antworten.
Connecting to 192.168.6.250 port 23, please wait...
[~] # df /dev/md0
Filesystem Size Used Available Use% Mounted on
/dev/md0 2.7T 1.3T 1.4T 49% /share/MD0_DATA
[~] # df /dev/md0 -m
Filesystem 1M-blocks Used Available Use% Mounted on
/dev/md0 2815177 1375733 1438932 49% /share/MD0_DATA
[~] #
Danke!
Damit müsste SYSMON komplett mit QNAP klarkommen.
Kann jemand die filesystem Attribute entsprechend setzen und probieren ob die Readings auch im SYSMON korrekt aussehen?
Edit: Nach der Bestätigung werde ich die Testversion ins 'offizielle' Repository einchecken.
Guten Morgen :-)
Also bei mir sieht es etwas anders aus ( Qnap469L 4HDD ) :
df
Filesystem Size Used Available Use% Mounted on
/dev/ram0 151.1M 134.7M 16.4M 89% /
devtmpfs 1.5G 4.0k 1.5G 0% /dev
tmpfs 64.0M 5.6M 58.4M 9% /tmp
tmpfs 1.5G 4.0k 1.5G 0% /dev/shm
/dev/md9 509.5M 140.9M 368.6M 28% /mnt/HDA_ROOT
/dev/sda3 1.8T 35.2G 1.8T 2% /share/50014EE6ADD00AAA_DATA
/dev/sdb3 1.8T 668.1G 1.2T 36% /share/50014EE603258C67_DATA
/dev/sdc3 1.8T 204.6G 1.6T 11% /share/50014EE6ADD00097_DATA
/dev/sdd3 1.8T 152.4G 1.7T 8% /share/50014EE6ADD0182C_DATA
/dev/md13 371.0M 298.1M 72.9M 80% /mnt/ext
tmpfs 32.0M 32.0M 0 100% /.eaccelerator.tmp
df / -m
Filesystem 1M-blocks Used Available Use% Mounted on
Somit funktioniert bei mir df /dev/md0 natürlich nicht :-(
Aber z.B. df /dev/sda3
Filesystem Size Used Available Use% Mounted on
/dev/sda3 1.8T 35.2G 1.8T 2% /share/50014EE6ADD00AAA_DATA
Bei der Qnap219P ( 2 HDD )
sieht es ähnlich aus :
df
Filesystem Size Used Available Use% Mounted on
/dev/ram0 32.9M 16.1M 16.8M 49% /
tmpfs 64.0M 648.0k 63.4M 1% /tmp
/dev/sda4 371.0M 334.6M 36.4M 90% /mnt/ext
/dev/md9 509.5M 143.0M 366.5M 28% /mnt/HDA_ROOT
/dev/sda3 1.8T 790.6G 1.0T 43% /share/HDA_DATA
/dev/sdb3 1.8T 886.4G 945.4G 48% /share/HDB_DATA
tmpfs 32.0M 12.0k 32.0M 0% /.eaccelerator.tmp
Es gibt also keine "Zusammenfassung". Wäre natürlich schöner Gesamt-HDD-Speicher zu monitoren. Aber gut, Du musst halt die Partitionen einzeln eintragen. Schon ausprobiert?
Aehm....*schaem , sorry :-\
Wo und Wie trage ich die Partitionen ein ...?
s. Commandref:
Zitat
Attributes:
filesystems <reading name>[:<mountpoint>[:<comment>]],...
Gibt die zu überwachende Dateisysteme an. Es wird eine kommaseparierte Liste erwartet.
Reading-Name wird bei der Anzeige und Logging verwendet, Mount-Point ist die Grundlage der Auswertung, Kommentar ist relevant für die HTML-Anzeige (s. SYSMON_ShowValuesHTML)
Beispiel: /boot,/,/media/usb1
oder: fs_boot:/boot,fs_root:/:Root,fs_usb1:/media/usb1:USB-Stick
Im Sinne der besseren Übersicht sollten zumindest Name und MountPoint angegeben werden.
für Deinen Fall umgemünzt:
attr <name> filesystems fs_sda3:/dev/sda3:Platte1,fs_sdb3:/dev/sdb3:Platte2,fs_sdc3:/dev/sdc3:Platte3,fs_sdd3:/dev/sdd3:Platte4
Also für mich funktioniert das so. :)
Date: 09.02.2015 12:25:48
BogoMIPS: 1196.85
System up time: 8 days, 16 hours, 23 minutes
Load average: 4.05 3.58 3.43
RAM: Total: 503.35 MB, Used: 454.44 MB, 90.28 %, Free: 48.91 MB
swap: Total: 517.70 MB, Used: 262.86 MB, 50.77 %, Free: 254.84 MB
Festplatte: Total: 2815177 MB, Used: 1375756 MB, 49 %, Available: 1438908 MB at /share/MD0_DATA
wäre für mich soweit OK, im Log gibt es bei mir auch keine Fehlermeldungen.
Hallo zusammen,
ich betreibe auch ein QNAP NAS 419p+. Wenn ich das Modul definiere, siehts noch gut aus. Ich bekomme allerdings keine Daten ausgelesen die Werte sind alle Null:
eth0 unexpected format 2015-02-09 17:08:19
eth0_diff unexpected format 2015-02-09 17:08:19
loadavg 2015-02-09 17:08:19
ram n/a 2015-02-09 17:08:19
root Total: 0 MB, Used: 0 MB, 0 %, Available: 0 MB at / (not available) 2015-02-09 17:08:19
swap n/a 2015-02-09 17:08:19
uptime 0 2015-02-09 17:08:19
uptime_text 0 days, 00 hours, 00 minutes 2015-02-09 17:08:19
wlan0 unexpected format 2015-02-09 17:08:19
wlan0_diff unexpected format 2015-02-09 17:08:19
Wenn ich mich selbst auf dem NAS anmelde kommt nach der Anmeldung diese Meldung:
sh: pts/0: No such file or directory
reset: unknown terminal type unknown
Terminal type?
Ist das eine Einstellungssache bei mir, und wenn ja, mass muss ich da einstellen?
Im Log stehen auch shr viele Daten...
Danke und Gruß
Bernd
PS: Tolle Module !!!
Da ist irgendwas mit deiner Anmeldung nicht in Ordnung.
Wenn die Anmeldung nicht funktioniert, kann SYSMON nichts auslesen. Da mir QNAP gänzlich unbekannt ist, kann ich hier leider nicht weiterhelfen.
P.S. Kurze Google-Anfrage liefert z.B. http://www.cyrius.com/debian/orion/qnap/ts-209/remote-login/
@hexenmeister ,
vielen Dank ! Teste es direkt morgen früh aus :-)
@hexenmeister ,
so ich wollte nochmal Rückmeldung geben ;D
Bekomme die HDD´s so nicht eingebunden ! Allerdings funktioniert es ,wenn ich den Mountpoint direkt eingebe :
attr Qnap469L filesystems fs_sda3:/share/50014EE6ADD00AAA_DATA:Platte1,fs_sdb3:/share/50014EE603258C67_DATA:Platte2,fs_sdc3:/share/50014EE6ADD00097_DATA:Platte3,fs_sdd3:/share/50014EE6ADD0182C_DATA:Platte4
Das verstehe ich aber nicht , da im Terminal die Abfrage zu Platte 1 mit
/dev/sda3 funktioniert :
/dev/sda3 1.8T 35.2G 1.8T 2% /share/50014EE6ADD00AAA_DATA
Im Logfile kommen noch folgende Einträge :
2015.02.10 09:31:34 1: PERL WARNING: Use of uninitialized value $la15 in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 1514.
2015.02.10 09:31:34 1: PERL WARNING: Use of uninitialized value $la5 in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 1514.
2015.02.10 09:31:34 1: PERL WARNING: Use of uninitialized value $la1 in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 1514.
2015.02.10 09:31:34 1: PERL WARNING: Use of uninitialized value in split at ./FHEM/42_SYSMON.pm line 1512.
2015.02.10 09:31:34 1: PERL WARNING: Use of uninitialized value $string in substitution (s///) at ./FHEM/99_Utils.pm line 132.
2015.02.10 09:31:34 1: PERL WARNING: Use of uninitialized value $string in substitution (s///) at ./FHEM/99_Utils.pm line 131.
2015.02.10 09:30:48 1: PERL WARNING: Use of uninitialized value in string ne at fhem.pl line 3725.
Die Einträge zu 99_Utils.pm haben wohl nix damit zu tun ? Aber kamen mit dem letzten oder vorletzten Update :-(
hier noch das Logfile Verbose 5
2015.02.10 09:43:58 5: SMARTMON Qnap469L: SYSMON_updateReadings.923
2015.02.10 09:43:58 5: SMARTMON Qnap469L: SYSMON_blockingFinish.904 name|Qnap469L|fs_sdd3|Total: 1891179 MB, Used: 156007 MB, 8 %, Available: 1734659 MB at /share/50014EE6ADD0182C_DATA|stat_cpu3_percent|1.03 0.00 0.86 98.08 0.00 0.00 0.03|eth0|RX: 471093.90 MB, TX: 3662586.70 MB, Total: 4133680.6 MB|stat_cpu0_text|user: 1.37 %, nice: 0.00 %, sys: 1.17 %, idle: 97.43 %, io: 0.00 %, irq: 0.00 %, sirq: 0.03 %|swap|Total: 517.68 MB, Used: 4.45 MB, 0.86 %, Free: 513.23 MB|uptime|4641234|cpu_temp_avg|46.8|stat_cpu1_percent|1.41 0.00 0.89 97.67 0.00 0.00 0.03|cpu_temp|48.00|stat_cpu|39094261 3474 35950930 1760380158 2657871 1073 2558423|stat_cpu3_diff|30 0 25 2866 0 0 1|stat_cpu1_text|user: 1.41 %, nice: 0.00 %, sys: 0.89 %, idle: 97.67 %, io: 0.00 %, irq: 0.00 %, sirq: 0.03 %|stat_cpu_diff|138 0 112 11421 0 0 3|stat_cpu2_diff|27 0 28 2863 0 0 1|stat_cpu2|9477631 1132 8110063 441462227 579105 261 628524|eth0_ip|addr:192.168.178.80|fs_sdb3|Total: 1891179 MB, Used: 684135 MB, 36 %, Available: 1206532 MB at /share/50014EE603258C67_DATA|stat_cpu_percent|1.18 0.00 0.96 97.83 0.00 0.00 0.03|ram|Total: 3000.67 MB, Used: 2532.20 MB, 84.39 %, Free: 468.46 MB|stat_cpu3|9906078 330 9881570 439225040 761948 260 649012|stat_cpu0_percent|1.37 0.00 1.17 97.43 0.00 0.00 0.03|stat_cpu3_text|user: 1.03 %, nice: 0.00 %, sys: 0.86 %, idle: 98.08 %, io: 0.00 %, irq: 0.00 %, sirq: 0.03 %|eth0_diff|RX: 1.06 MB, TX: 10.96 MB, Total: 12.02 MB|uptime_text|53 days, 17 hours, 13 minutes|idletime_text|205 days, 11 hours, 58 minutes (47.82 %)|stat_cpu1|10038509 1042 9972013 438851930 676032 278 651713|stat_cpu1_diff|41 0 26 2850 0 0 1|stat_cpu0|9672042 968 7987283 440840959 640785 273 629173|wlan0_diff|not available|stat_cpu_text|user: 1.18 %, nice: 0.00 %, sys: 0.96 %, idle: 97.83 %, io: 0.00 %, irq: 0.00 %, sirq: 0.03 %|fs_sda3|Total: 1891179 MB, Used: 36045 MB, 2 %, Available: 1854622 MB at /share/50014EE6ADD00AAA_DATA|wlan0|not available|stat_cpu0_diff|40 0 34 2842 0 0 1|idletime|17755093 47.82 %|loadavg|0.14 0.13 0.14|stat_cpu2_percent|0.92 0.00 0.96 98.08 0.00 0.00 0.03|stat_cpu2_text|user: 0.92 %, nice: 0.00 %, sys: 0.96 %, idle: 98.08 %, io: 0.00 %, irq: 0.00 %, sirq: 0.03 %|fs_sdc3|Total: 1891179 MB, Used: 209537 MB, 11 %, Available: 1681130 MB at /share/50014EE6ADD00097_DATA
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Close_Connection.3483 Close Telnet connection
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_obtainParameters.999 Qnap469L: Close shared telnet connection
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_getFileSystemInfo.2251 use line /dev/sdd3 1891179 156007 1734659 8% /share/50014EE6ADD0182C_DATA
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_getFileSystemInfo.2245 pattern (/share/50014EE6ADD0182C_DATA) found
for /share/50014EE6ADD0182C_DATA
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_getFileSystemInfo.2236 analyse line /dev/sdd3 1891179 156007 1734659 8% /share/50014EE6ADD0182C_DATA
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_getFileSystemInfo.2217 recieved line0 Filesystem 1M-blocks Used Available Use% Mounted on
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_getFileSystemInfo.2200 recieved 2 lines
'
'
'/dev/sdd3 1891179 156007 1734659 8% /share/50014EE6ADD0182C_DATA
'
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Exec.3539 Result A: ''Filesystem 1M-blocks Used Available Use% Mounted on
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Exec_Remote.3601 Execute 'df /share/50014EE6ADD0182C_DATA -m 2>/dev/null'
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_getFileSystemInfo.2195 exec df /share/50014EE6ADD0182C_DATA -m 2>/dev/null
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_getFileSystemInfo.2184 get fs_sdd3:/share/50014EE6ADD0182C_DATA:Platte4
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_getFileSystemInfo.2251 use line /dev/sdc3 1891179 209537 1681130 11% /share/50014EE6ADD00097_DATA
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_getFileSystemInfo.2245 pattern (/share/50014EE6ADD00097_DATA) found
for /share/50014EE6ADD00097_DATA
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_getFileSystemInfo.2236 analyse line /dev/sdc3 1891179 209537 1681130 11% /share/50014EE6ADD00097_DATA
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_getFileSystemInfo.2217 recieved line0 Filesystem 1M-blocks Used Available Use% Mounted on
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_getFileSystemInfo.2200 recieved 2 lines
'
'
'/dev/sdc3 1891179 209537 1681130 11% /share/50014EE6ADD00097_DATA
'
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Exec.3539 Result A: ''Filesystem 1M-blocks Used Available Use% Mounted on
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Exec_Remote.3601 Execute 'df /share/50014EE6ADD00097_DATA -m 2>/dev/null'
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_getFileSystemInfo.2195 exec df /share/50014EE6ADD00097_DATA -m 2>/dev/null
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_getFileSystemInfo.2184 get fs_sdc3:/share/50014EE6ADD00097_DATA:Platte3
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_getFileSystemInfo.2251 use line /dev/sdb3 1891179 684135 1206532 36% /share/50014EE603258C67_DATA
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_getFileSystemInfo.2245 pattern (/share/50014EE603258C67_DATA) found
for /share/50014EE603258C67_DATA
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_getFileSystemInfo.2236 analyse line /dev/sdb3 1891179 684135 1206532 36% /share/50014EE603258C67_DATA
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_getFileSystemInfo.2217 recieved line0 Filesystem 1M-blocks Used Available Use% Mounted on
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_getFileSystemInfo.2200 recieved 2 lines
'
'
'/dev/sdb3 1891179 684135 1206532 36% /share/50014EE603258C67_DATA
'
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Exec.3539 Result A: ''Filesystem 1M-blocks Used Available Use% Mounted on
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Exec_Remote.3601 Execute 'df /share/50014EE603258C67_DATA -m 2>/dev/null'
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_getFileSystemInfo.2195 exec df /share/50014EE603258C67_DATA -m 2>/dev/null
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_getFileSystemInfo.2184 get fs_sdb3:/share/50014EE603258C67_DATA:Platte2
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_getFileSystemInfo.2251 use line /dev/sda3 1891179 36045 1854622 2% /share/50014EE6ADD00AAA_DATA
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_getFileSystemInfo.2245 pattern (/share/50014EE6ADD00AAA_DATA) found
for /share/50014EE6ADD00AAA_DATA
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_getFileSystemInfo.2236 analyse line /dev/sda3 1891179 36045 1854622 2% /share/50014EE6ADD00AAA_DATA
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_getFileSystemInfo.2217 recieved line0 Filesystem 1M-blocks Used Available Use% Mounted on
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_getFileSystemInfo.2200 recieved 2 lines
'
'
'/dev/sda3 1891179 36045 1854622 2% /share/50014EE6ADD00AAA_DATA
'
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Exec.3539 Result A: ''Filesystem 1M-blocks Used Available Use% Mounted on
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Exec_Remote.3601 Execute 'df /share/50014EE6ADD00AAA_DATA -m 2>/dev/null'
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_getFileSystemInfo.2195 exec df /share/50014EE6ADD00AAA_DATA -m 2>/dev/null
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_getFileSystemInfo.2184 get fs_sda3:/share/50014EE6ADD00AAA_DATA:Platte1
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_getNetworkInfo.2294 SYSMON_getNetworkInfo>>>>>>>>>>>>>>>>'ifconfig: wlan0: error fetching interface information: Device not found'
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Exec.3546 Result L: 'ifconfig: wlan0: error fetching interface information: Device not found'
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Exec_Remote.3601 Execute 'ifconfig wlan0 2>&1'
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_getNetworkInfo.2282 get wlan0:wlan0:WiFi
'
' Interrupt:16 Memory:c0100000-c0120000
'
' RX bytes:493977759503 (460.0 GiB) TX bytes:3840500514348 (3.4 TiB)
'
' collisions:0 txqueuelen:1000
'
' TX packets:3740512616 errors:0 dropped:0 overruns:0 carrier:0
'
' RX packets:2883062170 errors:8 dropped:271144 overruns:0 frame:8
'
' UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
'
' inet addr:192.168.178.80 Bcast:192.168.178.255 Mask:255.255.255.0
'
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_getNetworkInfo.2294 SYSMON_getNetworkInfo>>>>>>>>>>>>>>>>'eth0 Link encap:Ethernet HWaddr 00:08:9B:D3:8D:9E
'
'
' Interrupt:16 Memory:c0100000-c0120000
'
' RX bytes:493977759503 (460.0 GiB) TX bytes:3840500514348 (3.4 TiB)
'
' collisions:0 txqueuelen:1000
'
' TX packets:3740512616 errors:0 dropped:0 overruns:0 carrier:0
'
' RX packets:2883062170 errors:8 dropped:271144 overruns:0 frame:8
'
' UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
'
' inet addr:192.168.178.80 Bcast:192.168.178.255 Mask:255.255.255.0
'
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Exec.3539 Result A: ''eth0 Link encap:Ethernet HWaddr 00:08:9B:D3:8D:9E
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Exec_Remote.3601 Execute 'ifconfig eth0 2>&1'
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_getNetworkInfo.2282 get eth0:eth0:Ethernet
'
'
'Total: 3602792 2887564 715228
'
' Swap: 530108 4556 525552
'
' Mem: 3072684 2883008 189676 0 290032
'
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Exec.3539 Result A: '' total used free shared buffers
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Exec_Remote.3601 Execute 'free'
'
'
'softirq 14379399660 0 631720633 1504088931 2866172353 4896966 0 1 1949426928 4653384 3123473168
'
'procs_blocked 0
'
'procs_running 1
'
'processes 34721588
'
'btime 1418916920
'
'ctxt 9089305625
'
'intr 13520621071 123 0 0 14 0 0 0 0 0 0 0 59938 0 0 0 0 94106892 0 94646251 82611276 0 0 0 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 5003071 1 0 2320550 0 2 2860374368 1503839430 4 29 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
'
'cpu3 9906078 330 9881570 439225040 761948 260 649012 0 0 0
'
'cpu2 9477631 1132 8110063 441462227 579105 261 628524 0 0 0
'
'cpu1 10038509 1042 9972013 438851930 676032 278 651713 0 0 0
'
'cpu0 9672042 968 7987283 440840959 640785 273 629173 0 0 0
'
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Exec.3539 Result A: ''cpu 39094261 3474 35950930 1760380158 2657871 1073 2558423 0 0 0
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Exec_Remote.3601 Execute 'cat /proc/stat'
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Exec.3546 Result L: '0.14 0.13 0.14 1/320 9997'
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Exec_Remote.3601 Execute 'cat /proc/loadavg'
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Exec.3546 Result L: '0'
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Exec_Remote.3601 Execute '[ -f /sys/devices/system/cpu/cpu1/cpufreq/scaling_cur_freq ] && echo 1 || echo 0'
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Exec.3546 Result L: '48000'
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Exec_Remote.3601 Execute 'cat /sys/class/hwmon/hwmon0/device/temp1_input 2>&1'
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Exec.3546 Result L: '7'
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Exec_Remote.3601 Execute 'cat /sys/devices/system/cpu/kernel_max'
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Exec.3546 Result L: '1'
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Exec_Remote.3601 Execute '[ -f /sys/devices/system/cpu/kernel_max ] && echo 1 || echo 0'
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Exec.3546 Result L: '4641234.04 17755093.98'
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Exec_Remote.3601 Execute 'cat /proc/uptime'
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Exec.3546 Result L: '1'
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Exec_Remote.3601 Execute '[ -d /proc/ ] && echo 1 || echo 0'
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Exec_Remote.3601 Execute ''
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Open_Connection.3434 Wait for command prompt
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Open_Connection.3431 Entering password
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Open_Connection.3416 Wait for password prompt
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Open_Connection.3413 Entering user name
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Open_Connection.3394 Wait for user or password prompt.
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Open_Connection.3380 Open Telnet connection to 192.168.178.80:13131
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_readPassword.3286 Read password from file
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_obtainParameters.979 Qnap469L: Open shared telnet connection
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_blockingCall.817 Qnap469L, 1
2015.02.10 09:43:57 5: SMARTMON Qnap469L: SYSMON_Get.582 Qnap469L update
Zitat von: Aladin222 am 10 Februar 2015, 09:45:14
Allerdings funktioniert es ,wenn ich den Mountpoint direkt eingebe :
Wenns so funktioniert, ist doch auch OK ;)
Warnungen werde ich in der nächsten Version unterdrücken.
Ja klar ! Funktioniert bestens !
Alles gut ,also sind die Warnungen nur kosmetischer Natur ?
Prima - danke das Du dich so reingehängt hast ;-)
Zitat von: Aladin222 am 10 Februar 2015, 11:25:37
Alles gut ,also sind die Warnungen nur kosmetischer Natur ?
Anscheinen machchmal beantworten Dein System /proc/uptime nicht. Ich habe nicht ganz verstanden warum. Ich vermute, das passiert nur beim ersten mal. Danach kommen dann doch die Werte. Ich habe eine Abfrage eingebaut, so dass ungültige (leere) Antworten ignoriert werden.
Habe ein QNAP 419P.
Kann mir bitte mal jmd beispielhaft sein "define" mitteilen, damit ich das auf die Reihe bekomme?
Was muss dann noch auf dem QNAP eingerichtet werden? TelNet aktivieren ist alles? Geht das über die GUI oder wirds umständlicher?
Besten Dank schon mal!
Du must darauf achten, dass du den Port mit angibst. Bei der QNAP standard glaube ich 13131, siehst du aber auf der QNAP dort, wo du auch Telnet aktivierst.
Gruß
Klaus
Beispiel
define Qnap219P SYSMON Telnet:admin@192.168.178.36:13131 1 1 1 10
Huhu,
jetzt geht's auch bei mir. Die TERM-Variable war nicht gesetzt (TERM=linux). Mit einem Eintrag im Profil war die Fehlermeldung nach der Anmeldung passe und FHEM/SYSMON liefert etwas - schön :)
Nochmals ein Dankeschön
Gruß
Bernd
Zitat von: Aladin222 am 10 Februar 2015, 19:13:02
Beispiel
define Qnap219P SYSMON Telnet:admin@192.168.178.36:13131 1 1 1 10
Besten Dank, das hilft mir weiter! Werde berichten, wenn ich es hinbekommen habe!
Das klappt schon :D
Denke daran ,dass du das Passwort für den Telnetzugang über fhem setzen musst !
Also nach dem define in Fhem !
Gefundene Qnap anklicken und dann dort über set Passwort ...
Huhu,
jetzt läuft alles gut. Mir ist nun aber aufgefallen, dass die NAS-Festplatten nicht mehr in den Ruhezustand gehen - zumindest suggeriert das die Energieanzeige. Ich habe den M4 Parameter schon auf einen großen Wert eingestellt (360=6h), denoch gehen die Platten nicht in einen sparsameren Modus. Kann man das noch irgendwo einstellen? Ohne SYSMON zeigt mir die Energieanzeige ein regelmäßiges abschalten der Platten an, mit SYSMON habe ich eine fast konstanten, aber höheren Verbrauch.
Oder werden die Platten bei jedem Telnet-Zugriff aktiviert? Könnte man dann nicht generell das Abfrage-Intervall vergrößern. Im Moment wird minütlich eine Telnet-Verbindung aufgebaut.
Gruß
Bernd
Telnet alleine glaube ich nicht, aber SYSMOB setzt eine Reihe von Befehlen ab. Es kann schon sein, dass einige davon die HDD 'wecken'. Da kenne ich mich jedoch nicht gut genug aus. Wenn man weiß, welche genau, dann können wir gezielt versuchen, etwas dagegen zu unternehmen.
Da kenne ich mich leider auch nicht aus - vielleicht finde ich ja irgendwo Hinweise. Dann melde ich mich wieder. Ansonsten vielen Dank für das informative Modul :)
Gruß
Bernd
Hallo!
Habe mein QNAP 419P nun auch eingebunden! Allerdings habe ich das gleiche Problem wie Aladin222.
Die Readings werden nicht mit sinnvollen Werten befüllt!
Was muss ich da tun?
Internals:
DEF Telnet:admin@192.168.188.21:13131 1 1 1 10
HOST 192.168.188.21
INTERVAL_BASE 60
INTERVAL_MULTIPLIERS 1 1 1 10
MODE telnet
NAME Qnap419P
NR 938
PORT 13131
STATE Active
TYPE SYSMON
USER admin
Readings:
2015-02-15 19:09:42 eth0 unexpected format
2015-02-15 19:09:42 eth0_diff unexpected format
2015-02-15 19:09:42 loadavg
2015-02-15 19:09:42 ram n/a
2015-02-15 19:09:42 swap n/a
2015-02-15 19:09:42 uptime 0
2015-02-15 19:09:42 uptime_text 0 days, 00 hours, 00 minutes
2015-02-15 19:09:42 wlan0 unexpected format
2015-02-15 19:09:42 wlan0_diff unexpected format
Helper:
error_msg
proc_fs 0
sys_cpu1_freq 0
sys_cpu_freq_rpi_bbb 0
sys_cpu_temp_bbb 0
sys_cpu_temp_rpi 0
sys_fb 0
sys_power_ac 0
sys_power_bat 0
sys_power_usb 0
u_first_mark 1
Cur_readings_map:
cpu_bogomips BogoMIPS
date Date
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
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
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 Network adapter wlan0
wlan0_diff Network adapter wlan0 (diff)
wlan0_ip Network adapter wlan0 (IP)
wlan0_ip6 Network adapter wlan0 (IP6)
wlan0_rx Network adapter wlan0 (RX)
wlan0_tx Network adapter wlan0 (TX)
Shadow_map:
eth0 unexpected format
eth0_diff unexpected format
loadavg
ram n/a
swap n/a
uptime 0
uptime_text 0 days, 00 hours, 00 minutes
wlan0 unexpected format
wlan0_diff unexpected format
Besten Dank schonmal!!
PS: Passwort habe ich natürlich gesetzt!
2015.02.15 19:30:30.213 5: SMARTMON Qnap419P: SYSMON_Set.664 Qnap419P ?
2015.02.15 19:30:30.216 5: SMARTMON Qnap419P: SYSMON_Get.582 Qnap419P ?
2015.02.15 19:30:44.976 5: SMARTMON Qnap419P: SYSMON_blockingCall.817 Qnap419P,
2015.02.15 19:30:44.979 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'uptime'
2015.02.15 19:30:44.983 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:30:44.989 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'free'
2015.02.15 19:30:44.991 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:30:44.994 5: SMARTMON Qnap419P: SYSMON_getNetworkInfo.2284 get eth0
2015.02.15 19:30:44.996 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'ifconfig eth0 2>&1'
2015.02.15 19:30:44.998 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:30:45.001 5: SMARTMON Qnap419P: SYSMON_getNetworkInfo.2296 SYSMON_getNetworkInfo>>>>>>>>>>>>>>>>$VAR1 = undef;
2015.02.15 19:30:45.004 5: SMARTMON Qnap419P: SYSMON_getNetworkInfo.2284 get wlan0
2015.02.15 19:30:45.005 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'ifconfig wlan0 2>&1'
2015.02.15 19:30:45.007 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:30:45.009 5: SMARTMON Qnap419P: SYSMON_getNetworkInfo.2296 SYSMON_getNetworkInfo>>>>>>>>>>>>>>>>$VAR1 = undef;
2015.02.15 19:30:45.012 5: SMARTMON Qnap419P: SYSMON_getFileSystemInfo.2186 get fs_sda3:/dev/sda3:Platte1
2015.02.15 19:30:45.014 5: SMARTMON Qnap419P: SYSMON_getFileSystemInfo.2197 exec df /dev/sda3 -m 2>/dev/null
2015.02.15 19:30:45.015 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'df /dev/sda3 -m 2>/dev/null'
2015.02.15 19:30:45.017 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:30:45.018 5: SMARTMON Qnap419P: SYSMON_getFileSystemInfo.2202 recieved 1 lines
2015.02.15 19:30:45.019 5: SMARTMON Qnap419P: SYSMON_getFileSystemInfo.2222 recieved empty line
2015.02.15 19:30:45.020 5: SMARTMON Qnap419P: SYSMON_getFileSystemInfo.2186 get fs_sdb3:/dev/sdb3:Platte2
2015.02.15 19:30:45.021 5: SMARTMON Qnap419P: SYSMON_getFileSystemInfo.2197 exec df /dev/sdb3 -m 2>/dev/null
2015.02.15 19:30:45.022 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'df /dev/sdb3 -m 2>/dev/null'
2015.02.15 19:30:45.024 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:30:45.025 5: SMARTMON Qnap419P: SYSMON_getFileSystemInfo.2202 recieved 1 lines
2015.02.15 19:30:45.026 5: SMARTMON Qnap419P: SYSMON_getFileSystemInfo.2222 recieved empty line
2015.02.15 19:30:45.027 5: SMARTMON Qnap419P: SYSMON_getFileSystemInfo.2186 get fs_sdc3:/dev/sdc3:Platte3
2015.02.15 19:30:45.028 5: SMARTMON Qnap419P: SYSMON_getFileSystemInfo.2197 exec df /dev/sdc3 -m 2>/dev/null
2015.02.15 19:30:45.029 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'df /dev/sdc3 -m 2>/dev/null'
2015.02.15 19:30:45.032 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:30:45.033 5: SMARTMON Qnap419P: SYSMON_getFileSystemInfo.2202 recieved 1 lines
2015.02.15 19:30:45.034 5: SMARTMON Qnap419P: SYSMON_getFileSystemInfo.2222 recieved empty line
2015.02.15 19:30:45.035 5: SMARTMON Qnap419P: SYSMON_getFileSystemInfo.2186 get fs_sdd3:/dev/sdd3:Platte4
2015.02.15 19:30:45.036 5: SMARTMON Qnap419P: SYSMON_getFileSystemInfo.2197 exec df /dev/sdd3 -m 2>/dev/null
2015.02.15 19:30:45.037 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'df /dev/sdd3 -m 2>/dev/null'
2015.02.15 19:30:45.039 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:30:45.040 5: SMARTMON Qnap419P: SYSMON_getFileSystemInfo.2202 recieved 1 lines
2015.02.15 19:30:45.041 5: SMARTMON Qnap419P: SYSMON_getFileSystemInfo.2222 recieved empty line
2015.02.15 19:30:45.083 5: SMARTMON Qnap419P: SYSMON_blockingFinish.904 name|Qnap419P|wlan0_diff|unexpected format|fs_sdd3|Total: 0 MB, Used: 0 MB, 0 %, Available: 0 MB at /dev/sdd3 (not available)|fs_sda3|Total: 0 MB, Used: 0 MB, 0 %, Available: 0 MB at /dev/sda3 (not available)|wlan0|unexpected format|eth0_diff|unexpected format|eth0|unexpected format|uptime_text|0 days, 00 hours, 00 minutes|fs_sdb3|Total: 0 MB, Used: 0 MB, 0 %, Available: 0 MB at /dev/sdb3 (not available)|loadavg| |uptime|0|swap|n/a|fs_sdc3|Total: 0 MB, Used: 0 MB, 0 %, Available: 0 MB at /dev/sdc3 (not available)|ram|n/a
2015.02.15 19:30:45.084 5: SMARTMON Qnap419P: SYSMON_updateReadings.923
2015.02.15 19:30:45.174 5: SMARTMON Qnap419P: SYSMON_Set.664 Qnap419P ?
2015.02.15 19:30:50.191 5: SMARTMON Qnap419P: SYSMON_Set.664 Qnap419P ?
2015.02.15 19:30:50.194 5: SMARTMON Qnap419P: SYSMON_Get.582 Qnap419P ?
2015.02.15 19:31:44.991 5: SMARTMON Qnap419P: SYSMON_blockingCall.817 Qnap419P,
2015.02.15 19:31:44.995 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'uptime'
2015.02.15 19:31:44.999 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:31:45.006 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'free'
2015.02.15 19:31:45.008 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:31:45.013 5: SMARTMON Qnap419P: SYSMON_getNetworkInfo.2284 get eth0
2015.02.15 19:31:45.014 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'ifconfig eth0 2>&1'
2015.02.15 19:31:45.017 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:31:45.020 5: SMARTMON Qnap419P: SYSMON_getNetworkInfo.2296 SYSMON_getNetworkInfo>>>>>>>>>>>>>>>>$VAR1 = undef;
2015.02.15 19:31:45.023 5: SMARTMON Qnap419P: SYSMON_getNetworkInfo.2284 get wlan0
2015.02.15 19:31:45.025 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'ifconfig wlan0 2>&1'
2015.02.15 19:31:45.027 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:31:45.029 5: SMARTMON Qnap419P: SYSMON_getNetworkInfo.2296 SYSMON_getNetworkInfo>>>>>>>>>>>>>>>>$VAR1 = undef;
2015.02.15 19:31:45.073 5: SMARTMON Qnap419P: SYSMON_blockingFinish.904 name|Qnap419P|wlan0_diff|unexpected format|wlan0|unexpected format|eth0_diff|unexpected format|eth0|unexpected format|uptime_text|0 days, 00 hours, 00 minutes|loadavg| |uptime|0|swap|n/a|ram|n/a
2015.02.15 19:31:45.075 5: SMARTMON Qnap419P: SYSMON_updateReadings.923
2015.02.15 19:32:28.228 5: SMARTMON Qnap419P: SYSMON_Set.664 Qnap419P ?
2015.02.15 19:32:28.231 5: SMARTMON Qnap419P: SYSMON_Get.582 Qnap419P ?
2015.02.15 19:32:37.133 5: SMARTMON Qnap419P: SYSMON_Attr.725 filesystems
2015.02.15 19:32:37.502 5: SMARTMON Qnap419P: SYSMON_Set.664 Qnap419P ?
2015.02.15 19:32:37.504 5: SMARTMON Qnap419P: SYSMON_Get.582 Qnap419P ?
2015.02.15 19:32:49.827 5: SMARTMON Qnap419P: SYSMON_blockingCall.817 Qnap419P,
2015.02.15 19:32:49.830 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'uptime'
2015.02.15 19:32:49.834 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:32:49.850 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'free'
2015.02.15 19:32:49.852 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:32:49.866 5: SMARTMON Qnap419P: SYSMON_getNetworkInfo.2284 get eth0
2015.02.15 19:32:49.867 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'ifconfig eth0 2>&1'
2015.02.15 19:32:49.869 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:32:49.872 5: SMARTMON Qnap419P: SYSMON_getNetworkInfo.2296 SYSMON_getNetworkInfo>>>>>>>>>>>>>>>>$VAR1 = undef;
2015.02.15 19:32:49.886 5: SMARTMON Qnap419P: SYSMON_getNetworkInfo.2284 get wlan0
2015.02.15 19:32:49.887 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'ifconfig wlan0 2>&1'
2015.02.15 19:32:49.889 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:32:49.891 5: SMARTMON Qnap419P: SYSMON_getNetworkInfo.2296 SYSMON_getNetworkInfo>>>>>>>>>>>>>>>>$VAR1 = undef;
2015.02.15 19:32:50.454 5: SMARTMON Qnap419P: SYSMON_blockingFinish.904 name|Qnap419P|wlan0_diff|unexpected format|wlan0|unexpected format|eth0_diff|unexpected format|eth0|unexpected format|uptime_text|0 days, 00 hours, 00 minutes|loadavg| |uptime|0|swap|n/a|ram|n/a
2015.02.15 19:32:50.456 5: SMARTMON Qnap419P: SYSMON_updateReadings.923
2015.02.15 19:32:50.527 5: SMARTMON Qnap419P: SYSMON_Set.664 Qnap419P ?
2015.02.15 19:32:53.147 5: SMARTMON Qnap419P: SYSMON_Get.582 Qnap419P list
2015.02.15 19:32:53.149 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'uptime'
2015.02.15 19:32:53.151 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:32:53.155 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'free'
2015.02.15 19:32:53.157 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:32:53.161 5: SMARTMON Qnap419P: SYSMON_getNetworkInfo.2284 get eth0
2015.02.15 19:32:53.162 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'ifconfig eth0 2>&1'
2015.02.15 19:32:53.164 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:32:53.166 5: SMARTMON Qnap419P: SYSMON_getNetworkInfo.2296 SYSMON_getNetworkInfo>>>>>>>>>>>>>>>>$VAR1 = undef;
2015.02.15 19:32:53.169 5: SMARTMON Qnap419P: SYSMON_getNetworkInfo.2284 get wlan0
2015.02.15 19:32:53.170 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'ifconfig wlan0 2>&1'
2015.02.15 19:32:53.172 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:32:53.173 5: SMARTMON Qnap419P: SYSMON_getNetworkInfo.2296 SYSMON_getNetworkInfo>>>>>>>>>>>>>>>>$VAR1 = undef;
2015.02.15 19:32:53.177 5: SMARTMON Qnap419P: SYSMON_getFileSystemInfo.2186 get root:/
2015.02.15 19:32:53.178 5: SMARTMON Qnap419P: SYSMON_getFileSystemInfo.2197 exec df / -m 2>/dev/null
2015.02.15 19:32:53.179 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'df / -m 2>/dev/null'
2015.02.15 19:32:53.181 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:32:53.182 5: SMARTMON Qnap419P: SYSMON_getFileSystemInfo.2202 recieved 1 lines
2015.02.15 19:32:53.183 5: SMARTMON Qnap419P: SYSMON_getFileSystemInfo.2222 recieved empty line
2015.02.15 19:32:55.906 5: SMARTMON Qnap419P: SYSMON_Set.664 Qnap419P ?
2015.02.15 19:32:57.873 5: SMARTMON Qnap419P: SYSMON_Set.664 Qnap419P clean
2015.02.15 19:32:58.178 5: SMARTMON Qnap419P: SYSMON_Set.664 Qnap419P ?
2015.02.15 19:32:58.181 5: SMARTMON Qnap419P: SYSMON_Get.582 Qnap419P ?
2015.02.15 19:32:58.686 5: SMARTMON Qnap419P: SYSMON_Set.664 Qnap419P ?
2015.02.15 19:33:07.658 5: SMARTMON Qnap419P: SYSMON_Set.664 Qnap419P clear
2015.02.15 19:33:10.926 5: SMARTMON Qnap419P: SYSMON_Set.664 Qnap419P ?
2015.02.15 19:33:14.631 5: SMARTMON Qnap419P: SYSMON_Get.582 Qnap419P update
2015.02.15 19:33:14.707 5: SMARTMON Qnap419P: SYSMON_blockingCall.817 Qnap419P, 1
2015.02.15 19:33:14.711 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'uptime'
2015.02.15 19:33:14.725 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:33:14.732 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'free'
2015.02.15 19:33:14.734 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:33:14.749 5: SMARTMON Qnap419P: SYSMON_getNetworkInfo.2284 get eth0
2015.02.15 19:33:14.750 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'ifconfig eth0 2>&1'
2015.02.15 19:33:14.752 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:33:14.766 5: SMARTMON Qnap419P: SYSMON_getNetworkInfo.2296 SYSMON_getNetworkInfo>>>>>>>>>>>>>>>>$VAR1 = undef;
2015.02.15 19:33:14.769 5: SMARTMON Qnap419P: SYSMON_getNetworkInfo.2284 get wlan0
2015.02.15 19:33:14.771 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'ifconfig wlan0 2>&1'
2015.02.15 19:33:14.773 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:33:14.775 5: SMARTMON Qnap419P: SYSMON_getNetworkInfo.2296 SYSMON_getNetworkInfo>>>>>>>>>>>>>>>>$VAR1 = undef;
2015.02.15 19:33:14.789 5: SMARTMON Qnap419P: SYSMON_getFileSystemInfo.2186 get root:/
2015.02.15 19:33:14.790 5: SMARTMON Qnap419P: SYSMON_getFileSystemInfo.2197 exec df / -m 2>/dev/null
2015.02.15 19:33:14.791 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'df / -m 2>/dev/null'
2015.02.15 19:33:14.794 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:33:14.795 5: SMARTMON Qnap419P: SYSMON_getFileSystemInfo.2202 recieved 1 lines
2015.02.15 19:33:14.806 5: SMARTMON Qnap419P: SYSMON_getFileSystemInfo.2222 recieved empty line
2015.02.15 19:33:15.052 5: SMARTMON Qnap419P: SYSMON_Set.664 Qnap419P ?
2015.02.15 19:33:15.055 5: SMARTMON Qnap419P: SYSMON_Get.582 Qnap419P ?
2015.02.15 19:33:15.246 5: SMARTMON Qnap419P: SYSMON_blockingFinish.904 name|Qnap419P|wlan0_diff|unexpected format|wlan0|unexpected format|eth0_diff|unexpected format|eth0|unexpected format|uptime_text|0 days, 00 hours, 00 minutes|loadavg| |uptime|0|swap|n/a|root|Total: 0 MB, Used: 0 MB, 0 %, Available: 0 MB at / (not available)|ram|n/a
2015.02.15 19:33:15.247 5: SMARTMON Qnap419P: SYSMON_updateReadings.923
2015.02.15 19:33:15.813 5: SMARTMON Qnap419P: SYSMON_Set.664 Qnap419P ?
2015.02.15 19:34:14.699 5: SMARTMON Qnap419P: SYSMON_blockingCall.817 Qnap419P,
2015.02.15 19:34:14.702 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'uptime'
2015.02.15 19:34:14.707 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:34:14.714 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'free'
2015.02.15 19:34:14.717 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:34:14.721 5: SMARTMON Qnap419P: SYSMON_getNetworkInfo.2284 get eth0
2015.02.15 19:34:14.722 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'ifconfig eth0 2>&1'
2015.02.15 19:34:14.725 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:34:14.728 5: SMARTMON Qnap419P: SYSMON_getNetworkInfo.2296 SYSMON_getNetworkInfo>>>>>>>>>>>>>>>>$VAR1 = undef;
2015.02.15 19:34:14.732 5: SMARTMON Qnap419P: SYSMON_getNetworkInfo.2284 get wlan0
2015.02.15 19:34:14.733 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'ifconfig wlan0 2>&1'
2015.02.15 19:34:14.736 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:34:14.737 5: SMARTMON Qnap419P: SYSMON_getNetworkInfo.2296 SYSMON_getNetworkInfo>>>>>>>>>>>>>>>>$VAR1 = undef;
2015.02.15 19:34:14.784 5: SMARTMON Qnap419P: SYSMON_blockingFinish.904 name|Qnap419P|wlan0_diff|unexpected format|wlan0|unexpected format|eth0_diff|unexpected format|eth0|unexpected format|uptime_text|0 days, 00 hours, 00 minutes|loadavg| |uptime|0|swap|n/a|ram|n/a
2015.02.15 19:34:14.785 5: SMARTMON Qnap419P: SYSMON_updateReadings.923
2015.02.15 19:34:29.600 5: SMARTMON Qnap419P: SYSMON_Set.664 Qnap419P ?
2015.02.15 19:34:29.603 5: SMARTMON Qnap419P: SYSMON_Get.582 Qnap419P ?
2015.02.15 19:34:52.712 5: SMARTMON Qnap419P: SYSMON_Get.582 Qnap419P version
2015.02.15 19:35:01.232 5: SMARTMON Qnap419P: SYSMON_Get.582 Qnap419P list
2015.02.15 19:35:01.234 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'uptime'
2015.02.15 19:35:01.237 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:35:01.241 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'free'
2015.02.15 19:35:01.244 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:35:01.247 5: SMARTMON Qnap419P: SYSMON_getNetworkInfo.2284 get eth0
2015.02.15 19:35:01.249 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'ifconfig eth0 2>&1'
2015.02.15 19:35:01.251 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:35:01.253 5: SMARTMON Qnap419P: SYSMON_getNetworkInfo.2296 SYSMON_getNetworkInfo>>>>>>>>>>>>>>>>$VAR1 = undef;
2015.02.15 19:35:01.256 5: SMARTMON Qnap419P: SYSMON_getNetworkInfo.2284 get wlan0
2015.02.15 19:35:01.258 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'ifconfig wlan0 2>&1'
2015.02.15 19:35:01.260 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:35:01.264 5: SMARTMON Qnap419P: SYSMON_getNetworkInfo.2296 SYSMON_getNetworkInfo>>>>>>>>>>>>>>>>$VAR1 = undef;
2015.02.15 19:35:01.267 5: SMARTMON Qnap419P: SYSMON_getFileSystemInfo.2186 get root:/
2015.02.15 19:35:01.268 5: SMARTMON Qnap419P: SYSMON_getFileSystemInfo.2197 exec df / -m 2>/dev/null
2015.02.15 19:35:01.269 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'df / -m 2>/dev/null'
2015.02.15 19:35:01.272 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:35:01.273 5: SMARTMON Qnap419P: SYSMON_getFileSystemInfo.2202 recieved 1 lines
2015.02.15 19:35:01.274 5: SMARTMON Qnap419P: SYSMON_getFileSystemInfo.2222 recieved empty line
2015.02.15 19:35:15.651 5: SMARTMON Qnap419P: SYSMON_blockingCall.817 Qnap419P,
2015.02.15 19:35:15.655 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'uptime'
2015.02.15 19:35:15.669 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:35:15.686 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'free'
2015.02.15 19:35:15.688 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:35:15.692 5: SMARTMON Qnap419P: SYSMON_getNetworkInfo.2284 get eth0
2015.02.15 19:35:15.693 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'ifconfig eth0 2>&1'
2015.02.15 19:35:15.695 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:35:15.708 5: SMARTMON Qnap419P: SYSMON_getNetworkInfo.2296 SYSMON_getNetworkInfo>>>>>>>>>>>>>>>>$VAR1 = undef;
2015.02.15 19:35:15.712 5: SMARTMON Qnap419P: SYSMON_getNetworkInfo.2284 get wlan0
2015.02.15 19:35:15.713 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3603 Execute 'ifconfig wlan0 2>&1'
2015.02.15 19:35:15.715 5: SMARTMON Qnap419P: SYSMON_Exec.3550 Result undef
2015.02.15 19:35:15.727 5: SMARTMON Qnap419P: SYSMON_getNetworkInfo.2296 SYSMON_getNetworkInfo>>>>>>>>>>>>>>>>$VAR1 = undef;
2015.02.15 19:35:16.948 5: SMARTMON Qnap419P: SYSMON_blockingFinish.904 name|Qnap419P|wlan0_diff|unexpected format|wlan0|unexpected format|eth0_diff|unexpected format|eth0|unexpected format|uptime_text|0 days, 00 hours, 00 minutes|loadavg| |uptime|0|swap|n/a|ram|n/a
2015.02.15 19:35:16.949 5: SMARTMON Qnap419P: SYSMON_updateReadings.923
Aus Deinem Log werde ich nicht schlau. Da fehlt offensichtlich was, ich sehe überhaupt keine Meldungen über Telnet-Login oder disconnect ???
Auch auffällig, dass außer Level 5 keinen anderen Meldungen vorhanden sind.
So wie es aussieht, werden die Befehle von der Box einfach ignoriert. Probiere bitte die angehängte Version aus, besser wird es nicht, aber (hoffentlich) mehr Log.
Ahhhhh, mit der neuen Version siehts schon besser aus:
Internals:
CFGFN
DEF Telnet:admin@192.168.188.21:13131 1 1 1 10
HOST 192.168.188.21
INTERVAL_BASE 60
INTERVAL_MULTIPLIERS 1 1 1 10
MODE telnet
NAME Qnap419P
NR 1452
PORT 13131
STATE Active
TYPE SYSMON
USER admin
Readings:
2015-02-15 21:17:10 cpu_bogomips 1196.85
2015-02-15 21:18:21 eth0 RX: 3286.77 MB, TX: 2582.80 MB, Total: 5869.57 MB
2015-02-15 21:18:21 eth0_diff RX: 0.02 MB, TX: 0.01 MB, Total: 0.03 MB
2015-02-15 21:18:21 idletime 1756044 96.53 %
2015-02-15 21:18:21 idletime_text 20 days, 07 hours, 47 minutes (96.53 %)
2015-02-15 21:18:21 loadavg 1.80 2.56 2.74
2015-02-15 21:18:21 ram Total: 503.42 MB, Used: 417.86 MB, 83.00 %, Free: 85.56 MB
2015-02-15 21:17:20 root Total: 0 MB, Used: 0 MB, 0 %, Available: 0 MB at / (not available)
2015-02-15 21:18:21 stat_cpu 2282089 7 2919406 175604429 932639 0 180709
2015-02-15 21:18:21 stat_cpu_diff 35 0 72 5861 14 0 1
2015-02-15 21:18:21 stat_cpu_percent 0.58 0.00 1.20 97.96 0.23 0.00 0.02
2015-02-15 21:18:21 stat_cpu_text user: 0.58 %, nice: 0.00 %, sys: 1.20 %, idle: 97.96 %, io: 0.23 %, irq: 0.00 %, sirq: 0.02 %
2015-02-15 21:18:21 swap Total: 517.62 MB, Used: 106.90 MB, 20.65 %, Free: 410.72 MB
2015-02-15 21:18:21 uptime 1819192
2015-02-15 21:18:21 uptime_text 21 days, 01 hours, 19 minutes
2015-02-15 21:18:21 wlan0 not available
2015-02-15 21:18:21 wlan0_diff not available
Helper:
error_msg
proc_fs 1
sys_cpu1_freq 0
sys_cpu_core_num 1
sys_cpu_freq_rpi_bbb 0
sys_cpu_num 1
sys_cpu_temp_bbb 0
sys_cpu_temp_rpi 0
sys_fb 0
sys_power_ac 0
sys_power_bat 0
sys_power_usb 0
u_first_mark 1
Cur_readings_map:
cpu_bogomips BogoMIPS
date Date
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
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
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
wlan0 Network adapter wlan0
wlan0_diff Network adapter wlan0 (diff)
wlan0_ip Network adapter wlan0 (IP)
wlan0_ip6 Network adapter wlan0 (IP6)
wlan0_rx Network adapter wlan0 (RX)
wlan0_tx Network adapter wlan0 (TX)
Shadow_map:
eth0 RX: 3286.76 MB, TX: 2582.80 MB, Total: 5869.56 MB
eth0_diff RX: 0.01 MB, TX: 0.01 MB, Total: 0.02 MB
idletime 1756030 96.53 %
idletime_text 20 days, 07 hours, 47 minutes (96.53 %)
loadavg 1.56 2.55 2.74
ram Total: 503.42 MB, Used: 417.86 MB, 83.01 %, Free: 85.55 MB
root Total: 0 MB, Used: 0 MB, 0 %, Available: 0 MB at / (not available)
stat_cpu 2282078 7 2919385 175603039 932631 0 180708
stat_cpu_diff 24 0 51 4471 6 0 0
stat_cpu_percent 0.53 0.00 1.12 98.22 0.13 0.00 0.00
stat_cpu_text user: 0.53 %, nice: 0.00 %, sys: 1.12 %, idle: 98.22 %, io: 0.13 %, irq: 0.00 %, sirq: 0.00 %
swap Total: 517.62 MB, Used: 106.90 MB, 20.65 %, Free: 410.72 MB
uptime 1819178
uptime_text 21 days, 01 hours, 19 minutes
wlan0 not available
wlan0_diff not available
Attributes:
:)
Was muss ich denn noch als Attribut für das filesystem einstellen, damit ich die Festplatten angezeigt werden? Cool wäre als nice2have die CPU temp und die temp der Festplatten, ist aber nicht zwingend notwendig! Was ich aber unbedingt brauche zwecks Überwachung ist die Gesamtfestplattenkapazität!
Kannste mir da n Tipp geben, wie ich das filesystem Attribut einstellen muss bzw. wie ich rausbekomme, wie ich das einzustellen habe?
Danke schon mal!!
Habe mal per Putty ne TelNet Verbindung zum QNAP aufgebaut und
df
ausgeführt.
Das hier ist das Ergebnis:
[~] # df
Filesystem Size Used Available Use% Mounted on
/dev/ram0 32.9M 15.5M 17.4M 47% /
tmpfs 64.0M 340.0k 63.7M 1% /tmp
/dev/sda4 371.0M 325.1M 45.9M 88% /mnt/ext
/dev/md9 509.5M 137.0M 372.4M 27% /mnt/HDA_ROOT
/dev/md0 5.4T 5.1T 309.6G 94% /share/MD0_DATA
tmpfs 32.0M 0 32.0M 0% /.eaccelerator.tmp
[~] #
[~] #
Kannst du mir helfen, wie ich das filesystem Attribut angeben muss?
EDIT: Habs hinbekommen über folgendes Attribut:
attr Qnap419P filesystems fs_HDD_gesamt:/share/MD0_DATA
Nun habe ich ein Reading namens "fs_HDD_gesamt". Soweit sehr gut! :)
Internals:
CFGFN
DEF Telnet:admin@192.168.188.21:13131 1 1 1 10
HOST 192.168.188.21
INTERVAL_BASE 60
INTERVAL_MULTIPLIERS 1 1 1 10
MODE telnet
NAME Qnap419P
NR 1452
PORT 13131
STATE Active
TYPE SYSMON
USER admin
Readings:
2015-02-15 21:17:10 cpu_bogomips 1196.85
2015-02-15 21:51:59 eth0 RX: 3287.24 MB, TX: 2582.93 MB, Total: 5870.17 MB
2015-02-15 21:51:59 eth0_diff RX: 0.01 MB, TX: 0.01 MB, Total: 0.02 MB
2015-02-15 21:50:59 fs_HDD_gesamt Total: 5628857 MB, Used: 5311265 MB, 94 %, Available: 317080 MB at /share/MD0_DATA
2015-02-15 21:51:59 idletime 1758024 96.53 %
2015-02-15 21:51:59 idletime_text 20 days, 08 hours, 20 minutes (96.53 %)
2015-02-15 21:51:59 loadavg 2.19 2.29 2.39
2015-02-15 21:51:59 ram Total: 503.42 MB, Used: 417.98 MB, 83.03 %, Free: 85.43 MB
2015-02-15 21:51:59 stat_cpu 2283164 7 2921544 175802468 933241 0 180723
2015-02-15 21:51:59 stat_cpu_diff 40 0 63 5887 10 0 0
2015-02-15 21:51:59 stat_cpu_percent 0.67 0.00 1.05 98.12 0.17 0.00 0.00
2015-02-15 21:51:59 stat_cpu_text user: 0.67 %, nice: 0.00 %, sys: 1.05 %, idle: 98.12 %, io: 0.17 %, irq: 0.00 %, sirq: 0.00 %
2015-02-15 21:51:59 swap Total: 517.62 MB, Used: 106.90 MB, 20.65 %, Free: 410.72 MB
2015-02-15 21:51:59 uptime 1821211
2015-02-15 21:51:59 uptime_text 21 days, 01 hours, 53 minutes
2015-02-15 21:51:59 wlan0 not available
2015-02-15 21:51:59 wlan0_diff not available
Helper:
error_msg
proc_fs 1
sys_cpu1_freq 0
sys_cpu_core_num 1
sys_cpu_freq_rpi_bbb 0
sys_cpu_num 1
sys_cpu_temp_bbb 0
sys_cpu_temp_rpi 0
sys_fb 0
sys_power_ac 0
sys_power_bat 0
sys_power_usb 0
u_first_mark 1
Cur_readings_map:
cpu_bogomips BogoMIPS
date Date
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
fs_HDD_gesamt Filesystem /share/MD0_DATA
fs_HDD_gesamt_free Filesystem /share/MD0_DATA (free)
fs_HDD_gesamt_used Filesystem /share/MD0_DATA (used)
fs_HDD_gesamt_used_percent Filesystem /share/MD0_DATA (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
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 Network adapter wlan0
wlan0_diff Network adapter wlan0 (diff)
wlan0_ip Network adapter wlan0 (IP)
wlan0_ip6 Network adapter wlan0 (IP6)
wlan0_rx Network adapter wlan0 (RX)
wlan0_tx Network adapter wlan0 (TX)
Shadow_map:
eth0 RX: 3287.17 MB, TX: 2582.91 MB, Total: 5870.08 MB
eth0_diff RX: 0.01 MB, TX: 0.01 MB, Total: 0.02 MB
fs_HDD_gesamt Total: 5628857 MB, Used: 5311265 MB, 94 %, Available: 317080 MB at /share/MD0_DATA
idletime 1757739 96.53 %
idletime_text 20 days, 08 hours, 15 minutes (96.53 %)
loadavg 2.50 2.32 2.43
ram Total: 503.42 MB, Used: 418.02 MB, 83.04 %, Free: 85.40 MB
stat_cpu 2283008 7 2921236 175773940 933169 0 180722
stat_cpu_diff 17 0 31 1137 0 0 0
stat_cpu_percent 1.43 0.00 2.62 95.95 0.00 0.00 0.00
stat_cpu_text user: 1.43 %, nice: 0.00 %, sys: 2.62 %, idle: 95.95 %, io: 0.00 %, irq: 0.00 %, sirq: 0.00 %
swap Total: 517.62 MB, Used: 106.90 MB, 20.65 %, Free: 410.72 MB
uptime 1820920
uptime_text 21 days, 01 hours, 48 minutes
wlan0 not available
wlan0_diff not available
Attributes:
filesystems fs_HDD_gesamt:/share/MD0_DATA
Nun muss ich noch eine letzte Hürde nehmen:
Wie bekomme ich denn nun den "available"-Teil des Readings extrahiert, z.B. in ein neues Reading oder in einen Dummy? Ich weiß, ist wohl kein spezielles Thema zum Sysmon Modul, aber vllt kann mir da dennoch jmd weiterhelfen!
DAAAAAAAANKE im voraus!!
Das verstehe ich nicht.... Das ist doch die aktuelle Version plus ein paar zusätzliche Log-Ausgaben. Wie aktuell war Deine Version davor?
CPU-Temp kann ich einbauen, wenn Du mir sagst, wie ich ich sie auslesen kann. Für HDD-Temp schau Dir SMARTMON Modul an.
Plattenplatz solle in etwa so angebunden werden können:
attr <name> filesystems fs_hdd:/share/MD0_DATA:HDD
Ich hatte davor keine Modulversion aus diesem thread verwendet, lediglich gestern ein "update" gemacht! Kann natürlich sein, dass ich da noch keine "QNAP-kompatible" Version hatte!
Wie krieg ich denn raus, wie man an die CPU temp kommt?
Zitat von: Michi240281 am 15 Februar 2015, 21:55:38
Wie krieg ich denn raus, wie man an die CPU temp kommt?
Wenn ich das wüßte... Internetsuche.
Ok ich versuche mal was rauszukriegen!
Ist das denn dann von QNAP Modell zu Modell unterschiedlich? Weil Aladin222 ja meine ich die CPU temp als eines der ersten readings bekommen hatte!
Zitat von: Michi240281 am 16 Februar 2015, 10:37:05
Ist das denn dann von QNAP Modell zu Modell unterschiedlich? Weil Aladin222 ja meine ich die CPU temp als eines der ersten readings bekommen hatte!
Keine Ahnung, ich denke, dass ist ehr von der Softwareseite abhängig, heutige Hardware dürfte in jedem Fall entsprechende Sensoren bereithalten. Aber ob das Betriebsystem das auch zur Verfügung stellt?
Also im GUI des QNAP gibts keine explizite CPU Temperatur, aber eine Systemtemperatur und auch 4 Temperaturen für die 4 Festplatten!
(s. Anhang)
Wie gesagt, Festplattentemperaturen müsten sich mit SMARTMON (nach der installation von smartctl) auslesen lassen. Für das "Systemtemperatur" bräuchte ich einen entspechenden Betriebsystem-Befehl.
Ok alles klar, schaue ich mir mal an!
Die Systemtemperatur brauche ich nicht zwingend, wäre nur Nice2have! Falls ich da noch was rauskriege, melde ich mich bei dir!
Insgesamt VIELEN DANK für das Modul und die Anpassungen fürs QNAP! Habe jetzt den freien Speicher als Reading und das ist PERFEKT! :)
hi ,
ja die CPU Temperatur bekomme ich als Reading ! Allerdings nur für die Qnap469L für die kleine Qnap219P nicht :-(
Suche auch noch nach dem passenden telnetbefehl das auszulesen - in der GUI wird es angezeigt !
Allerdings bekomme ich folgende Warnings im Logfile:
2015.02.17 11:38:29 1: PERL WARNING: Use of uninitialized value $o_tt in subtraction (-) at ./FHEM/42_SYSMON.pm line 2429.
2015.02.17 11:38:29 1: PERL WARNING: Use of uninitialized value $o_tx in subtraction (-) at ./FHEM/42_SYSMON.pm line 2427.
2015.02.17 11:38:29 1: PERL WARNING: Argument "format" isn't numeric in subtraction (-) at ./FHEM/42_SYSMON.pm line 2425.
2015.02.17 11:37:29 1: PERL WARNING: Use of uninitialized value $o_tt in subtraction (-) at ./FHEM/42_SYSMON.pm line 2429.
2015.02.17 11:37:29 1: PERL WARNING: Use of uninitialized value $o_tx in subtraction (-) at ./FHEM/42_SYSMON.pm line 2427.
2015.02.17 11:37:29 1: PERL WARNING: Argument "available" isn't numeric in subtraction (-) at ./FHEM/42_SYSMON.pm line 2425.
2015.02.17 11:37:29 1: PERL WARNING: Use of uninitialized value $total2 in numeric gt (>) at ./FHEM/42_SYSMON.pm line 1939.
2015.02.17 11:37:29 1: PERL WARNING: Use of uninitialized value $total in numeric gt (>) at ./FHEM/42_SYSMON.pm line 1917.
2015.02.17 11:37:29 1: PERL WARNING: Use of uninitialized value in split at ./FHEM/42_SYSMON.pm line 1909.
2015.02.17 11:37:29 1: PERL WARNING: Use of uninitialized value $fs_desc2 in string ne at ./FHEM/42_SYSMON.pm line 1906.
2015.02.17 11:37:29 1: PERL WARNING: Use of uninitialized value in split at ./FHEM/42_SYSMON.pm line 1904.
2015.02.17 11:37:29 1: PERL WARNING: Use of uninitialized value in split at ./FHEM/42_SYSMON.pm line 1902.
2015.02.17 11:37:29 1: PERL WARNING: Use of uninitialized value $string in substitution (s///) at ./FHEM/99_Utils.pm line 132.
2015.02.17 11:37:29 1: PERL WARNING: Use of uninitialized value $string in substitution (s///) at ./FHEM/99_Utils.pm line 131.
sollten morgen (nach update) weg sein.
Danke dir ;D
Teste ich morgen direkt aus ...
Hi Hexenmeister,
habe gestern und heute jeweils für ca. 5 Minuten das Problem gehabt, dass das eingebundene filesystem
attr <name> filesystems fs_hdd:/share/MD0_DATA
keine Werte mehr beinhaltet. Alle "internen Readings" sind dann 0 und hinten dran steht "(not available)"! Das NAS läuft jedoch durchgehend ohne Störung!
Haste ne Idee woran das liegen könnte?
Nach 5 Minuten ist es dann wieder da!
Das ist eine gute Frage. Dazu müsste ich für die fragliche Zeit die Logs (mit Verbose 5) haben. Da kann man sehen, was von dem Betriebsystem geliefert wurde.
Hi Hexenmeister,
generelle Frage zum Modul:
Ich habe auch den RPi darüber eingebunden:
Internals:
DEF 1 1 1 10
INTERVAL_BASE 60
INTERVAL_MULTIPLIERS 1 1 1 10
MODE local
NAME sysmon
NR 440
STATE Active
TYPE SYSMON
Readings:
2015-02-20 19:56:15 cpu_bogomips 2.00
2015-02-20 21:01:27 cpu_freq 950
2015-02-20 21:01:27 cpu_temp 58.38
2015-02-20 21:01:27 cpu_temp_avg 57.9
2015-02-20 21:01:27 eth0 RX: 2807.20 MB, TX: 1271.11 MB, Total: 4078.31 MB
2015-02-20 21:01:27 eth0_diff RX: 0.25 MB, TX: 0.41 MB, Total: 0.66 MB
2015-02-20 21:01:27 eth0_ip addr:192.168.188.200
2015-01-04 13:54:09 eth0_ip6 2a00:61e0:41ff:a801:ba27:ebff:fe38:4e82/64
2015-02-20 21:01:27 fhemuptime 3946
2015-02-20 21:01:27 fhemuptime_text 0 days, 01 hours, 05 minutes
2015-02-20 21:00:27 fs_boot Total: 56 MB, Used: 19 MB, 34 %, Available: 38 MB at /boot
2015-02-20 21:00:27 fs_root Total: 7340 MB, Used: 2677 MB, 39 %, Available: 4321 MB at /
2015-02-20 21:00:27 fs_usb1 Total: 0 MB, Used: 0 MB, 0 %, Available: 0 MB at /media/usb1 (not available)
2015-02-20 21:01:27 idletime 664771 57.70 %
2015-02-20 21:01:27 idletime_text 7 days, 16 hours, 39 minutes (57.70 %)
2015-02-20 21:01:27 loadavg 0.41 0.50 0.43
2015-02-20 19:56:15 perl_version 5.014002
2015-02-20 21:01:27 ram Total: 437.68 MB, Used: 98.30 MB, 22.46 %, Free: 339.38 MB
2015-02-20 21:01:27 stat_cpu 44284965 0 1683991 66433878 2012235 10975 378086
2015-02-20 21:01:27 stat_cpu_diff 810 0 107 4643 390 0 15
2015-02-20 21:01:27 stat_cpu_percent 13.58 0.00 1.79 77.84 6.54 0.00 0.25
2015-02-20 21:01:27 stat_cpu_text user: 13.58 %, nice: 0.00 %, sys: 1.79 %, idle: 77.84 %, io: 6.54 %, irq: 0.00 %, sirq: 0.25 %
2015-02-20 21:01:27 swap Total: 100.00 MB, Used: 0.00 MB, 0.00 %, Free: 100.00 MB
2015-02-20 21:01:27 uptime 1152022
2015-02-20 21:01:27 uptime_text 13 days, 08 hours, 00 minutes
2015-02-20 21:01:27 wlan0 not available
2015-02-20 21:01:27 wlan0_diff not available
Helper:
sys_cpu_freq_rpi_bbb 1
sys_cpu_temp_rpi 1
sys_fb 0
sys_power_ac 0
sys_power_bat 0
sys_power_usb 0
u_first_mark 1
Cur_readings_map:
cpu1_freq CPU frequency (second core)
cpu_bogomips BogoMIPS
cpu_freq CPU frequency
cpu_temp CPU temperature
cpu_temp_avg Average CPU temperature
date Date
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 %)
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
perl_version Perl Version
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)
Attributes:
event-on-update-reading cpu_temp,cpu_temp_avg,cpu_freq,eth0_diff,loadavg,ram,fs_.*
filesystems fs_boot:/boot,fs_root:/:Root,fs_usb1:/media/usb1:USB-Stick
group RPi
network-interfaces eth0:eth0:Ethernet,wlan0:wlan0:WiFi
room System
Letztens habe ich denn mal den Pi komplett vom Strom, weil ich ihm Kühlkörper verpasst habe! Dann wieder USB-Stick eingesteckt und danach wieder an den Strom! Seitdem zeigt er mir bei
fs_usb1 Total: 0 MB, Used: 0 MB, 0 %, Available: 0 MB at /media/usb1 (not available)
nichts mehr an. Vor der "Aktion" ging das einwnadfrei!
Was muss ich tun, damit er mir den USB-Stick wieder anzeigt? Kann den ja kaum im laufenden Betrieb entfernen, da darauf geloggt wird.
Besten Dank!!
Zitat von: hexenmeister am 18 Februar 2015, 13:15:34
Das ist eine gute Frage. Dazu müsste ich für die fragliche Zeit die Logs (mit Verbose 5) haben. Da kann man sehen, was von dem Betriebsystem geliefert wurde.
Reicht es eigentlich, nur dem Modul "verbose 5" zu setzen oder muss global verbose 5 gesetzt werden? Das würde mein Log wohl in 24h ziemlich überlasten! Denn das Problem tritt ja nur alle paar Tage mal auf!
Zitat von: Michi240281 am 20 Februar 2015, 21:12:50
Reicht es eigentlich, nur dem Modul "verbose 5" zu setzen oder muss global verbose 5 gesetzt werden? Das würde mein Log wohl in 24h ziemlich überlasten! Denn das Problem tritt ja nur alle paar Tage mal auf!
Gott bewahre ;) Nur das Modul!
Zitat von: Michi240281 am 20 Februar 2015, 21:04:47
Letztens habe ich denn mal den Pi komplett vom Strom, weil ich ihm Kühlkörper verpasst habe! Dann wieder USB-Stick eingesteckt und danach wieder an den Strom! Seitdem zeigt er mir bei
fs_usb1 Total: 0 MB, Used: 0 MB, 0 %, Available: 0 MB at /media/usb1 (not available)
nichts mehr an. Vor der "Aktion" ging das einwnadfrei!
Was muss ich tun, damit er mir den USB-Stick wieder anzeigt? Kann den ja kaum im laufenden Betrieb entfernen, da darauf geloggt wird.
Wird wohl daran liegen, dass irgendeine Änderung nicht persisten war und beim Reboot verloren ging.
Was sagt df?
Ok dann setze ich jetzt mal verbose 5 auf das Modul!
Du hast Recht! Da hat sich was geändert! Habs neu eingebunden und es geht wieder! :)
Noch eine andere Frage. Ich habe regelmäßig folgende Logeinträge:
2015.02.20 20:05:53.319 1: PERL WARNING: Use of uninitialized value $used2 in division (/) at ./FHEM/42_SYSMON.pm line 1942.
2015.02.20 20:05:53.839 1: PERL WARNING: Use of uninitialized value $free2 in division (/) at ./FHEM/42_SYSMON.pm line 1943.
2015.02.20 20:08:53.216 1: PERL WARNING: Use of uninitialized value $used2 in division (/) at ./FHEM/42_SYSMON.pm line 1942.
2015.02.20 20:08:53.218 1: PERL WARNING: Use of uninitialized value $free2 in division (/) at ./FHEM/42_SYSMON.pm line 1943.
2015.02.20 20:08:53.263 1: PERL WARNING: Argument "available" isn't numeric in subtraction (-) at ./FHEM/42_SYSMON.pm line 2425.
2015.02.20 20:08:53.264 1: PERL WARNING: Use of uninitialized value $o_tx in subtraction (-) at ./FHEM/42_SYSMON.pm line 2427.
2015.02.20 20:08:53.266 1: PERL WARNING: Use of uninitialized value $o_tt in subtraction (-) at ./FHEM/42_SYSMON.pm line 2429.
2015.02.20 20:09:53.454 1: PERL WARNING: Argument "format" isn't numeric in subtraction (-) at ./FHEM/42_SYSMON.pm line 2425.
2015.02.20 20:09:53.456 1: PERL WARNING: Use of uninitialized value $o_tx in subtraction (-) at ./FHEM/42_SYSMON.pm line 2427.
2015.02.20 20:09:53.458 1: PERL WARNING: Use of uninitialized value $o_tt in subtraction (-) at ./FHEM/42_SYSMON.pm line 2429.
2015.02.20 20:23:53.410 1: PERL WARNING: Use of uninitialized value $used2 in division (/) at ./FHEM/42_SYSMON.pm line 1942.
2015.02.20 20:23:53.412 1: PERL WARNING: Use of uninitialized value $free2 in division (/) at ./FHEM/42_SYSMON.pm line 1943.
2015.02.20 20:23:53.458 1: PERL WARNING: Argument "available" isn't numeric in subtraction (-) at ./FHEM/42_SYSMON.pm line 2425.
2015.02.20 20:23:53.459 1: PERL WARNING: Use of uninitialized value $o_tx in subtraction (-) at ./FHEM/42_SYSMON.pm line 2427.
2015.02.20 20:23:53.460 1: PERL WARNING: Use of uninitialized value $o_tt in subtraction (-) at ./FHEM/42_SYSMON.pm line 2429.
2015.02.20 20:24:53.585 1: PERL WARNING: Argument "format" isn't numeric in subtraction (-) at ./FHEM/42_SYSMON.pm line 2425.
2015.02.20 20:24:53.587 1: PERL WARNING: Use of uninitialized value $o_tx in subtraction (-) at ./FHEM/42_SYSMON.pm line 2427.
2015.02.20 20:24:53.588 1: PERL WARNING: Use of uninitialized value $o_tt in subtraction (-) at ./FHEM/42_SYSMON.pm line 2429.
2015.02.20 21:06:57.765 1: PERL WARNING: Use of uninitialized value $used2 in division (/) at ./FHEM/42_SYSMON.pm line 1942.
2015.02.20 21:06:57.777 1: PERL WARNING: Use of uninitialized value $free2 in division (/) at ./FHEM/42_SYSMON.pm line 1943.
Ne Idee was da los ist und was ich tun könnte?
Die Zeilennummern sind schon mal anders, als bei mir. Kann es sein, dass deine Version nicht aktuell ist?
Habe soeben ein Update durchgeführt, die Version war nicht die aktuellste! Habe gerade noch ein weiteres Problem:
Mein Fhem hängt sich 1-2x am Tag komplett auf. Dabei seh ich dann hunderte Meldungen von "Too many open files"! Ich habe dann mal in den verbose 5 log vom Sysmon (QNAP) geschaut und festgestellt, dass da ständig die Verbindung neu aufgebaut wird. Meinst du, Fhem könnte sich deshalb aufhängen? Im Enigma2 thread wird das Enigma-Modul für dieses Problem vermutet, aber zeitlich würde es bei mir genau passen. Seit ein paar Tagen hängt sich Fhem mehrfach am Tag auf und genauso lange habe ich das Sysmon-Qnap in Betrieb. Im Anhang mal das verbose 5 log. Wäre prima, wenn du damit was anfangen kannst.
Danke dir schon mal!
PS: Das Problem, dass das reading ab und zu mal 0 anzeigt ist damit erstmal zweitrangig! Mein Fhem läuft aktuell total beschissen!
PPS: Du findest im Anhang das gesamte Logfile von dieser Nacht 7 Uhr bis soeben! Um 9:35 Uhr ca. habe ich ein Update gemacht! Heute morgen um 7:25 Uhr hat sich Fhem aufgehängt.
Den Log schaue ich mir noch an.
SYSMON ist bis jetzt nicht in Verbindung mit "Too many open files" aufgefallen. Möglich wäre es, aber
Schalte ihn doch probeweise mal ab (disable=1).
Schau vorher auch mal, was perl so alles offen hält (sudo lsof -P -n -p <FHEM_PID>)
Besten Dank!
Ja ich habe gerade erstmal die beiden per E2-Modul eingebundenen Boxen disabled. Wenn das nicht hilft, disable ich danach das QNAP-Sysmon!
Wie komme ich denn an die FHEM_PID? Und muss ich für das Kommand "lsof" noch irgendwas installieren?
Die Fhem-PID habe ich inzwischen rausbekommen und auch lsof nachinstalliert. Jedoch liefert dein angegebener Befehl nichts zurück.
Ein "lsof" liefert:
perl 19945 fhem cwd DIR 179,2 4096 259706 /o pt/fhem
perl 19945 fhem rtd DIR 179,2 4096 2 /
perl 19945 fhem txt REG 179,2 9800 19556 /u sr/bin/perl
perl 19945 fhem mem REG 179,2 75620 155574 /u sr/lib/perl/5.14.2/auto/Compress/Raw/Zlib/Zlib.so
perl 19945 fhem mem REG 179,2 135656 19129 /l ib/arm-linux-gnueabihf/libexpat.so.1.6.0
perl 19945 fhem mem REG 179,2 127520 262230 /u sr/lib/perl5/auto/XML/Parser/Expat/Expat.so
perl 19945 fhem mem REG 179,2 225866 266779 /u sr/local/lib/perl/5.14.2/auto/List/MoreUtils/MoreUtils.so
perl 19945 fhem mem REG 179,2 198240 10519 /u sr/lib/arm-linux-gnueabihf/libidn.so.11.6.8
perl 19945 fhem mem REG 179,2 36896 259383 /u sr/lib/perl5/auto/Net/LibIDN/LibIDN.so
perl 19945 fhem mem REG 179,2 87792 5181 /l ib/arm-linux-gnueabihf/libz.so.1.2.7
perl 19945 fhem mem REG 179,2 1406280 19267 /u sr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
perl 19945 fhem mem REG 179,2 297356 19265 /u sr/lib/arm-linux-gnueabihf/libssl.so.1.0.0
perl 19945 fhem mem REG 179,2 402688 259335 /u sr/lib/perl5/auto/Net/SSLeay/SSLeay.so
perl 19945 fhem mem REG 179,2 38604 8781 /l ib/arm-linux-gnueabihf/libnss_nis-2.13.so
perl 19945 fhem mem REG 179,2 71624 8775 /l ib/arm-linux-gnueabihf/libnsl-2.13.so
perl 19945 fhem mem REG 179,2 26484 8777 /l ib/arm-linux-gnueabihf/libnss_compat-2.13.so
perl 19945 fhem mem REG 179,2 26068 3978 /u sr/lib/arm-linux-gnueabihf/gconv/gconv-modules.cache
perl 19945 fhem mem REG 179,2 71488 155583 /u sr/lib/perl/5.14.2/auto/Storable/Storable.so
perl 19945 fhem mem REG 179,2 9808 156224 /u sr/lib/perl/5.14.2/auto/PerlIO/scalar/scalar.so
perl 19945 fhem mem REG 179,2 18040 19541 /u sr/lib/perl/5.14.2/auto/File/Glob/Glob.so
perl 19945 fhem mem REG 179,2 30496 155587 /u sr/lib/perl/5.14.2/auto/Encode/Encode.so
perl 19945 fhem mem REG 179,2 30384 155582 /u sr/lib/perl/5.14.2/auto/Data/Dumper/Dumper.so
perl 19945 fhem mem REG 179,2 19564 262366 /u sr/lib/perl5/auto/Socket6/Socket6.so
perl 19945 fhem mem REG 179,2 71528 8768 /l ib/arm-linux-gnueabihf/libresolv-2.13.so
perl 19945 fhem mem REG 179,2 18040 8773 /l ib/arm-linux-gnueabihf/libnss_dns-2.13.so
perl 19945 fhem mem REG 179,2 42692 8763 /l ib/arm-linux-gnueabihf/libnss_files-2.13.so
perl 19945 fhem mem REG 179,2 13784 155536 /u sr/lib/perl/5.14.2/auto/MIME/Base64/Base64.so
perl 19945 fhem mem REG 179,2 17932 155532 /u sr/lib/perl/5.14.2/auto/Digest/MD5/MD5.so
perl 19945 fhem mem REG 179,2 22128 19551 /u sr/lib/perl/5.14.2/auto/List/Util/Util.so
perl 19945 fhem mem REG 179,2 84480 19550 /u sr/lib/perl/5.14.2/auto/POSIX/POSIX.so
perl 19945 fhem mem REG 179,2 13840 19545 /u sr/lib/perl/5.14.2/auto/Fcntl/Fcntl.so
perl 19945 fhem mem REG 179,2 26632 8759 /l ib/arm-linux-gnueabihf/librt-2.13.so
perl 19945 fhem mem REG 179,2 22080 155526 /u sr/lib/perl/5.14.2/auto/Time/HiRes/HiRes.so
perl 19945 fhem mem REG 179,2 105638 266499 /u sr/local/lib/perl/5.14.2/auto/Socket/Socket.so
perl 19945 fhem mem REG 179,2 13880 19544 /u sr/lib/perl/5.14.2/auto/IO/IO.so
perl 19945 fhem mem REG 179,2 1534656 5669 /u sr/lib/locale/locale-archive
perl 19945 fhem mem REG 179,2 131372 1253 /l ib/arm-linux-gnueabihf/libgcc_s.so.1
perl 19945 fhem mem REG 179,2 30276 8771 /l ib/arm-linux-gnueabihf/libcrypt-2.13.so
perl 19945 fhem mem REG 179,2 1200240 8772 /l ib/arm-linux-gnueabihf/libc-2.13.so
perl 19945 fhem mem REG 179,2 116462 8765 /l ib/arm-linux-gnueabihf/libpthread-2.13.so
perl 19945 fhem mem REG 179,2 427628 8780 /l ib/arm-linux-gnueabihf/libm-2.13.so
perl 19945 fhem mem REG 179,2 9812 8778 /l ib/arm-linux-gnueabihf/libdl-2.13.so
perl 19945 fhem mem REG 179,2 1347628 19555 /u sr/lib/libperl.so.5.14.2
perl 19945 fhem mem REG 179,2 9716 155530 /u sr/lib/perl/5.14.2/auto/I18N/Langinfo/Langinfo.so
perl 19945 fhem mem REG 179,2 10170 25003 /u sr/lib/arm-linux-gnueabihf/libcofi_rpi.so
perl 19945 fhem mem REG 179,2 126236 8766 /l ib/arm-linux-gnueabihf/ld-2.13.so
perl 19945 fhem mem REG 179,2 1474 4783 /u sr/share/locale/en_GB/LC_MESSAGES/libc.mo
perl 19945 fhem 0r CHR 1,3 0t0 21 /d ev/null
perl 19945 fhem 1u CHR 136,0 0t0 3 /d ev/pts/0 (deleted)
perl 19945 fhem 2u CHR 136,0 0t0 3 /d ev/pts/0 (deleted)
perl 19945 fhem 3w REG 8,1 73064262 1046627 /m edia/usbstick/log/fhem-2015-02.log
perl 19945 fhem 4u IPv4 2351228 0t0 TCP Ra spberry-Pi.fritz.box:8083->Dell-XPS-Michael.fritz.box:58921 (ESTABLISHED)
perl 19945 fhem 5w REG 8,1 410659 1046590 /m edia/usbstick/log/My_Twilight-2015.log
perl 19945 fhem 6u IPv4 2350594 0t0 TCP *: 7072 (LISTEN)
perl 19945 fhem 7u IPv4 2350595 0t0 TCP *: 8083 (LISTEN)
perl 19945 fhem 8u IPv4 2350596 0t0 TCP *: 8084 (LISTEN)
perl 19945 fhem 9u IPv4 2350597 0t0 TCP *: 8085 (LISTEN)
perl 19945 fhem 10u IPv6 2350599 0t0 TCP *: 9093 (LISTEN)
perl 19945 fhem 11u IPv4 2351891 0t0 TCP Ra spberry-Pi.fritz.box:8083->Dell-XPS-Michael.fritz.box:59018 (ESTABLISHED)
perl 19945 fhem 12u IPv4 2351147 0t0 TCP Ra spberry-Pi.fritz.box:8083->Dell-XPS-Michael.fritz.box:58902 (ESTABLISHED)
perl 19945 fhem 13u IPv4 2351832 0t0 TCP Ra spberry-Pi.fritz.box:8083->Dell-XPS-Michael.fritz.box:59017 (ESTABLISHED)
perl 19945 fhem 14w REG 8,1 73064262 1046627 /m edia/usbstick/log/fhem-2015-02.log
perl 19945 fhem 15w REG 8,1 155625 1046531 /m edia/usbstick/log/Abwesenheiten-2015.log
perl 19945 fhem 16w REG 8,1 48269 1046571 /m edia/usbstick/log/Funk_Gong-2015.log
perl 19945 fhem 17w REG 8,1 89855 1046584 /m edia/usbstick/log/Klingeltaster-2015.log
perl 19945 fhem 18w REG 8,1 50567 1046548 /m edia/usbstick/log/Dimmer_Terasse-2015.log
perl 19945 fhem 19w REG 8,1 1958812 1046544 /m edia/usbstick/log/BM_Terasse-2015.log
perl 19945 fhem 20w REG 8,1 315228 1046566 /m edia/usbstick/log/Flurlicht-2015.log
perl 19945 fhem 21w REG 8,1 143480 1046625 /m edia/usbstick/log/Zirkulationspumpe_WW-2015.log
perl 19945 fhem 22w REG 8,1 3772084 1046611 /m edia/usbstick/log/Temperatur_Garage-2015.log
perl 19945 fhem 23w REG 8,1 211736 1046597 /m edia/usbstick/log/Raumtemperatur_Vergleich-2015.log
perl 19945 fhem 24w REG 8,1 11165549 1046626 /m edia/usbstick/log/sysmon-2015-02.log
perl 19945 fhem 25u IPv4 2350620 0t0 TCP Ra spberry-Pi.fritz.box:47577->fritz.box:7072 (ESTABLISHED)
perl 19945 fhem 26w REG 8,1 176430 1046577 /m edia/usbstick/log/Garagentor-2015.log
perl 19945 fhem 27w REG 8,1 71104 1046574 /m edia/usbstick/log/Garage_Aktor-2015.log
perl 19945 fhem 28w REG 8,1 158659 1046568 /m edia/usbstick/log/Fritz_Box-2015.log
perl 19945 fhem 29u IPv4 2350621 0t0 TCP Ra spberry-Pi.fritz.box:54425->fritz.box:1012 (ESTABLISHED)
perl 19945 fhem 30w REG 8,1 0 1046592 /m edia/usbstick/log/owo-2015.log
perl 19945 fhem 31w REG 8,1 127093 1046581 /m edia/usbstick/log/Haustuer-2015.log
perl 19945 fhem 32w REG 8,1 50316 1046613 /m edia/usbstick/log/Terassentuer-2015.log
perl 19945 fhem 33w REG 8,1 1139343 1046542 /m edia/usbstick/log/BM_innen_EG_1-2015.log
perl 19945 fhem 34w REG 8,1 139844 1046618 /m edia/usbstick/log/Wandtaster_Alarmanlage-2015.log
perl 19945 fhem 35w REG 8,1 18504 1046594 /m edia/usbstick/log/Rauchmelder_EG_Flur-2015.log
perl 19945 fhem 36w REG 8,1 186416 1046579 /m edia/usbstick/log/Geofancy-2015.log
perl 19945 fhem 37w REG 8,1 458899 1046537 /m edia/usbstick/log/Anwesenheit_Marina_Uebergabe-2015.log
perl 19945 fhem 38w REG 8,1 108150 1046535 /m edia/usbstick/log/Ambientelicht_Schlafzimmer-2015.log
perl 19945 fhem 39w REG 8,1 1928739 1046540 /m edia/usbstick/log/BM_Garage-2015.log
perl 19945 fhem 40w REG 8,1 95557 1046586 /m edia/usbstick/log/Lampe_Garage_hinten-2015.log
perl 19945 fhem 41w REG 8,1 31368 1046546 /m edia/usbstick/log/CUL_HM_HM_ES_PMSw1_Pl_2C90B9-2015.log
perl 19945 fhem 42w REG 8,1 289954 1046599 /m edia/usbstick/log/Steckdose_Frostwaechter_Schaltkanal-2015.log
perl 19945 fhem 43w REG 8,1 10861775 1046598 /m edia/usbstick/log/Steckdose_Frostwaechter_Messkanal-2015.log
perl 19945 fhem 44w REG 8,1 7907268 1046628 /m edia/usbstick/log/Qnap419P-2015.log
perl 19945 fhem 45u IPv4 2352597 0t0 TCP lo calhost:7072->localhost:47569 (CLOSE_WAIT)
perl 19945 fhem 46u IPv4 2351830 0t0 TCP Ra spberry-Pi.fritz.box:8083->Dell-XPS-Michael.fritz.box:59015 (ESTABLISHED)
perl 19945 fhem 47u IPv4 2351831 0t0 TCP Ra spberry-Pi.fritz.box:8083->Dell-XPS-Michael.fritz.box:59016 (ESTABLISHED)
perl 19945 fhem 52u IPv4 2350980 0t0 TCP Ra spberry-Pi.fritz.box:56337->HM-LAN-Adapter.fritz.box:1000 (ESTABLISHED)
Liefert nichts? Hm...
Deine Ausgabe von lsof ist nicht groß und auch für mein Auge unverdächtig (oder eher sogar zu klein). Hast Du das mit sudo aufgerufen?
Wie hoch ist das Limit? (ulimit -a)
In Deinem Log sehe ich keine Ursache für 0-Readings. Alle HDD-Abfragen waren korrekt beantwortet und von SYSMON ausgewertet :(
Zwischendurch sehe ich aber "too many open files". Ich habe das Gefühl, das SYSMON dann den letzten Tropfen liefert. Das Connection wird aber anscheinend immer wieder korrekt geschlossen (es deutet zumindest nichts auf das Gegenteil).
Also wenn ich
sudo lsof -P -n -p <FHEM_PID>
ausführe, kommt einfach nichts und es wird wieder die Eingabezeile angezeigt.
Ich habe bei "sudo lsof" nur die Einträge gepostet, wo "perl" oder "fhem" drin vorkam. Die Liste war noch deutlich länger, zu lang um sie hier zu posten!
Hier das ulimit-a:
root@raspberrypi:/home/pi# ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 3372
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 95
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 3372
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
Komisch, hatte gestern ulimit -n auf 4096 gesetzt! Wurde auch übernommen aber nun ist es wieder auf 1024. Habe den Pi nicht neugestartet!
EDIT: Ahhhhh, ich hatte wohl eine "alte" PID verwendet! Nun gehts:
root@raspberrypi:/home/pi# sudo lsof -P -n -p 19945
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
perl 19945 fhem cwd DIR 179,2 4096 259706 /opt/fhem
perl 19945 fhem rtd DIR 179,2 4096 2 /
perl 19945 fhem txt REG 179,2 9800 19556 /usr/bin/perl
perl 19945 fhem mem REG 179,2 75620 155574 /usr/lib/perl/5.14.2/aut o/Compress/Raw/Zlib/Zlib.so
perl 19945 fhem mem REG 179,2 135656 19129 /lib/arm-linux-gnueabihf /libexpat.so.1.6.0
perl 19945 fhem mem REG 179,2 127520 262230 /usr/lib/perl5/auto/XML/ Parser/Expat/Expat.so
perl 19945 fhem mem REG 179,2 225866 266779 /usr/local/lib/perl/5.14 .2/auto/List/MoreUtils/MoreUtils.so
perl 19945 fhem mem REG 179,2 198240 10519 /usr/lib/arm-linux-gnuea bihf/libidn.so.11.6.8
perl 19945 fhem mem REG 179,2 36896 259383 /usr/lib/perl5/auto/Net/ LibIDN/LibIDN.so
perl 19945 fhem mem REG 179,2 87792 5181 /lib/arm-linux-gnueabihf /libz.so.1.2.7
perl 19945 fhem mem REG 179,2 1406280 19267 /usr/lib/arm-linux-gnuea bihf/libcrypto.so.1.0.0
perl 19945 fhem mem REG 179,2 297356 19265 /usr/lib/arm-linux-gnuea bihf/libssl.so.1.0.0
perl 19945 fhem mem REG 179,2 402688 259335 /usr/lib/perl5/auto/Net/ SSLeay/SSLeay.so
perl 19945 fhem mem REG 179,2 38604 8781 /lib/arm-linux-gnueabihf /libnss_nis-2.13.so
perl 19945 fhem mem REG 179,2 71624 8775 /lib/arm-linux-gnueabihf /libnsl-2.13.so
perl 19945 fhem mem REG 179,2 26484 8777 /lib/arm-linux-gnueabihf /libnss_compat-2.13.so
perl 19945 fhem mem REG 179,2 26068 3978 /usr/lib/arm-linux-gnuea bihf/gconv/gconv-modules.cache
perl 19945 fhem mem REG 179,2 71488 155583 /usr/lib/perl/5.14.2/aut o/Storable/Storable.so
perl 19945 fhem mem REG 179,2 9808 156224 /usr/lib/perl/5.14.2/aut o/PerlIO/scalar/scalar.so
perl 19945 fhem mem REG 179,2 18040 19541 /usr/lib/perl/5.14.2/aut o/File/Glob/Glob.so
perl 19945 fhem mem REG 179,2 30496 155587 /usr/lib/perl/5.14.2/aut o/Encode/Encode.so
perl 19945 fhem mem REG 179,2 30384 155582 /usr/lib/perl/5.14.2/aut o/Data/Dumper/Dumper.so
perl 19945 fhem mem REG 179,2 19564 262366 /usr/lib/perl5/auto/Sock et6/Socket6.so
perl 19945 fhem mem REG 179,2 71528 8768 /lib/arm-linux-gnueabihf /libresolv-2.13.so
perl 19945 fhem mem REG 179,2 18040 8773 /lib/arm-linux-gnueabihf /libnss_dns-2.13.so
perl 19945 fhem mem REG 179,2 42692 8763 /lib/arm-linux-gnueabihf /libnss_files-2.13.so
perl 19945 fhem mem REG 179,2 13784 155536 /usr/lib/perl/5.14.2/aut o/MIME/Base64/Base64.so
perl 19945 fhem mem REG 179,2 17932 155532 /usr/lib/perl/5.14.2/aut o/Digest/MD5/MD5.so
perl 19945 fhem mem REG 179,2 22128 19551 /usr/lib/perl/5.14.2/aut o/List/Util/Util.so
perl 19945 fhem mem REG 179,2 84480 19550 /usr/lib/perl/5.14.2/aut o/POSIX/POSIX.so
perl 19945 fhem mem REG 179,2 13840 19545 /usr/lib/perl/5.14.2/aut o/Fcntl/Fcntl.so
perl 19945 fhem mem REG 179,2 26632 8759 /lib/arm-linux-gnueabihf /librt-2.13.so
perl 19945 fhem mem REG 179,2 22080 155526 /usr/lib/perl/5.14.2/aut o/Time/HiRes/HiRes.so
perl 19945 fhem mem REG 179,2 105638 266499 /usr/local/lib/perl/5.14 .2/auto/Socket/Socket.so
perl 19945 fhem mem REG 179,2 13880 19544 /usr/lib/perl/5.14.2/aut o/IO/IO.so
perl 19945 fhem mem REG 179,2 1534656 5669 /usr/lib/locale/locale-a rchive
perl 19945 fhem mem REG 179,2 131372 1253 /lib/arm-linux-gnueabihf /libgcc_s.so.1
perl 19945 fhem mem REG 179,2 30276 8771 /lib/arm-linux-gnueabihf /libcrypt-2.13.so
perl 19945 fhem mem REG 179,2 1200240 8772 /lib/arm-linux-gnueabihf /libc-2.13.so
perl 19945 fhem mem REG 179,2 116462 8765 /lib/arm-linux-gnueabihf /libpthread-2.13.so
perl 19945 fhem mem REG 179,2 427628 8780 /lib/arm-linux-gnueabihf /libm-2.13.so
perl 19945 fhem mem REG 179,2 9812 8778 /lib/arm-linux-gnueabihf /libdl-2.13.so
perl 19945 fhem mem REG 179,2 1347628 19555 /usr/lib/libperl.so.5.14 .2
perl 19945 fhem mem REG 179,2 9716 155530 /usr/lib/perl/5.14.2/aut o/I18N/Langinfo/Langinfo.so
perl 19945 fhem mem REG 179,2 10170 25003 /usr/lib/arm-linux-gnuea bihf/libcofi_rpi.so
perl 19945 fhem mem REG 179,2 126236 8766 /lib/arm-linux-gnueabihf /ld-2.13.so
perl 19945 fhem mem REG 179,2 1474 4783 /usr/share/locale/en_GB/ LC_MESSAGES/libc.mo
perl 19945 fhem 0r CHR 1,3 0t0 21 /dev/null
perl 19945 fhem 1u CHR 136,0 0t0 3 /dev/pts/0 (deleted)
perl 19945 fhem 2u CHR 136,0 0t0 3 /dev/pts/0 (deleted)
perl 19945 fhem 3w REG 8,1 86806951 1046627 /media/usbstick/log/fhem -2015-02.log
perl 19945 fhem 4u IPv4 2428477 0t0 TCP 192.168.188.200:8083->19 2.168.188.177:61307 (ESTABLISHED)
perl 19945 fhem 5u IPv4 2428872 0t0 TCP 192.168.188.200:8083->19 2.168.188.177:61312 (ESTABLISHED)
perl 19945 fhem 6w REG 8,1 411151 1046590 /media/usbstick/log/My_T wilight-2015.log
perl 19945 fhem 7u IPv4 2369637 0t0 TCP *:7072 (LISTEN)
perl 19945 fhem 8u IPv4 2369638 0t0 TCP *:8083 (LISTEN)
perl 19945 fhem 9u IPv4 2369639 0t0 TCP *:8084 (LISTEN)
perl 19945 fhem 10u IPv4 2369640 0t0 TCP *:8085 (LISTEN)
perl 19945 fhem 11u IPv6 2369642 0t0 TCP *:9093 (LISTEN)
perl 19945 fhem 12u IPv4 2427857 0t0 TCP 192.168.188.200:8083->19 2.168.188.177:61231 (ESTABLISHED)
perl 19945 fhem 13u IPv4 2359997 0t0 TCP 192.168.188.200:44115->6 6.196.66.213:80 (CLOSE_WAIT)
perl 19945 fhem 14w REG 8,1 86806951 1046627 /media/usbstick/log/fhem -2015-02.log
perl 19945 fhem 15w REG 8,1 158233 1046531 /media/usbstick/log/Abwe senheiten-2015.log
perl 19945 fhem 16w REG 8,1 48681 1046571 /media/usbstick/log/Funk _Gong-2015.log
perl 19945 fhem 17w REG 8,1 92109 1046584 /media/usbstick/log/Klin geltaster-2015.log
perl 19945 fhem 18w REG 8,1 51949 1046548 /media/usbstick/log/Dimm er_Terasse-2015.log
perl 19945 fhem 19w REG 8,1 1996666 1046544 /media/usbstick/log/BM_T erasse-2015.log
perl 19945 fhem 20w REG 8,1 319367 1046566 /media/usbstick/log/Flur licht-2015.log
perl 19945 fhem 21w REG 8,1 148730 1046625 /media/usbstick/log/Zirk ulationspumpe_WW-2015.log
perl 19945 fhem 22w REG 8,1 3784594 1046611 /media/usbstick/log/Temp eratur_Garage-2015.log
perl 19945 fhem 23w REG 8,1 215270 1046597 /media/usbstick/log/Raum temperatur_Vergleich-2015.log
perl 19945 fhem 24w REG 8,1 11680246 1046626 /media/usbstick/log/sysm on-2015-02.log
perl 19945 fhem 25u IPv4 2369660 0t0 TCP 192.168.188.200:49449->1 92.168.188.1:7072 (ESTABLISHED)
perl 19945 fhem 26w REG 8,1 179221 1046577 /media/usbstick/log/Gara gentor-2015.log
perl 19945 fhem 27w REG 8,1 75481 1046574 /media/usbstick/log/Gara ge_Aktor-2015.log
perl 19945 fhem 28w REG 8,1 158659 1046568 /media/usbstick/log/Frit z_Box-2015.log
perl 19945 fhem 29u IPv4 2369661 0t0 TCP 192.168.188.200:56297->1 92.168.188.1:1012 (ESTABLISHED)
perl 19945 fhem 30w REG 8,1 0 1046592 /media/usbstick/log/owo- 2015.log
perl 19945 fhem 31w REG 8,1 130470 1046581 /media/usbstick/log/Haus tuer-2015.log
perl 19945 fhem 32w REG 8,1 52272 1046613 /media/usbstick/log/Tera ssentuer-2015.log
perl 19945 fhem 33w REG 8,1 1207249 1046542 /media/usbstick/log/BM_i nnen_EG_1-2015.log
perl 19945 fhem 34w REG 8,1 139844 1046618 /media/usbstick/log/Wand taster_Alarmanlage-2015.log
perl 19945 fhem 35w REG 8,1 18705 1046594 /media/usbstick/log/Rauc hmelder_EG_Flur-2015.log
perl 19945 fhem 36w REG 8,1 186416 1046579 /media/usbstick/log/Geof ancy-2015.log
perl 19945 fhem 37w REG 8,1 468540 1046537 /media/usbstick/log/Anwe senheit_Marina_Uebergabe-2015.log
perl 19945 fhem 38w REG 8,1 108445 1046535 /media/usbstick/log/Ambi entelicht_Schlafzimmer-2015.log
perl 19945 fhem 39w REG 8,1 1965123 1046540 /media/usbstick/log/BM_G arage-2015.log
perl 19945 fhem 40w REG 8,1 97027 1046586 /media/usbstick/log/Lamp e_Garage_hinten-2015.log
perl 19945 fhem 41w REG 8,1 31489 1046546 /media/usbstick/log/CUL_ HM_HM_ES_PMSw1_Pl_2C90B9-2015.log
perl 19945 fhem 42w REG 8,1 294418 1046599 /media/usbstick/log/Stec kdose_Frostwaechter_Schaltkanal-2015.log
perl 19945 fhem 43w REG 8,1 10861775 1046598 /media/usbstick/log/Stec kdose_Frostwaechter_Messkanal-2015.log
perl 19945 fhem 44w REG 8,1 8104212 1046628 /media/usbstick/log/Qnap 419P-2015.log
perl 19945 fhem 45w REG 8,1 16144 1046629 /media/usbstick/log/HMLA N1-2015.log
perl 19945 fhem 46u IPv4 2428873 0t0 TCP 192.168.188.200:8083->19 2.168.188.177:61313 (ESTABLISHED)
perl 19945 fhem 47u IPv4 2427858 0t0 TCP 192.168.188.200:8083->19 2.168.188.177:61232 (ESTABLISHED)
perl 19945 fhem 48u IPv4 2428874 0t0 TCP 192.168.188.200:8083->19 2.168.188.177:61314 (ESTABLISHED)
perl 19945 fhem 49u IPv4 2428875 0t0 TCP 192.168.188.200:8085->19 2.168.188.250:47382 (ESTABLISHED)
perl 19945 fhem 50u IPv4 2428536 0t0 TCP 192.168.188.200:36558->1 92.168.188.222:1000 (ESTABLISHED)
perl 19945 fhem 51u IPv4 2428529 0t0 TCP 192.168.188.200:8085->19 2.168.188.250:47376 (ESTABLISHED)
perl 19945 fhem 52u IPv4 2428876 0t0 TCP 192.168.188.200:8085->19 2.168.188.250:47383 (ESTABLISHED)
perl 19945 fhem 53u IPv4 2428877 0t0 TCP 192.168.188.200:8085->19 2.168.188.250:47384 (ESTABLISHED)
Ich hätte noch eine anderweitige Frage:
Ich würde gerne die Plots etwas anpassen. Nur leider checke ich nicht, wie man an die entsprechenden Inputs kommt. Ich habe schon gesehn, dass man im SVG Plot bei "Coloumn" die Spalte auswählen kann. Aber woher weiß ich, was in welcher Coloumn steht?
Leider kenne ich mich mit dem Linux-Beriebssystem nicht so tief aus. Deine Augaben sehen für mich nicht unnormal aus.
Alle offenen Dateien sehen plausiebel aus, so viele offenen Verbindungen gibts auch nicht. Was verbirgt sich eigentlich hinter den mehreren aufgelisteten IPs? Es sind jedoch nur 15 Stück. Kann nicht das Problem sein, es sei denn, die Zahl wächst ständig.
Die Columns beziehen sich auf die Lod-Datei. Einfach eine Zeile mit Leerzeichen in einzelenen 'Columns' zerlegt.
Zitat von: hexenmeister am 22 Februar 2015, 13:44:27
Die Columns beziehen sich auf die Lod-Datei. Einfach eine Zeile mit Leerzeichen in einzelenen 'Columns' zerlegt.
Hier mal ein Auszug aus meinem Sysmon-log:
2015-02-22_16:58:33 sysmon ram: Total: 437.68 MB, Used: 161.46 MB, 36.89 %, Free: 276.21 MB
2015-02-22_16:59:33 sysmon cpu_freq: 950
2015-02-22_16:59:33 sysmon eth0_diff: RX: 0.54 MB, TX: 0.87 MB, Total: 1.41 MB
2015-02-22_16:59:33 sysmon cpu_temp_avg: 57.9
2015-02-22_16:59:33 sysmon cpu_temp: 58.91
2015-02-22_16:59:33 sysmon loadavg: 0.44 0.33 0.38
2015-02-22_16:59:33 sysmon ram: Total: 437.68 MB, Used: 164.09 MB, 37.49 %, Free: 273.59 MB
Das sind alle EInträge, die geloggt werden (RPi). In den SVGs hast du aber beim regexp immer nur "sysmon.*" angegeben, also noch nichtmal irgenwas ausgewählt! Und wie bekomme ich da denn dann die Spalte raus? Was ich auch nicht verstehe: Da stehen Daten in den SVGs (label), die garnicht im Log auftauchen......z.B. bei der Auslastung. Hier gibts ja nur ein "loadavg", aber wie kommst du da an die aktuellen Werte?
Die verschiedenen IPs sind HMLAN, Laptop (von dem ich immer zugreife), Fritzbox, FireTV, QNAP,.......
OK, dann gehen die IPs in Ordnung. Wie gesagt, ist unverdächtig. Stürtz noch ab, nach dem Deaktivieren von Sonos?
Die Frage nach Plots verstehe ich nicht. Es gibt doch für SYSMON Beispiel-Plots für alles Mögliche. Was fehlt Dir?
Und die Auslastung: 2015-02-22_16:59:33 sysmon loadavg: 0.44 0.33 0.38
Das sind doch die aktuelle Daten...
Ich habe halt generell noch nicht sooooooo viele Plots eingebunden! 10-20 vllt, aber alles so Standard-Dinger!
2015-02-22_16:59:33 sysmon loadavg: 0.44 0.33 0.38
Das Reading heißt doch loadavg (also Mittelwert).......
Warum stehen da 3 drin? Und was bedeuten sie?
Also ich habe folgendes Problem:
Ich habe ja jetzt den USB-Stick eingebunden:
Filesystem /media/usbstick: Total: 30015 MB, Used: 493 MB, 2 %, Available: 27975 MB at /media/usbstick
Im Log wird folgendes erzeugt:
2015-02-22_22:20:44 sysmon cpu_freq: 950
2015-02-22_22:20:44 sysmon fs_root: Total: 7340 MB, Used: 2678 MB, 39 %, Available: 4320 MB at /
2015-02-22_22:20:44 sysmon eth0_diff: RX: 0.10 MB, TX: 0.42 MB, Total: 0.52 MB
2015-02-22_22:20:44 sysmon cpu_temp_avg: 58.9
2015-02-22_22:20:44 sysmon cpu_temp: 61.07
2015-02-22_22:20:44 sysmon fs_usb1: Total: 30015 MB, Used: 493 MB, 2 %, Available: 27975 MB at /media/usbstick
2015-02-22_22:20:44 sysmon loadavg: 1.00 0.55 0.42
2015-02-22_22:20:44 sysmon fs_boot: Total: 56 MB, Used: 19 MB, 34 %, Available: 38 MB at /boot
2015-02-22_22:20:44 sysmon ram: Total: 437.68 MB, Used: 196.56 MB, 44.91 %, Free: 241.11 MB
Ich möchte nun einen Plot erstellen, der mir den Speicherplatz des USB-Sticks anzeigt. Used in MB und % wäre ok! Nur wie "zähle" ich denn jetzt die Spalten da aus?
Und was ich auch nicht verstehe:
Wenn ich auf das Sysmon vom RPi gehe, werden oben erstmal die Readings angezeigt und darunter die Plots erstellt. Nun gibt es oben das Reading "loadavg" und unten im Plot gibts den entsprechenden Plot mit der load. Da steht dann oben drüber "Min:........, Max:.......,Aktuell:........."
Doch diese 3 Werte stimmen nicht mit loadavg überein. Also woher kommen die?
Was ich eigentlich nur hätte: Ich möchte mir die aktuelle Auslastung des PI auf dem InfoPanel anzeigen. Ich bräuchte also ein Reading mit der aktuellen load des Pi! Nur wo bekomme ich das her?
Im Anhang mal ein Bild welches dir zeigt, was ich meine! Also ich denke im Plot unter "AKtuell" wird die aktuelle Auslastung des PI angezeigt! Wo kommt der Wert her? Dann könnte ich mir den schnappen und im InfoPanel anzeigen!
Hoffe du hast noch etwas Geduld mit mir!
EDIT: Ah, kommt das evtl. aus diesem Reading:
stat_cpu_percent 17.70 0.00 1.54 74.61 5.98 0.00 0.17 2015-02-22 22:46:52
Was ist dann die aktuelle Auslastung? 0.17?
Nimm doch für dein Stick-Plot einfach Dein Plot für die Root-Partitiom (im Bild). Muss ja lediglich kopieren und drin die Bezeichnung austauschen.
Wegen loadavg. Ich würde Dir empfehlen nachzulesen, was das auf Linux bedeutet. Z.B. hier: http://de.wikipedia.org/wiki/Load
Es ist nicht das Prozent-Wert (wie beiu Windows) und kann auch nicht ohne Weiteres darauf umgerechnet werden.
Drei Werten sind für 1, 5 und 15 Minuten. Die Min und Max Werte sind eben Min/Max-Werte für die 1-Min-Load.
Wird auf QNAP auch Readings namens stat_cpu_percent ermittelt? Dann wäre evtl. das eher was für Dich. Da müstest Du den Wert nur noch zusammenaddieren.
Ich sehe sowohl im RPi als auch im QNAP die readings "stat_cpu_text".
RPi:
stat_cpu_text user: 10.64 %, nice: 0.00 %, sys: 1.79 %, idle: 74.04 %, io: 13.45 %, irq: 0.03 %, sirq: 0.05 %
QNAP:
stat_cpu_text user: 1.50 %, nice: 0.00 %, sys: 3.13 %, idle: 93.11 %, io: 0.70 %, irq: 0.00 %, sirq: 1.57 %
So wie ich es in dem von dir geposteten Link verstehe, muss man, um die aktuelle CPU Auslastung in % zu kriegen, die Werte für user, nixe, sys und idle addieren. Dann 1-(idle/Summe)*100 sollte dann die CPU Auslastung in % ergeben.
Das schaue ich mir morgen mal an. Ich würde halt einfach gerne die aktuelle Last im InfoPanel im Bereich Systemstatus darstellen, wo auch schon die CPU temp vom PI, freier Speicher des NAS etc. stehen!
Haste ne Idee, wie man das am einfachsten ausrechnet? Oder muss ich aus dem "stat_cpu_text" erstmal die 4 Summanden extrahieren und dann verrechnen?
Zu dem Plot:
Ja theoretisch haste Recht, nur ich verstehe einfach nicht, wie man auf die Coloumns kommt! Vor allem ist das in den Plots total komisch definiert! Da ist garkein regexp ausgewählt! Das kenne ich so nicht! --> siehe Anhang!
Statt stat_cpu_textsollte man stat_cpu_percent benutzen. Da ist kein Müll drin. Text ist nur für Menschen.
Wenn Du alles aufsummierst kommst Du auf 100%. Wenn Du Idle dabei rauslässt, dann hast Du die Auslastung.
Regexp ist in der Plot-Datei natürlich drin, nur kann ihn anscheinend der Plot-Editor nicht verstehen. Dazu kann ich jedoch nichts sagen. Ich benutzen den Editor nicht.
Ok, scheiss auf die Plots! ;)
Ok, das sieht z.B. so aus:
stat_cpu_percent 16.55 0.00 1.97 81.18 0.18 0.02 0.10
Kannste mir n Tipp geben, wie ich das am besten verrechne? Ach eigentlich müsste ich ja nur den "idle"-Anteil aus dem Reading extrahieren (mit substr?) und dann 100-dem idle-Anteil in ein Reading schreiben! Mal sehn, ob ich das mit meinen bescheidenen Perlkenntnissen hinbekomme!
Noch was am Rande:
Sysmon bzgl. QNAP scheint manchmal Probleme zu haben. Hier mal ein verbose5 Logauszug (letzte Zeile steht der perfMon drin):
2015.02.24 11:40:21.576 4: BlockingCall created child (6664), uses telnetForBlockingFn to connect back
2015.02.24 11:40:21.621 5: SMARTMON Qnap419P: SYSMON_blockingCall.817 Qnap419P,
2015.02.24 11:40:28.876 5: SMARTMON Qnap419P: SYSMON_obtainParameters.979 Qnap419P: Open shared telnet connection
2015.02.24 11:40:28.881 5: SMARTMON Qnap419P: SYSMON_readPassword.3299 Read password from file
2015.02.24 11:40:28.899 5: SMARTMON Qnap419P: SYSMON_Open_Connection.3393 Open Telnet connection to 192.168.188.21:13131
2015.02.24 11:40:28.907 4: HTTP FHEMWEB:192.168.188.250:39902 GET /fhem/btip/myInfoPanel.html
2015.02.24 11:40:28.937 5: SMARTMON Qnap419P: SYSMON_Open_Connection.3407 Wait for user or password prompt.
2015.02.24 11:40:28.988 5: SMARTMON Qnap419P: SYSMON_Open_Connection.3426 Entering user name
2015.02.24 11:40:28.991 5: SMARTMON Qnap419P: SYSMON_Open_Connection.3429 Wait for password prompt
2015.02.24 11:40:29.028 5: SMARTMON Qnap419P: SYSMON_Open_Connection.3444 Entering password
2015.02.24 11:40:29.030 5: SMARTMON Qnap419P: SYSMON_Open_Connection.3447 Wait for command prompt
2015.02.24 11:40:29.064 4: HttpUtils url=http://www.dwd.de/dyn/app/ws/maps/EM_x_x_0.gif
2015.02.24 11:40:29.121 4: http://www.dwd.de/dyn/app/ws/maps/EM_x_x_0.gif: HTTP response code 200
2015.02.24 11:40:29.122 4: HttpUtils http://www.dwd.de/dyn/app/ws/maps/EM_x_x_0.gif: Got data, length: 8077
2015.02.24 11:40:29.141 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3614 Execute ''
2015.02.24 11:40:29.180 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3614 Execute '[ -d /proc/ ] && echo 1 || echo 0'
2015.02.24 11:40:29.220 5: SMARTMON Qnap419P: SYSMON_Exec.3559 Result L: '1'
2015.02.24 11:40:29.221 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3614 Execute 'cat /proc/uptime'
2015.02.24 11:40:29.260 5: SMARTMON Qnap419P: SYSMON_Exec.3559 Result L: '2562087.63 2476785.53'
2015.02.24 11:40:29.261 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3614 Execute '[ -f /sys/devices/system/cpu/kernel_max ] && echo 1 || echo 0'
2015.02.24 11:40:29.280 5: SMARTMON Qnap419P: SYSMON_Exec.3559 Result L: '1'
2015.02.24 11:40:29.282 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3614 Execute 'cat /sys/devices/system/cpu/kernel_max'
2015.02.24 11:40:29.319 5: SMARTMON Qnap419P: SYSMON_Exec.3559 Result L: '0'
2015.02.24 11:40:29.322 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3614 Execute '[ -f /sys/devices/system/cpu/cpu1/cpufreq/scaling_cur_freq ] && echo 1 || echo 0'
2015.02.24 11:40:29.370 5: SMARTMON Qnap419P: SYSMON_Exec.3559 Result L: '0'
2015.02.24 11:40:29.371 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3614 Execute 'cat /proc/loadavg'
2015.02.24 11:40:29.409 5: SMARTMON Qnap419P: SYSMON_Exec.3559 Result L: '2.31 2.56 2.49 1/210 11372'
2015.02.24 11:40:29.411 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3614 Execute 'cat /proc/stat'
2015.02.24 11:40:29.454 5: SMARTMON Qnap419P: SYSMON_Exec.3552 Result A: '$VAR1 = 'cpu 2772356 48 3919660 247678568 1558122 0 280026 0 0 0
';
$VAR2 = 'cpu0 2772356 48 3919660 247678568 1558122 0 280026 0 0 0
';
$VAR3 = 'intr 355348141 0 256208780 0 0 0 22874250 2 2 2 7332986 0 33661621 0 0 0 33732533 0 0 0 28 0 0 12 0 0 0 0 0 0 449 0 0 0 74 1537402 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 949386665
';
$VAR5 = 'btime 1422212342
';
$VAR6 = 'processes 3660009
';
$VAR7 = 'procs_running 1
';
$VAR8 = 'procs_blocked 0
';
$VAR9 = 'softirq 395198168 0 256208780 512413 68950205 9108982 0 22870196 0 0 37547592
';
'
2015.02.24 11:40:29.469 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3614 Execute 'free'
2015.02.24 11:40:29.511 5: SMARTMON Qnap419P: SYSMON_Exec.3552 Result A: '$VAR1 = ' total used free shared buffers
';
$VAR2 = ' Mem: 515500 488484 27016 0 95136
';
$VAR3 = ' Swap: 530044 119180 410864
';
$VAR4 = 'Total: 1045544 607664 437880
';
'
2015.02.24 11:40:29.513 5: SMARTMON Qnap419P: SYSMON_getNetworkInfo.2295 get eth0
2015.02.24 11:40:29.515 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3614 Execute 'ifconfig eth0 2>&1'
2015.02.24 11:40:29.572 5: SMARTMON Qnap419P: SYSMON_Exec.3552 Result A: '$VAR1 = 'eth0 Link encap:Ethernet HWaddr 00:08:9B:C4:98:46
';
$VAR2 = ' UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
';
$VAR3 = ' RX packets:41742044 errors:0 dropped:0 overruns:0 frame:0
';
$VAR4 = ' TX packets:33057673 errors:0 dropped:0 overruns:0 carrier:0
';
$VAR5 = ' collisions:0 txqueuelen:532
';
$VAR6 = ' RX bytes:3121616185 (2.9 GiB) TX bytes:440713960 (420.2 MiB)
';
$VAR7 = ' Interrupt:15
';
'
2015.02.24 11:40:29.575 5: SMARTMON Qnap419P: SYSMON_getNetworkInfo.2307 SYSMON_getNetworkInfo>>>>>>>>>>>>>>>>$VAR1 = 'eth0 Link encap:Ethernet HWaddr 00:08:9B:C4:98:46
';
$VAR2 = ' UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
';
$VAR3 = ' RX packets:41742044 errors:0 dropped:0 overruns:0 frame:0
';
$VAR4 = ' TX packets:33057673 errors:0 dropped:0 overruns:0 carrier:0
';
$VAR5 = ' collisions:0 txqueuelen:532
';
$VAR6 = ' RX bytes:3121616185 (2.9 GiB) TX bytes:440713960 (420.2 MiB)
';
$VAR7 = ' Interrupt:15
';
2015.02.24 11:40:29.589 5: SMARTMON Qnap419P: SYSMON_getNetworkInfo.2295 get wlan0
2015.02.24 11:40:29.590 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3614 Execute 'ifconfig wlan0 2>&1'
2015.02.24 11:40:29.629 5: SMARTMON Qnap419P: SYSMON_Exec.3559 Result L: 'ifconfig: wlan0: error fetching interface information: Device not found'
2015.02.24 11:40:29.631 5: SMARTMON Qnap419P: SYSMON_getNetworkInfo.2307 SYSMON_getNetworkInfo>>>>>>>>>>>>>>>>$VAR1 = 'ifconfig: wlan0: error fetching interface information: Device not found';
2015.02.24 11:40:29.633 5: SMARTMON Qnap419P: SYSMON_getFileSystemInfo.2197 get fs_HDD_gesamt:/share/MD0_DATA
2015.02.24 11:40:29.634 5: SMARTMON Qnap419P: SYSMON_getFileSystemInfo.2208 exec df /share/MD0_DATA -m 2>/dev/null
2015.02.24 11:40:29.635 5: SMARTMON Qnap419P: SYSMON_Exec_Remote.3614 Execute 'df /share/MD0_DATA -m 2>/dev/null'
2015.02.24 11:40:29.690 5: SMARTMON Qnap419P: SYSMON_Exec.3552 Result A: '$VAR1 = 'Filesystem 1M-blocks Used Available Use% Mounted on
';
$VAR2 = '/dev/md0 5628857 5332168 296177 95% /share/MD0_DATA
';
'
2015.02.24 11:40:29.691 5: SMARTMON Qnap419P: SYSMON_getFileSystemInfo.2213 recieved 2 lines
2015.02.24 11:40:29.692 5: SMARTMON Qnap419P: SYSMON_getFileSystemInfo.2230 recieved line0 Filesystem 1M-blocks Used Available Use% Mounted on
2015.02.24 11:40:29.693 5: SMARTMON Qnap419P: SYSMON_getFileSystemInfo.2249 analyse line /dev/md0 5628857 5332168 296177 95% /share/MD0_DATA
for /share/MD0_DATA
2015.02.24 11:40:29.695 5: SMARTMON Qnap419P: SYSMON_getFileSystemInfo.2258 pattern (/share/MD0_DATA) found
2015.02.24 11:40:29.707 5: SMARTMON Qnap419P: SYSMON_getFileSystemInfo.2264 use line /dev/md0 5628857 5332168 296177 95% /share/MD0_DATA
2015.02.24 11:40:29.709 5: SMARTMON Qnap419P: SYSMON_obtainParameters.999 Qnap419P: Close shared telnet connection
2015.02.24 11:40:29.712 5: SMARTMON Qnap419P: SYSMON_Close_Connection.3496 Close Telnet connection
2015.02.24 11:40:29.950 4: InfoPanel: looking for img /opt/fhem/www/images/RSS/Alarm_unscharf.png
2015.02.24 11:40:29.950 4: InfoPanel: reading from filesystem
2015.02.24 11:40:29.952 4: InfoPanel: file found.
2015.02.24 11:40:30.152 4: InfoPanel: looking for img /opt/fhem/www/images/RSS/Garage_zu.png
2015.02.24 11:40:30.152 4: InfoPanel: reading from filesystem
2015.02.24 11:40:30.154 4: InfoPanel: file found.
2015.02.24 11:40:30.190 4: InfoPanel: read file /opt/fhem/www/images/fhemSVG/fts_door_right.svg for changeColor
2015.02.24 11:40:30.190 4: InfoPanel: looking for img /opt/fhem/www/images/fhemSVG/fts_door_right.svg
2015.02.24 11:40:30.191 4: InfoPanel: reading from filesystem
2015.02.24 11:40:30.192 4: InfoPanel: file found.
2015.02.24 11:40:30.193 4: InfoPanel: changing color from 000000 to 01DF01
2015.02.24 11:40:30.336 4: InfoPanel: read file /opt/fhem/www/images/fhemSVG/fts_door_right.svg for changeColor
2015.02.24 11:40:30.337 4: InfoPanel: looking for img /opt/fhem/www/images/fhemSVG/fts_door_right.svg
2015.02.24 11:40:30.338 4: InfoPanel: reading from filesystem
2015.02.24 11:40:30.340 4: InfoPanel: file found.
2015.02.24 11:40:30.341 4: InfoPanel: changing color from 000000 to 01DF01
2015.02.24 11:40:30.627 4: InfoPanel: looking for img /opt/fhem/www/images/RSS/battery_ok.png
2015.02.24 11:40:30.628 4: InfoPanel: reading from filesystem
2015.02.24 11:40:30.629 4: InfoPanel: file found.
2015.02.24 11:40:30.673 4: InfoPanel: looking for img /opt/fhem/www/images/RSS/battery_ok.png
2015.02.24 11:40:30.673 4: InfoPanel: reading from filesystem
2015.02.24 11:40:30.675 4: InfoPanel: file found.
2015.02.24 11:40:30.720 4: InfoPanel: looking for img /opt/fhem/www/images/RSS/battery_ok.png
2015.02.24 11:40:30.721 4: InfoPanel: reading from filesystem
2015.02.24 11:40:30.722 4: InfoPanel: file found.
2015.02.24 11:40:30.766 4: InfoPanel: looking for img /opt/fhem/www/images/RSS/battery_ok.png
2015.02.24 11:40:30.767 4: InfoPanel: reading from filesystem
2015.02.24 11:40:30.768 4: InfoPanel: file found.
2015.02.24 11:40:30.812 4: InfoPanel: looking for img /opt/fhem/www/images/RSS/battery_ok.png
2015.02.24 11:40:30.813 4: InfoPanel: reading from filesystem
2015.02.24 11:40:30.814 4: InfoPanel: file found.
2015.02.24 11:40:30.858 4: InfoPanel: looking for img /opt/fhem/www/images/RSS/battery_ok.png
2015.02.24 11:40:30.859 4: InfoPanel: reading from filesystem
2015.02.24 11:40:30.860 4: InfoPanel: file found.
2015.02.24 11:40:30.904 4: InfoPanel: looking for img /opt/fhem/www/images/RSS/battery_ok.png
2015.02.24 11:40:30.905 4: InfoPanel: reading from filesystem
2015.02.24 11:40:30.906 4: InfoPanel: file found.
2015.02.24 11:40:30.950 4: InfoPanel: looking for img /opt/fhem/www/images/RSS/battery_ok.png
2015.02.24 11:40:30.951 4: InfoPanel: reading from filesystem
2015.02.24 11:40:30.952 4: InfoPanel: file found.
2015.02.24 11:40:30.996 4: InfoPanel: looking for img /opt/fhem/www/images/RSS/battery_ok.png
2015.02.24 11:40:30.997 4: InfoPanel: reading from filesystem
2015.02.24 11:40:30.998 4: InfoPanel: file found.
2015.02.24 11:40:31.042 4: InfoPanel: looking for img /opt/fhem/www/images/RSS/battery_ok.png
2015.02.24 11:40:31.043 4: InfoPanel: reading from filesystem
2015.02.24 11:40:31.044 4: InfoPanel: file found.
2015.02.24 11:40:31.143 4: InfoPanel: looking for img ./www/images/default/weather/partly_cloudy.png
2015.02.24 11:40:31.143 4: InfoPanel: reading from filesystem
2015.02.24 11:40:31.145 4: InfoPanel: file found.
2015.02.24 11:40:31.176 4: InfoPanel: looking for img /opt/fhem/www/images/InfoPanel/Sonnenaufgang.png
2015.02.24 11:40:31.177 4: InfoPanel: reading from filesystem
2015.02.24 11:40:31.178 4: InfoPanel: file found.
2015.02.24 11:40:31.204 4: InfoPanel: looking for img /opt/fhem/www/images/InfoPanel/Sonnenuntergang.png
2015.02.24 11:40:31.205 4: InfoPanel: reading from filesystem
2015.02.24 11:40:31.207 4: InfoPanel: file found.
2015.02.24 11:40:31.310 4: InfoPanel: looking for img /opt/fhem/www/images/default/weather/chance_of_rain.png
2015.02.24 11:40:31.311 4: InfoPanel: reading from filesystem
2015.02.24 11:40:31.312 4: InfoPanel: file found.
2015.02.24 11:40:31.399 4: InfoPanel: looking for img /opt/fhem/www/images/default/weather/partly_cloudy.png
2015.02.24 11:40:31.400 4: InfoPanel: reading from filesystem
2015.02.24 11:40:31.401 4: InfoPanel: file found.
2015.02.24 11:40:31.487 4: InfoPanel: looking for img /opt/fhem/www/images/default/weather/scatteredthunderstorms.png
2015.02.24 11:40:31.488 4: InfoPanel: reading from filesystem
2015.02.24 11:40:31.490 4: InfoPanel: file found.
2015.02.24 11:40:31.576 4: InfoPanel: looking for img /opt/fhem/www/images/default/weather/partly_cloudy.png
2015.02.24 11:40:31.577 4: InfoPanel: reading from filesystem
2015.02.24 11:40:31.578 4: InfoPanel: file found.
2015.02.24 11:40:32.069 5: Triggering myInfoPanel (1 changes)
2015.02.24 11:40:32.070 5: Notify loop for myInfoPanel Tue Feb 24 11:40:32 2015
2015.02.24 11:40:32.126 4: eventTypes: InfoPanel myInfoPanel Tue Feb 24 11:40:32 2015 -> Tue Feb .* .*:.*:.* .*
2015.02.24 11:40:32.127 4: eventTypes: InfoPanel myInfoPanel state: Tue Feb 24 11:40:32 2015 -> state: Tue Feb .* .*:.*:.* .*
2015.02.24 11:40:32.456 4: 19945:FHEMWEB:192.168.188.250:39902: /fhem/btip/myInfoPanel.html / RL:188628 / text/html; charset=utf-8 / Content-Encoding: gzip
/
2015.02.24 11:40:32.477 4: Connection closed for FHEMWEB:192.168.188.250:39897: EOF
2015.02.24 11:40:32.483 5: HMLAN_Send: HMLAN1 I:K
2015.02.24 11:40:32.488 1: Perfmon: possible freeze starting at 11:40:22, delay is 10.487
Kannste damit was anfangen?
Und dann habe ich jetzt folgende Perl Warnings im Log:
2015.02.24 11:47:22.146 1: PERL WARNING: Use of uninitialized value $used2 in division (/) at ./FHEM/42_SYSMON.pm line 1953.
2015.02.24 11:47:22.148 1: PERL WARNING: Use of uninitialized value $free2 in division (/) at ./FHEM/42_SYSMON.pm line 1954.
Sagt dir das was?
Und dann hatte ich letzte Nacht um 0 Uhr wieder die Meldung, das der Speicher am QNAP=0 ist! Habe jetzt auch ein verbose5 log dazu! Ist was länger, daher s. Anhang!
SYSMON-Probleme sehe ich da nicht unbedingt. Ich denke nicht, dass die 10 Sekunden von SYSMON verbraucht werden. Was sagt apptime?
Die Warnings schaue ich mir heute abends an.
Im angehängtem Log sehe ich lediglich eine HDD-Abfrage, die Fehlschlägt. Eine erfolgreiche ist nicht dabei. Ging das schon mal?
Leider verstehe ich noch nicht, wie zuden besagten Warnings kommt. Dass alle drei Werte ungültig sind - ok, aber nur zwei davon???
@hexemmeister ,
leider bekomme ich zur Zeit einige Warnings im Logfile :-( Bekommt man die noch irgendwie weg ?
2015.03.09 10:31:35 1: PERL WARNING: Use of uninitialized value $free2 in division (/) at ./FHEM/42_SYSMON.pm line 1954.
2015.03.09 10:31:35 1: PERL WARNING: Use of uninitialized value $used2 in division (/) at ./FHEM/42_SYSMON.pm line 1953.
2015.03.09 10:01:11 3: LaCrosse: Unknown device 38, please define it
2015.03.09 09:10:27 1: PERL WARNING: Use of uninitialized value $free2 in division (/) at ./FHEM/42_SYSMON.pm line 1954.
2015.03.09 09:10:27 1: PERL WARNING: Use of uninitialized value $used2 in division (/) at ./FHEM/42_SYSMON.pm line 1953.
2015.03.09 08:25:22 1: PERL WARNING: Argument "6969318.27 26664303.80" isn't numeric in int at ./FHEM/42_SYSMON.pm line 1552.
2015.03.09 08:25:22 1: PERL WARNING: Use of uninitialized value $uptime in int at ./FHEM/42_SYSMON.pm line 1421.
2015.03.09 08:25:22 1: PERL WARNING: Use of uninitialized value in split at ./FHEM/42_SYSMON.pm line 1420.
2015.03.09 08:25:22 1: PERL WARNING: Use of uninitialized value $string in substitution (s///) at ./FHEM/99_Utils.pm line 132.
2015.03.09 08:25:22 1: PERL WARNING: Use of uninitialized value $string in substitution (s///) at ./FHEM/99_Utils.pm line 131.
2015.03.09 08:23:22 1: PERL WARNING: Argument "cat: /sys/class/net/wlan0/statistics/rx_bytes: No such f..." isn't numeric in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2389.
2015.03.09 08:23:22 1: PERL WARNING: Argument "ifconfig: wlan0: error fetching interface information: D..." isn't numeric in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2389.
2015.03.09 08:06:20 1: PERL WARNING: Argument "cat: /sys/class/net/wlan0/statistics/rx_bytes: No such f..." isn't numeric in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2389.
2015.03.09 08:06:20 1: PERL WARNING: Argument "ifconfig: wlan0: error fetching interface information: D..." isn't numeric in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2389.
2015.03.09 07:50:19 1: PERL WARNING: Use of uninitialized value $free2 in division (/) at ./FHEM/42_SYSMON.pm line 1954.
2015.03.09 07:50:19 1: PERL WARNING: Use of uninitialized value $used2 in division (/) at ./FHEM/42_SYSMON.pm line 1953.
2015.03.09 07:21:48 3: ROOMMATE rr_Timo: AutoGone timer changed state to 'gone'
2015.03.09 05:29:04 1: PERL WARNING: Argument "cat: /sys/class/net/wlan0/statistics/tx_bytes: No such f..." isn't numeric in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2389.
2015.03.09 05:19:03 1: PERL WARNING: Use of uninitialized value $uptime in int at ./FHEM/42_SYSMON.pm line 1421.
2015.03.09 05:19:03 1: PERL WARNING: Use of uninitialized value in split at ./FHEM/42_SYSMON.pm line 1420.
2015.03.09 05:19:03 1: PERL WARNING: Use of uninitialized value $string in substitution (s///) at ./FHEM/99_Utils.pm line 132.
2015.03.09 05:19:03 1: PERL WARNING: Use of uninitialized value $string in substitution (s///) at ./FHEM/99_Utils.pm line 131.
2015.03.09 05:06:34 3: myJeeLink: Unknown code OK LS 4 0 13 192 4 82 34, help me!
2015.03.09 04:53:00 1: PERL WARNING: Argument "cat: /sys/class/net/wlan0/statistics/tx_bytes: No such f..." isn't numeric in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2389.
2015.03.09 04:53:00 1: PERL WARNING: Argument " 05:01:28 up 80 days, 12:22, load average: 0.66, 0.56, 0..." isn't numeric in int at ./FHEM/42_SYSMON.pm line 1552.
2015.03.09 04:53:00 1: PERL WARNING: Use of uninitialized value $la15 in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 1478.
2015.03.09 04:53:00 1: PERL WARNING: Use of uninitialized value $la5 in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 1478.
2015.03.09 04:53:00 1: PERL WARNING: Use of uninitialized value $la1 in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 1478.
2015.03.09 04:53:00 1: PERL WARNING: Use of uninitialized value $la15 in substitution (s///) at ./FHEM/42_SYSMON.pm line 1477.
2015.03.09 04:53:00 1: PERL WARNING: Use of uninitialized value $la5 in substitution (s///) at ./FHEM/42_SYSMON.pm line 1476.
2015.03.09 04:53:00 1: PERL WARNING: Use of uninitialized value $la1 in substitution (s///) at ./FHEM/42_SYSMON.pm line 1475.
2015.03.09 04:53:00 1: PERL WARNING: Use of uninitialized value $la5 in substitution (s///) at ./FHEM/42_SYSMON.pm line 1474.
2015.03.09 04:53:00 1: PERL WARNING: Use of uninitialized value $la1 in substitution (s///) at ./FHEM/42_SYSMON.pm line 1473.
2015.03.09 04:53:00 1: PERL WARNING: Use of uninitialized value in split at ./FHEM/42_SYSMON.pm line 1472.
2015.03.09 04:53:00 1: PERL WARNING: Use of uninitialized value $string in substitution (s///) at ./FHEM/99_Utils.pm line 132.
2015.03.09 04:53:00 1: PERL WARNING: Use of uninitialized value $string in substitution (s///) at ./FHEM/99_Utils.pm line 131.
2015.03.09 04:53:00 1: PERL WARNING: Use of uninitialized value $minutes in addition (+) at ./FHEM/42_SYSMON.pm line 1464.
2015.03.09 04:53:00 1: PERL WARNING: Use of uninitialized value $hours in addition (+) at ./FHEM/42_SYSMON.pm line 1462.
2015.03.09 04:53:00 1: PERL WARNING: Use of uninitialized value in int at ./FHEM/42_SYSMON.pm line 3050.
2015.03.09 04:44:59 1: PERL WARNING: Argument "ifconfig: wlan0: error fetching interface information: D..." isn't numeric in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2389.
2015.03.09 03:47:58 1: PERL WARNING: Use of uninitialized value $uptime in int at ./FHEM/42_SYSMON.pm line 1421.
2015.03.09 03:47:58 1: PERL WARNING: Use of uninitialized value in split at ./FHEM/42_SYSMON.pm line 1420.
2015.03.09 03:47:58 1: PERL WARNING: Use of uninitialized value $string in substitution (s///) at ./FHEM/99_Utils.pm line 132.
2015.03.09 03:47:58 1: PERL WARNING: Use of uninitialized value $string in substitution (s///) at ./FHEM/99_Utils.pm line 131.
2015.03.09 03:41:56 1: PERL WARNING: Argument "cat: /sys/class/net/wlan0/statistics/tx_bytes: No such f..." isn't numeric in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2389.
2015.03.09 03:41:56 1: PERL WARNING: Argument "cat: /sys/class/net/wlan0/statistics/rx_bytes: No such f..." isn't numeric in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2389.
2015.03.09 02:20:55 1: PERL WARNING: Argument "6947451.88 26586458.60" isn't numeric in int at ./FHEM/42_SYSMON.pm line 1552.
2015.03.09 02:20:55 1: PERL WARNING: Use of uninitialized value $uptime in int at ./FHEM/42_SYSMON.pm line 1421.
2015.03.09 02:20:55 1: PERL WARNING: Use of uninitialized value in split at ./FHEM/42_SYSMON.pm line 1420.
2015.03.09 02:20:55 1: PERL WARNING: Use of uninitialized value $string in substitution (s///) at ./FHEM/99_Utils.pm line 132.
2015.03.09 02:20:55 1: PERL WARNING: Use of uninitialized value $string in substitution (s///) at ./FHEM/99_Utils.pm line 131.
2015.03.09 01:54:58 1: PERL WARNING: Use of uninitialized value $uptime in int at ./FHEM/42_SYSMON.pm line 1421.
2015.03.09 01:54:58 1: PERL WARNING: Use of uninitialized value in split at ./FHEM/42_SYSMON.pm line 1420.
2015.03.09 01:54:58 1: PERL WARNING: Use of uninitialized value $string in substitution (s///) at ./FHEM/99_Utils.pm line 132.
2015.03.09 01:54:58 1: PERL WARNING: Use of uninitialized value $string in substitution (s///) at ./FHEM/99_Utils.pm line 131.
2015.03.09 01:20:58 1: PERL WARNING: Use of uninitialized value $uptime in int at ./FHEM/42_SYSMON.pm line 1421.
2015.03.09 01:20:58 1: PERL WARNING: Use of uninitialized value in split at ./FHEM/42_SYSMON.pm line 1420.
2015.03.09 01:20:58 1: PERL WARNING: Use of uninitialized value $string in substitution (s///) at ./FHEM/99_Utils.pm line 132.
2015.03.09 01:20:58 1: PERL WARNING: Use of uninitialized value $string in substitution (s///) at ./FHEM/99_Utils.pm line 131.
2015.03.09 00:51:58 1: PERL WARNING: Use of uninitialized value $uptime in int at ./FHEM/42_SYSMON.pm line 1421.
2015.03.09 00:51:58 1: PERL WARNING: Use of uninitialized value in split at ./FHEM/42_SYSMON.pm line 1420.
2015.03.09 00:51:58 1: PERL WARNING: Use of uninitialized value $string in substitution (s///) at ./FHEM/99_Utils.pm line 132.
2015.03.09 00:51:58 1: PERL WARNING: Use of uninitialized value $string in substitution (s///) at ./FHEM/99_Utils.pm line 131.
2015.03.09 00:12:57 1: PERL WARNING: Use of uninitialized value $uptime in int at ./FHEM/42_SYSMON.pm line 1421.
2015.03.09 00:12:57 1: PERL WARNING: Use of uninitialized value in split at ./FHEM/42_SYSMON.pm line 1420.
2015.03.09 00:12:57 1: PERL WARNING: Use of uninitialized value $string in substitution (s///) at ./FHEM/99_Utils.pm line 132.
2015.03.09 00:12:57 1: PERL WARNING: Use of uninitialized value $string in substitution (s///) at ./FHEM/99_Utils.pm line 131.
Sollte morgen besser werden.
Danke , aber leider kommt immer noch :
2015.03.16 18:08:25 1: PERL WARNING: Argument "cat: /sys/class/net/wlan0/statistics/tx_bytes: No such f..." isn't numeric in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2395.
2015.03.16 18:08:25 1: PERL WARNING: Argument "cat: /sys/class/net/wlan0/statistics/rx_bytes: No such f..." isn't numeric in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2395.
2015.03.16 17:52:25 1: PERL WARNING: Argument "cat: /sys/class/net/wlan0/statistics/tx_bytes: No such f..." isn't numeric in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2395.
2015.03.16 17:52:25 1: PERL WARNING: Argument "cat: /sys/class/net/wlan0/statistics/rx_bytes: No such f..." isn't numeric in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2395.
2015.03.16 17:46:24 1: PERL WARNING: Argument "7607780.91 28665081.75" isn't numeric in int at ./FHEM/42_SYSMON.pm line 1557.
2015.03.16 17:32:24 1: PERL WARNING: Argument " 17:41:25 up 88 days, 1:02, load average: 0.93, 1.19, 1..." isn't numeric in int at ./FHEM/42_SYSMON.pm line 1557.
2015.03.16 17:32:24 1: PERL WARNING: Use of uninitialized value in split at ./FHEM/42_SYSMON.pm line 1474.
2015.03.16 17:32:24 1: PERL WARNING: Use of uninitialized value $string in substitution (s///) at ./FHEM/99_Utils.pm line 132.
2015.03.16 17:32:24 1: PERL WARNING: Use of uninitialized value $string in substitution (s///) at ./FHEM/99_Utils.pm line 131.
2015.03.16 17:32:24 1: PERL WARNING: Use of uninitialized value $minutes in addition (+) at ./FHEM/42_SYSMON.pm line 1466.
2015.03.16 17:32:24 1: PERL WARNING: Use of uninitialized value $hours in addition (+) at ./FHEM/42_SYSMON.pm line 1464.
2015.03.16 17:32:24 1: PERL WARNING: Use of uninitialized value in int at ./FHEM/42_SYSMON.pm line 3056.
Morgen werden es noch paar weniger, den Rest verstehe ich leider nicht, warum das passiert. Kann bei mir leider nicht nachstellen.
ups.... sorry aber es ist viel schlimmer geworden :-(
kleiner Auszug :
2015.03.19 18:09:27 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 18:09:27 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 18:09:27 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 18:08:27 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 18:08:27 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 18:08:27 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 18:07:27 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 18:07:27 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 18:07:27 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 18:06:27 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 18:06:27 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 18:06:27 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 18:05:27 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 18:05:27 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 18:05:27 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 18:05:26 1: PERL WARNING: Argument " 18:14:56 up 91 days, 1:35, load average: 1.07, 0.95, 0..." isn't numeric in int at ./FHEM/42_SYSMON.pm line 1560.
2015.03.19 18:05:26 1: PERL WARNING: Argument "0 days, 1" isn't numeric in sprintf at ./FHEM/42_SYSMON.pm line 1471.
2015.03.19 18:05:26 1: PERL WARNING: Use of uninitialized value in int at ./FHEM/42_SYSMON.pm line 3060.
2015.03.19 18:04:27 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 18:04:27 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 18:04:27 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 18:03:27 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 18:03:27 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 18:03:27 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 18:02:27 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 18:02:27 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 18:02:27 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 18:01:27 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 18:01:27 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 18:01:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 18:00:26 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 18:00:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 18:00:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 17:58:26 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 17:58:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 17:58:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 17:57:27 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 17:57:27 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 17:57:27 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 17:55:26 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 17:55:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 17:55:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 17:54:26 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 17:54:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 17:54:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 17:53:27 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 17:53:27 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 17:53:27 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 17:52:27 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 17:52:27 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 17:52:27 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 17:51:26 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 17:51:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 17:51:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 17:50:26 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 17:50:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 17:50:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 17:49:27 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 17:49:27 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 17:49:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 17:48:26 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 17:48:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 17:48:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 17:47:26 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 17:47:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 17:47:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 17:46:26 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 17:46:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 17:46:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 17:45:27 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 17:45:27 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 17:45:27 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 17:44:26 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 17:44:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 17:44:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 17:43:26 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 17:43:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 17:43:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 17:43:23 1: PERL WARNING: Argument "cat: /sys/class/net/wlan0/statistics/tx_bytes: No such f..." isn't numeric in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 17:43:23 1: PERL WARNING: Argument "cat: /sys/class/net/wlan0/statistics/rx_bytes: No such f..." isn't numeric in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 17:43:22 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 17:43:22 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 17:43:22 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 17:42:26 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 17:42:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 17:42:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 17:41:26 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 17:41:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 17:41:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 17:40:26 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 17:40:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 17:40:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 17:39:26 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 17:39:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 17:39:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 17:38:26 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 17:38:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 17:38:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 17:37:26 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 17:37:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 17:37:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 17:36:26 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 17:36:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 17:36:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 17:35:26 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 17:35:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 17:35:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 17:34:26 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 17:34:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 17:34:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 17:33:26 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 17:33:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 17:33:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
2015.03.19 17:32:26 1: PERL WARNING: Use of uninitialized value $rxRaw in division (/) at ./FHEM/42_SYSMON.pm line 2440.
2015.03.19 17:32:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2432.
2015.03.19 17:32:26 1: PERL WARNING: Use of uninitialized value $rxRaw in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2399.
Ich verstehe überhaupt nicht, was auf deinem System abläuft :(
Ich habe etwas versucht, wir werden morgen sehen...
Hab mal ne Frage am Rande:
Habe auf das reading "frei" ein "event-on-change-reading" und zusätzlich ein "event-min-interval" gesetzt! Aber irgendwie scheint das nicht zu greifen! Es wird fröhlich jede Minute ein Eintrag ins log geschrieben. Hier ein list:
Internals:
DEF Telnet:admin@192.168.188.21:13131 1 1 1 10
HOST 192.168.188.21
INTERVAL_BASE 60
INTERVAL_MULTIPLIERS 1 1 1 10
MODE telnet
NAME Qnap419P
NR 929
PORT 13131
STATE Active
TYPE SYSMON
USER admin
Readings:
2015-03-22 12:08:04 cpu_bogomips 1196.85
2015-03-22 12:18:04 eth0 RX: 3734.84 MB, TX: 676.92 MB, Total: 4411.76 MB
2015-03-22 12:18:04 eth0_diff RX: 2.19 MB, TX: 37.39 MB, Total: 39.58 MB
2015-03-22 12:18:04 eth0_rx 3916268701
2015-03-22 12:18:04 eth0_tx 709798671
2015-03-22 12:18:04 frei 166.2
2015-03-22 12:10:04 fs_HDD_gesamt Total: 5628857 MB, Used: 5462136 MB, 97 %, Available: 166209 MB at /share/MD0_DATA
2015-03-22 12:18:04 idletime 4634252 96.33 %
2015-03-22 12:18:04 idletime_text 53 days, 15 hours, 17 minutes (96.33 %)
2015-03-22 12:18:04 loadavg 1.79 2.16 2.21
2015-03-22 12:18:04 ram Total: 503.42 MB, Used: 409.71 MB, 81.39 %, Free: 93.71 MB
2015-03-22 12:18:04 stat_cpu 5214824 48 7437946 463425274 4055574 0 930239
2015-03-22 12:18:04 stat_cpu_diff 108 0 201 5506 41 0 144
2015-03-22 12:18:04 stat_cpu_percent 1.80 0.00 3.35 91.77 0.68 0.00 2.40
2015-03-22 12:18:04 stat_cpu_text user: 1.80 %, nice: 0.00 %, sys: 3.35 %, idle: 91.77 %, io: 0.68 %, irq: 0.00 %, sirq: 2.40 %
2015-03-22 12:18:04 swap Total: 517.62 MB, Used: 133.97 MB, 25.88 %, Free: 383.65 MB
2015-03-22 12:18:04 uptime 4810638
2015-03-22 12:18:04 uptime_text 55 days, 16 hours, 17 minutes
2015-03-22 12:18:04 wlan0 not available
2015-03-22 12:18:04 wlan0_diff not available
Helper:
error_msg
sys_cpu_freq_rpi_bbb 0
sys_cpu_temp_bbb 0
sys_cpu_temp_rpi 0
sys_fb 0
sys_power_ac 0
sys_power_bat 0
sys_power_usb 0
u_first_mark 1
Cur_readings_map:
cpu_bogomips BogoMIPS
date Date
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
fs_HDD_gesamt Filesystem /share/MD0_DATA
fs_HDD_gesamt_free Filesystem /share/MD0_DATA (free)
fs_HDD_gesamt_used Filesystem /share/MD0_DATA (used)
fs_HDD_gesamt_used_percent Filesystem /share/MD0_DATA (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
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 Network adapter wlan0
wlan0_diff Network adapter wlan0 (diff)
wlan0_ip Network adapter wlan0 (IP)
wlan0_ip6 Network adapter wlan0 (IP6)
wlan0_rx Network adapter wlan0 (RX)
wlan0_tx Network adapter wlan0 (TX)
Attributes:
event-min-interval frei:200
event-on-change-reading frei
filesystems fs_HDD_gesamt:/share/MD0_DATA
room System,Wohnzimmer
userReadings frei { substr((ReadingsVal('Qnap419P','fs_HDD_gesamt','')),54,4)/10}
Ne Idee, was da schief läuft?
Leider keine Idee, die Zusammenspiel von "event-on-change-reading" und "event-min-interval" hat mit SYSMON nichts zu tun. Steht was dazu im Commandref?
Klar! Commandref sagt genau das wie ich es auch verstehe und umgesetzt habe:
Durch setzen von
attr Qnap419p event-on-change-reading frei
sollte das Reading "frei" nur noch events erzeugen, wenn es sich ändert. Dennoch wird jede Minute ein event erzeugt, obwohl sich das reading nicht ändert! Habe dann noch event-min-interval dazugenommen, was jedoch auch nichts bringt!
Guten morgen Hexenmeister ,
nochmals vielen Dank für deinen Support !
Leider habe ich immer noch einiges an Fehlermeldungen bzw. Warnings im Log :-[
2015.03.27 08:18:29 1: PERL WARNING: Use of uninitialized value $t[-1] in int at ./FHEM/42_SYSMON.pm line 3136.
2015.03.27 08:17:29 1: PERL WARNING: Use of uninitialized value $t[-1] in int at ./FHEM/42_SYSMON.pm line 3136.
2015.03.27 08:16:29 1: PERL WARNING: Use of uninitialized value $t[-1] in int at ./FHEM/42_SYSMON.pm line 3136.
2015.03.27 08:15:29 1: PERL WARNING: Use of uninitialized value $t[-1] in int at ./FHEM/42_SYSMON.pm line 3136.
2015.03.27 08:15:26 1: PERL WARNING: Argument " 08:15:50 up 2 days, 17:15, load average: 0.29, 0.24, 0...." isn't numeric in int at ./FHEM/42_SYSMON.pm line 1574.
2015.03.27 08:15:26 1: PERL WARNING: Argument "0 days, 1" isn't numeric in sprintf at ./FHEM/42_SYSMON.pm line 1485.
2015.03.27 08:15:26 1: PERL WARNING: Use of uninitialized value in int at ./FHEM/42_SYSMON.pm line 3081.
2015.03.27 08:14:29 1: PERL WARNING: Use of uninitialized value $t[-1] in int at ./FHEM/42_SYSMON.pm line 3136.
2015.03.27 08:13:29 1: PERL WARNING: Use of uninitialized value $t[-1] in int at ./FHEM/42_SYSMON.pm line 3136.
2015.03.27 08:12:29 1: PERL WARNING: Use of uninitialized value $t[-1] in int at ./FHEM/42_SYSMON.pm line 3136.
2015.03.27 08:11:29 1: PERL WARNING: Use of uninitialized value $t[-1] in int at ./FHEM/42_SYSMON.pm line 3136.
2015.03.27 08:10:29 1: PERL WARNING: Use of uninitialized value $t[-1] in int at ./FHEM/42_SYSMON.pm line 3136.
2015.03.27 08:09:29 1: PERL WARNING: Use of uninitialized value $t[-1] in int at ./FHEM/42_SYSMON.pm line 3136.
2015.03.27 08:08:29 1: PERL WARNING: Use of uninitialized value $t[-1] in int at ./FHEM/42_SYSMON.pm line 3136.
2015.03.27 08:07:29 1: PERL WARNING: Use of uninitialized value $t[-1] in int at ./FHEM/42_SYSMON.pm line 3136.
2015.03.27 08:06:29 1: PERL WARNING: Use of uninitialized value $t[-1] in int at ./FHEM/42_SYSMON.pm line 3136.
2015.03.27 08:05:29 1: PERL WARNING: Use of uninitialized value $t[-1] in int at ./FHEM/42_SYSMON.pm line 3136.
2015.03.27 08:04:48 1: PERL WARNING: Use of uninitialized value in string ne at fhem.pl line 3724.
bekommt man die noch weg ,oder liegt es an meiner Konfig ?
Ich würde ja gerne helfen, nur ich habe keine Vorstellung, was bei Deinem System so alles anders läuft... Daher verstehe ich die Ursachen für die Meldungen nicht wirklich. So ist das leider ein Stochern im Nebel...
Probiere mal die angehängte Version, ich hoffe, es wird noch etwas weniger. Außerdem würde mich interessieren, was Dein System für folgendes Befehl ausgibt:
cat /proc/uptime
Grüße,
Alexander
Hi ,
sorry ....hartes WE :-)
auf dem Cubietruck ( Fhem )
520808.21 987287.08
auf der Qnap 469L
525974.30 2001583.86
auf der Qnap 219P
519337.62 488236.56
Danke, die Werte sind völlig normal. Ich verstehe überhaupt nichts mehr :o
Sind die Warnungen etwas weniger geworden?
Hi Hexenmeister,
Ich klinke mich jetzt doch mal ein... Ich habe würde gerne einen QNAP TS412 remote monitoren, bekomme aber weder CPU-Temperatur noch verfügbaren Dicspace - das wären eigentlich die mir am wichtigsten Attrbute... Kann man da was machen?
Danke,
Grüße,
Oli
Bei der Hardware, die ich nicht habe, brauche ich Zuarbeit. Wie kommt man an die entsprechende Daten?
Discspace hätte ich eigentlich erwartet, dass es funktioniert. Was liefert df?
Hi,
danke für die schnelle Antwort.
Filesystem Size Used Available Use% Mounted on
/dev/ramdisk 32.9M 16.3M 16.6M 50% /
tmpfs 32.0M 172.0k 31.8M 1% /tmp
/dev/sda4 371.0M 333.7M 37.3M 90% /mnt/ext
/dev/md9 509.5M 146.1M 363.4M 29% /mnt/HDA_ROOT
/dev/md0 1.8T 981.9G 849.9G 54% /share/MD0_DATA
MD0_DATA (849,9G) ist der tatsächlich verfügbare Wert.
mit
[~] # getsysinfo systmp
41 C/105 F
lässt sich die Systemtemperatur auslesen
Interessant sind auch noch
[~] # getsysinfo hdtmp 1
35 C/95 F[~] # getsysinfo hdtmp 2
35 C/95 F[~] #
Grüße,
Oli
Diskdaten sehen gut aus. Dann musst Du nur entsprechend den Attribut filesystems konfigurieren (für /share/MD0_DATA).
Die Tools für die Systemparameter sind wohl zu QNAP-spezifisch, um sie fest einzubauen, aber Du kannst sie entsprechend mit dem Attribut user-fn und Verwendung der Funktion SYSMON_execute zusammenbauen.
Den Wert fragst Du dann in etwa so ab:
my $val = SYSMON_execute($hash, "getsysinfo systmp");
Dann ggf. noch etwas aufbereiten.
Definition für user-fn:
Zitatuser-fn <fn_name>:<Interval_Minutes>:<reading_name1>:<reading_name2>...[:<reading_nameX>],...
Liste der benutzerdefinierten Perlfunktionen.
Als <fn_name> können entweder Name einer Perlfunktion oder ein Perlausdruck verwendet werden. Die Perlfunktion bekommt den Device-Hash als Übergabeparameter und muss ein Array mit Werte liefern. Diese Werte werden entsprechend den Parameter <reading_nameX> in Readings übernommen.
Ein Perlausdruck muss in geschweifte Klammer eingeschlossen werden und kann folgende Paramter verwenden: $HASH (Device-Hash) und $NAME (Device-Name). Rückgabe wird analog einer Perlfunktion erwartet.
also etwas wie (ungetestet):
attr sysmon user-fn {my $val=SYSMON_execute($hash,"getsysinfo systmp");;my($tc,$tf)=split(/\//,$val);;$tc}:10:cpu_temperature
Zitat von: hexenmeister am 30 März 2015, 21:58:00
Danke, die Werte sind völlig normal. Ich verstehe überhaupt nichts mehr :o
Sind die Warnungen etwas weniger geworden?
Ja ! Ist deutlich weniger geworden *freu !!!
2015.03.31 03:23:18 1: PERL WARNING: Argument "cat: /sys/class/net/wlan0/statistics/tx_bytes: No such f..." isn't numeric in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2468.
2015.03.31 03:23:18 1: PERL WARNING: Argument "cat: /sys/class/net/wlan0/statistics/rx_bytes: No such f..." isn't numeric in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2468.
2015.03.31 03:08:17 1: PERL WARNING: Argument "cat: /sys/class/net/wlan0/statistics/tx_bytes: No such f..." isn't numeric in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2468.
2015.03.31 03:08:17 1: PERL WARNING: Argument "cat: /sys/class/net/wlan0/statistics/rx_bytes: No such f..." isn't numeric in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2468.
2015.03.31 02:55:15 1: PERL WARNING: Argument " 02:55:49 up 6 days, 10:55, load average: 0.13, 0.10, 0...." isn't numeric in int at ./FHEM/42_SYSMON.pm line 1602.
2015.03.31 02:55:15 1: PERL WARNING: Argument "0 days, 1" isn't numeric in sprintf at ./FHEM/42_SYSMON.pm line 1513.
2015.03.31 02:55:15 1: PERL WARNING: Use of uninitialized value in int at ./FHEM/42_SYSMON.pm line 3129.
Zitat von: hexenmeister am 30 März 2015, 23:13:47
Diskdaten sehen gut aus. Dann musst Du nur entsprechend den Attribut filesystems konfigurieren (für /share/MD0_DATA).
Die Tools für die Systemparameter sind wohl zu QNAP-spezifisch, um sie fest einzubauen, aber Du kannst sie entsprechend mit dem Attribut user-fn und Verwendung der Funktion SYSMON_execute zusammenbauen.
Den Wert fragst Du dann in etwa so ab:
my $val = SYSMON_execute($hash, "getsysinfo systmp");
Dann ggf. noch etwas aufbereiten.
Definition für user-fn:
also etwas wie (ungetestet):
attr sysmon user-fn {my $val=SYSMON_execute($hash,"getsysinfo systmp");;my($tc,$tf)=split(/\//,$val);;$tc}:10:cpu_temperature
hmmm , denke es gibt nur 2 Unterschiede Qnap mit Intel oder Arm -die kleine mit ARM Cpu liefert bei mir auch keine CPU Temp. -bei der Intel CPU funzt es
Hi Hexenmeister,
danke dir...
ZitatDann musst Du nur entsprechend den Attribut filesystems konfigurieren (für /share/MD0_DATA).
da hättest du auch RTFM schreiben dürfen (Grummel, das hätte ich selbst sehen müssen meine ich)
Mit der user-fn kämpfe ich noch ein bisschen. Das Log liefert mir:
2015.03.31 23:08:06 1: PERL WARNING: Use of uninitialized value $uInterval in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 1267.
2015.03.31 23:08:06 5: SYSMON qnap: obtainParameters_intern.1267 User-Defined Fn: [{my $val=SYSMON_execute($hash][]
2015.03.31 23:08:06 5: SYSMON qnap: obtainParameters_intern.1267 User-Defined Fn: ['getsysinfo systmp')}][1]
2015.03.31 23:08:06 5: SYSMON qnap: getUserDefinedFn.1391 call User-Function: ['getsysinfo systmp')}]
Sieht aus, als würde irgendwas mit den Klammern schief stehen, tut's aber nicht...
Wenn du da noch eine Idee hast...
Danke,
Oli
Zitat von: Aladin222 am 31 März 2015, 04:22:01
Ja ! Ist deutlich weniger geworden *freu !!!
Schon mal gut, aber es gibt irgendwo noch einen bug, den ich gerade nicht sehe. Scheint irgendwo bei der Parameterübergabe (alle ausgelesenen Werte in einem Rutsch) eine Verschiebung stattfinden, so dass die Werte falsch zugeordnen werden. Komischer passiert das wohl nur auf Deinem Gerät und auch nicht immer ???
Zitat von: KernSani am 31 März 2015, 23:10:59
da hättest du auch RTFM schreiben dürfen (Grummel, das hätte ich selbst sehen müssen meine ich)
;D
Zitat
Sieht aus, als würde irgendwas mit den Klammern schief stehen, tut's aber nicht...
Mein Fehler. Die Kommas innerhalb der Klammer waren ein Problem.
Ich checke gleich eine neue Version ein. Dann sollte gehen. Kommas innerhalb der Definition einer Funktion dürfen nicht von Leerzeichen gefolgt werden. Mehrere Funktionen müssen mit Kommas und Leerzeichen getrennt werden. Aber eigentlich reicht immer eine, da mehrere Readings liefern darf. Wenn gar zu komplex wird, sollte je in eine Funktion in myUtils ausgelagert werden.
Grüße,
Alexander
Hi Alexander,
sehr cool, jetzt klappt auch die user-fn. Vielen Dank für die schnelle Hilfe.
Letzte Frage noch: Der NAS fährt nachts runter. Ich schalte dann den SYSMON mit disable 1 ab, dass er mir nicht das Log mit "Could not connect..." voll spamt. Gibt es eine elegantere Möglichkeit?
Grüße,
Oli
Bis jetzt nicht. Hast Du einen Lösungsvorschlag?
nicht wirklich... irgendwie inaktiv setzen, ohne dass das dirty flag gesetzt wird vielleicht. Ich kann aber auch mit dem disable leben.
Falls es jemanden interessiert, die quick'n dirty Lösung, um die oben beschriebenen Paramter des QNAP auszulesen:
user-fn
{myUtils_qnapInfo($hash,"systmp");}:10:cpu_temperature, {myUtils_qnapInfo($hash,"hdtmp 1");}:10:hdd1_tmp, {myUtils_qnapInfo($hash,"hdtmp 2");}:10:hdd2_tmp
mit
sub myUtils_qnapInfo($$) {
my ($hash,$cmd) = @_;
my $val=SYSMON_execute($hash,"getsysinfo ".$cmd);
my($tc,$tf)=split(/\//,$val);
return $tc.'°'
}
Grüße,
Oli
Zitat von: KernSani am 01 April 2015, 10:52:24
nicht wirklich... irgendwie inaktiv setzen, ohne dass das dirty flag gesetzt wird vielleicht. Ich kann aber auch mit dem disable leben.
Nun ja, aber genau das macht ja schon disable Flag... Eine gute Idee habe ich bis jetzt leider nicht.
Hallo Alexander,
ich habe bei meinem Qnap-TS459-ProII auch einige warnings.
Hilft Dir das weiter?
2015.07.28 09:55:37 1: PERL WARNING: Use of uninitialized value $dataThroughput[0] in index at ./FHEM/42_SYSMON.pm line 2673.
2015.07.28 09:55:37 1: PERL WARNING: Use of uninitialized value $_ in pattern match (m//) at ./FHEM/42_SYSMON.pm line 2690.
2015.07.28 09:55:37 1: PERL WARNING: Use of uninitialized value $_ in pattern match (m//) at ./FHEM/42_SYSMON.pm line 2693.
2015.07.28 09:55:37 1: PERL WARNING: Use of uninitialized value $_ in pattern match (m//) at ./FHEM/42_SYSMON.pm line 2697.
2015.07.28 09:55:37 1: PERL WARNING: Use of uninitialized value $_ in pattern match (m//) at ./FHEM/42_SYSMON.pm line 2700.
2015.07.28 09:55:37 1: PERL WARNING: Use of uninitialized value $_ in pattern match (m//) at ./FHEM/42_SYSMON.pm line 2703.
2015.07.28 09:55:37 1: PERL WARNING: Use of uninitialized value $_ in index at ./FHEM/42_SYSMON.pm line 2707.
2015.07.28 09:55:37 1: PERL WARNING: Argument "cat: /sys/class/net/wlan0/statistics/rx_bytes: No such f..." isn't numeric in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2733.
2015.07.28 09:55:37 1: PERL WARNING: Argument "cat: /sys/class/net/wlan0/statistics/tx_bytes: No such f..." isn't numeric in numeric lt (<) at ./FHEM/42_SYSMON.pm line 2733.
Grundsätzlich gibt es an den Kisten ja auch kein WLAN, kann man das irgendwo unterdrücken?
wlan0 not available
wlan0_diff not available
wlan0_rx cat: /sys/class/net/wlan0/statistics/rx_bytes: No such file or directory
wlan0_speed not available
wlan0_tx cat: /sys/class/net/wlan0/statistics/tx_bytes: No such file or directory
Gruß Stefan
Sollte eigentlich selbst erkennen.
Dafür wird folgendes Befehl an das Betriebssystem geschickt:
[ -f /sys/class/net/wlan0/statistics/rx_bytes ] && echo 1 || echo 0
Was liefert das bei Dir?
Probiere auch mal folgendes in FHEM-Console aus:
{SYSMON_isNetStatClass({},'wlan0')}
Die Warnings habe ich versucht zu beseitigen.
Ja beim NUC steht auch nix von Wlan drin.
Der erste Befehl gibt mir 0 zurück, der zweite eine 1
Das ist komisch, sollten gleiches Ergebnis liefern. Tun bei mir auch. Für existierende und auch nicht existierende Schnittstellen...
Habe so leider keine Idee, aber die Warnungen sollten dennoch nach dem Update weg sein.
OK vielen Dank für Deine Mühe
Hallo Zusammen,
ich frage per Telnet mein QNAP TS-109 II ab.
Das funktioniert auch für CPU, Memory.
Allerdings scheint er sich bei der Abfrage des filesystems zu verschlucken.
Folgendes habe ich in der Konfig stehen:
attr QNAP filesystems fs_extern:/share/external/sdu:HDD_Extern,fs_intern:/share/HDA_DATA:HDD_Intern
df ... -m liefert foogendes:
[~] # df /share/external/sdu -m
Filesystem 1M-blocks Used Available Use% Mounted on
/dev/sdu1 1877784 998847 878937 53% /share/external/sdu
[~] # df /share/HDA_DATA -m
Filesystem 1M-blocks Used Available Use% Mounted on
/dev/sda3 937795 882642 55153 94% /share/HDA_DATA
Wenn ich verbose= 5 setze bekomme ich folgendes:
2016.10.02 13:56:40 5: SYSMON QNAP: getFileSystemInfo.2553 get fs_extern:/share/external/sdu:HDD_Extern
2016.10.02 13:56:40 5: SYSMON QNAP: getFileSystemInfo.2564 exec df /share/external/sdu -m 2>/dev/null
2016.10.02 13:56:40 5: SYSMON QNAP: Exec_Remote.4050 Execute 'df /share/external/sdu -m 2>/dev/null'
2016.10.02 13:56:40 5: SYSMON QNAP: Exec.3997 Result undef
2016.10.02 13:56:40 5: SYSMON QNAP: getFileSystemInfo.2569 recieved 1 lines
2016.10.02 13:56:40 5: SYSMON QNAP: getFileSystemInfo.2589 recieved empty line
2016.10.02 13:56:40 5: SYSMON QNAP: getFileSystemInfo.2553 get fs_intern:/share/HDA_DATA:HDD_Intern
2016.10.02 13:56:40 5: SYSMON QNAP: getFileSystemInfo.2564 exec df /share/HDA_DATA -m 2>/dev/null
2016.10.02 13:56:40 5: SYSMON QNAP: Exec_Remote.4050 Execute 'df /share/HDA_DATA -m 2>/dev/null'
2016.10.02 13:56:40 5: SYSMON QNAP: Exec.3988 Result A: ''Filesystem 1M-blocks Used Available Use% Mounted on
'
'/dev/sdu1 1877784 998847 878937 53% /share/external/sdu
'
'
2016.10.02 13:56:40 5: SYSMON QNAP: getFileSystemInfo.2569 recieved 2 lines
2016.10.02 13:56:40 5: SYSMON QNAP: getFileSystemInfo.2586 recieved line0 Filesystem 1M-blocks Used Available Use% Mounted on
2016.10.02 13:56:40 5: SYSMON QNAP: getFileSystemInfo.2605 analyse line /dev/sdu1 1877784 998847 878937 53% /share/external/sdu
for /share/HDA_DATA
2016.10.02 13:56:40 5: SYSMON QNAP: obtainParameters.1132 QNAP: Close shared telnet connection
2016.10.02 13:56:40 5: SYSMON QNAP: Close_Connection.3932 Close Telnet connection
2016.10.02 13:56:40 5: SYSMON QNAP: blockingFinish.1037 name|QNAP|eth0_speed|2|starttime_text|01.10.2016 19:30:38|cpu_idle_stat|0.00 96.90 92.70|fs_intern|Total: 0 MB, Used: 0 MB, 0 %, Available: 0 MB at /share/HDA_DATA (not available)|cpu_core_count|1|eth0_ip|192.168.1.100|ram|Total: 250.22 MB, Used: 98.56 MB, 39.39 %, Free: 151.66 MB|ram_used_stat|-843.28 235.96 98.08|stat_cpu_diff|322 0 52 5615 11 0 1|starttime|1475343038|stat_cpu|620562 0 82081 5892588 32998 96 7504|uptime|66360|eth0_rx|799631804|stat_cpu_percent|5.37 0.00 0.87 93.57 0.18 0.00 0.02|swap|Total: 517.71 MB, Used: 14.35 MB, 2.77 %, Free: 503.36 MB|stat_cpu_text|user: 5.37 %, nice: 0.00 %, sys: 0.87 %, idle: 93.57 %, io: 0.18 %, irq: 0.00 %, sirq: 0.02 %|eth0_diff|RX: 0.17 MB, TX: 0.09 MB, Total: 0.26 MB|swap_used_stat|0.00 4291.03 14.31|fs_extern|Total: 0 MB, Used: 0 MB, 0 %, Available: 0 MB at /share/external/sdu (not available)|uptime_text|0 days, 18 hours, 26 minutes|loadavg|0.07 0.11 0.23|idletime|59286 89.34 %|eth0|RX: 762.59 MB, TX: 1009.68 MB, Total: 1772.27 MB|eth0_tx|1058727733|idletime_text|0 days, 16 hours, 28 minutes (89.34 %)
Füge ich zusätzlich irgendwelche Dummy-Filesystem-Abfragen ein (so ungefähr: dummy1:/share/external/sdu:HDD_Extern,fs_extern:/share/external/sdu:HDD_Extern,dummy2:/share/external/sdu:HDD_Extern,fs_intern:/share/HDA_DATA:HDD_Intern), kann es sein, dass sporadisch mal ein Wert richtig verarbeitet wird...
2016.10.02 10:44:11 5: SYSMON QNAP: getFileSystemInfo.2553 get fs_intern:/share/HDA_DATA
2016.10.02 10:44:11 5: SYSMON QNAP: getFileSystemInfo.2564 exec df /share/HDA_DATA -m 2>/dev/null
2016.10.02 10:44:11 5: SYSMON QNAP: Exec_Remote.4050 Execute 'df /share/HDA_DATA -m 2>/dev/null'
2016.10.02 10:44:11 5: SYSMON QNAP: Exec.3988 Result A: ''df /share/HDA_DATA -m 2>/dev/null
'
'Filesystem 1M-blocks Used Available Use% Mounted on
'
'/dev/sda3 937795 882642 55153 94% /share/HDA_DATA
'
'
2016.10.02 10:44:11 5: SYSMON QNAP: getFileSystemInfo.2569 recieved 3 lines
2016.10.02 10:44:11 5: SYSMON QNAP: getFileSystemInfo.2586 recieved line0 df /share/HDA_DATA -m 2>/dev/null
2016.10.02 10:44:11 5: SYSMON QNAP: getFileSystemInfo.2605 analyse line Filesystem 1M-blocks Used Available Use% Mounted on
for /share/HDA_DATA
2016.10.02 10:44:11 5: SYSMON QNAP: getFileSystemInfo.2610 analyse line /dev/sda3 937795 882642 55153 94% /share/HDA_DATA
for /share/HDA_DATA
2016.10.02 10:44:11 5: SYSMON QNAP: getFileSystemInfo.2620 use line /dev/sda3 937795 882642 55153 94% /share/HDA_DATA
2016.10.02 10:44:11 5: SYSMON QNAP: getFileSystemInfo.2553 get fs_extern:/share/external/sdu
2016.10.02 10:44:11 5: SYSMON QNAP: getFileSystemInfo.2564 exec df /share/external/sdu -m 2>/dev/null
2016.10.02 10:44:11 5: SYSMON QNAP: Exec_Remote.4050 Execute 'df /share/external/sdu -m 2>/dev/null'
2016.10.02 10:44:11 5: SYSMON QNAP: Exec.3997 Result undef
2016.10.02 10:44:11 5: SYSMON QNAP: getFileSystemInfo.2569 recieved 1 lines
2016.10.02 10:44:11 5: SYSMON QNAP: getFileSystemInfo.2589 recieved empty line
2016.10.02 10:44:11 5: SYSMON QNAP: obtainParameters.1132 QNAP: Close shared telnet connection
2016.10.02 10:44:11 5: SYSMON QNAP: Close_Connection.3932 Close Telnet connection
2016.10.02 10:44:11 5: SYSMON QNAP: blockingFinish.1037 name|QNAP|eth0|RX: 731.14 MB, TX: 991.92 MB, Total: 1723.06 MB|fs_intern|Total: 937795 MB, Used: 882642 MB, 94 %, Available: 55153 MB at /share/HDA_DATA|stat_cpu_diff|308 0 61 5611 11 0 3|eth0_rx|766653262|uptime_text|0 days, 15 hours, 13 minutes|ram_used_stat|-843.28 235.96 97.49|fs_extern|Total: 0 MB, Used: 0 MB, 0 %, Available: 0 MB at /share/external/sdu (not available)|swap|Total: 517.71 MB, Used: 14.36 MB, 2.77 %, Free: 503.36 MB|starttime_text|01.10.2016 19:30:38|stat_cpu_percent|5.14 0.00 1.02 93.61 0.18 0.00 0.05|idletime_text|0 days, 13 hours, 33 minutes (89.04 %)|swap_used_stat|0.00 4291.03 14.24|cpu_idle_stat|0.00 96.90 93.14|idletime|48805 89.04 %|uptime|54812|stat_cpu|530209 0 66188 4849243 28418 96 6875|eth0_speed|2|eth0_tx|1040108300|ram|Total: 250.22 MB, Used: 98.73 MB, 39.46 %, Free: 151.50 MB|loadavg|0.46 0.36 0.22|eth0_diff|RX: 0.14 MB, TX: 0.08 MB, Total: 0.22 MB|stat_cpu_text|user: 5.14 %, nice: 0.00 %, sys: 1.02 %, idle: 93.61 %, io: 0.18 %, irq: 0.00 %, sirq: 0.05 %|starttime|1475343038|cpu_core_count|1|eth0_ip|192.168.1.100
Eine Suche im Forum hat mir leider keine Hinweise geliefert.
Bin ziemlich ratlos...
Gruß
René