SYSMON: Qnap NAS via Telnet monitoren

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

Vorheriges Thema - Nächstes Thema

Brause

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.

Bernd

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 !!!
FHEM auf BananaPi

hexenmeister

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/

Aladin222

@hexenmeister ,

vielen Dank ! Teste es direkt morgen früh aus :-)

Aladin222

@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

hexenmeister

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.


Aladin222

Ja klar ! Funktioniert bestens !
Alles gut ,also sind die Warnungen nur kosmetischer Natur ?

Prima - danke das Du dich so reingehängt hast ;-)

hexenmeister

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.


Michi240281

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!
FHEM auf QNAP per VM / HM LAN Adapter / diverse HM-Devices
QNAP TVS 463
VU+ Duo4kSE
Sony 75ZD9

Klaus Rubik

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
FHEM 6.0 auf RPI4 mit CUL868, AEOTEC, RFXTRX 433
CUL_WS  : S300TH              FHT         : FHT80B, FHT80TF
HMS        : HMS100-TF         FBDECT   : DECT!200, FRITZ!Powerline 546E
FS20       : FS20DI10, FS20ST, FS20WS1, FS20DU-2, FS20 FMS

Aladin222

#40
Beispiel

define Qnap219P SYSMON Telnet:admin@192.168.178.36:13131 1 1 1 10

Bernd

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
FHEM auf BananaPi

Michi240281

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!
FHEM auf QNAP per VM / HM LAN Adapter / diverse HM-Devices
QNAP TVS 463
VU+ Duo4kSE
Sony 75ZD9

Aladin222

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 ...

Bernd

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
FHEM auf BananaPi