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

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

Vorheriges Thema - Nächstes Thema

franky08

der host schliesst die verbindung sofort wieder:
Last login: Mon Sep 19 23:10:59 on ttys000
frankdonathsmbp:~ frdonath$ telnet -l pi 192.168.2.54
Trying 192.168.2.54...
Connected to raspberrypi.fritz.box.
Escape character is '^]'.
Connection closed by foreign host.
Debian Wheezy auf ZBOX nano/ Debian Bullseye auf 2.ter ZBOX nano F2F an 2x RaspiB
22Zoll ViewSonic als Infodislay (WVC)
3xHMLAN mit vccu ,fhem5.8, CCU2,
ECMD an AVR-NET-IO mit DAC u. ADC an Junkers Stetigregelung, Siemens LOGO!8, JeeLink uvm...

Wernieman

Was sagen die Logfiles beim Zielsystem?
Lauscht überhaupt ein telnetd?
- Bitte um Input für Output
- When there is a Shell, there is a Way
- Wann war Dein letztes Backup?

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

franky08

Wenn ich einen port scanner laufen lasse, sind auf dem host port 22 und 23 offen, telnetd hatte ich zum testen gestern noch schnell installiert.

VG
Frank
Debian Wheezy auf ZBOX nano/ Debian Bullseye auf 2.ter ZBOX nano F2F an 2x RaspiB
22Zoll ViewSonic als Infodislay (WVC)
3xHMLAN mit vccu ,fhem5.8, CCU2,
ECMD an AVR-NET-IO mit DAC u. ADC an Junkers Stetigregelung, Siemens LOGO!8, JeeLink uvm...

Wernieman

23 ist telnet, 22 dagegen ssh

Läuft den der telnetd?
Was sagen die "üblichen Verdächtigen Logfiles"?
- Bitte um Input für Output
- When there is a Shell, there is a Way
- Wann war Dein letztes Backup?

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

franky08

Grrr, habe gerade gemerkt das der Host nur noch ro gemountet war, da muss bei der rumtesterei irgendetwas schief gegangen sein. Läuft jetzt wieder.
Debian Wheezy auf ZBOX nano/ Debian Bullseye auf 2.ter ZBOX nano F2F an 2x RaspiB
22Zoll ViewSonic als Infodislay (WVC)
3xHMLAN mit vccu ,fhem5.8, CCU2,
ECMD an AVR-NET-IO mit DAC u. ADC an Junkers Stetigregelung, Siemens LOGO!8, JeeLink uvm...

franky08

#1265
Jetzt scheint die Welt wieder io zu sein:

frankdonathsmbp:~ frdonath$ telnet -l pi 192.168.2.54
Trying 192.168.2.54...
Connected to raspberrypi2.fritz.box.
Escape character is '^]'.
Password:
Last login: Mon Sep 19 23:11:56 CEST 2016 from zotac2.fritz.box on pts/0
Linux raspberrypi 3.12.26+ #707 PREEMPT Sat Aug 30 17:39:19 BST 2014 armv6l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
pi@raspberrypi ~ $


Last login: Mon Sep 19 23:11:56 CEST 2016 from zotac2.fritz.box on pts/0

Da hat sich die Haupinstanz fhem (SYSMON) mit dem raspi verbunden, ging also

P.S. Kaum macht man's richtig, geht's auch, das war ein Fehler mit dem raspi, da hatte sich gestern Abend irgendetwas aufgehangen
Debian Wheezy auf ZBOX nano/ Debian Bullseye auf 2.ter ZBOX nano F2F an 2x RaspiB
22Zoll ViewSonic als Infodislay (WVC)
3xHMLAN mit vccu ,fhem5.8, CCU2,
ECMD an AVR-NET-IO mit DAC u. ADC an Junkers Stetigregelung, Siemens LOGO!8, JeeLink uvm...

mahowi

Wo gerade mal was los ist hier im Thread, versuch ich's nochmal mit meinem "Problem".  ;)

Ich bekomme auf meinem RPi3 (lokal) negative RAM-Nutzung angezeigt per SYSMON:
2016-09-20 09:39:26   ram             Total: 925.37 MB, Used: -1259.07 MB, -136.06 %, Free: 1477.52 MB

free zeigt mir korrekte Werte an:
pi@raspberrypi:~ $ free -h
              total        used        free      shared  buff/cache   available
Mem:           925M        152M         62M         52M        710M        704M
Swap:           99M         66M         33M


Woran kann das liegen?


P.S.: Das Reading "idletime" zeigt übrigens auch mehr als 100% an:
2016-09-20 09:39:26   idletime        383673 115.26 %
2016-09-20 09:39:26   idletime_text   4 days, 10 hours, 34 minutes (115.26 %)

CUBe (MAX): HT, FK | CUBe (SlowRF): ESA2000WZ
JeeLink: LaCrosse | nanoCUL433: Smartwares SHS-51001-EU, EM1000GZ
ZME_UZB1: GreenWave PowerNode, Popp Thermostat | SIGNALDuino: HE877, X10 MS14A, Revolt NC-5462,  IT Steckdosen + PIR
tado° | Milight | HUE, Lightify | SmarterCoffee

franky08

#1267
@mahowi

Geh in dem Thread mal einige Seiten zurück, ich hatte das mal was dazu gepostet. Die Pfade sind unter Jessie wahrscheinlich genau so anders wie unter ubuntu lte (hatte ich auf meinem Testsystem). Die Pfade zu den virt. devices stimmen da nicht und es werden falsche Daten zurück geliefert. Wie das genau war, habe ich aber auch nicht mehr im Kopf. Ich hatte dann die SYSMON.pm so geändert das das Modul unter Ubuntu korrekt lief und die richtigen Werte lieferte, die Datei hatte ich da auch irgendwo angehangen. Ob die mit Jessie aber funktioniert oder nur mit Ubuntu, kann ich nicht sagen/testen.

Habe mal $nName mittels Log 3 ausgelesen und damit kann es nicht funktionieren:
2016.05.29 22:38:43 3: eth0
2016.05.29 22:38:43 3: wlan


da müsste enp1s0 und wlp3s0 drin stehen
jetzt noch enp1s0:enp1s0:Ethernet,wlp3s0:wlp3s0:WIFI in network-interfaces geändert und ALLES funktioniert  :)

List
Internals:
   DEF        1 1 1 10
   INTERVAL_BASE 60
   INTERVAL_MULTIPLIERS 1 1 1 10
   MODE       local
   NAME       Zotac_Status
   NR         20
   STATE      Active
   TYPE       SYSMON
   Readings:
     2016-05-29 22:47:47   cpu0_freq       499
     2016-05-29 22:47:47   cpu0_freq_stat  499.00 612.00 499.19
     2016-05-29 22:47:47   cpu0_idle_stat  98.99 99.97 99.77
     2016-05-29 22:47:47   cpu1_freq       499
     2016-05-29 22:47:47   cpu1_freq_stat  499.00 593.00 499.01
     2016-05-29 22:47:47   cpu1_idle_stat  98.71 99.93 99.74
     2016-05-29 22:47:47   cpu1_temp       49.00
     2016-05-29 22:47:47   cpu1_temp_avg   49.2
     2016-05-29 22:47:47   cpu1_temp_stat  49.00 50.00 49.19
     2016-05-29 22:47:47   cpu2_freq       499
     2016-05-29 22:47:47   cpu2_freq_stat  499.00 904.00 503.27
     2016-05-29 22:47:47   cpu2_idle_stat  99.39 99.95 99.80
     2016-05-29 22:47:47   cpu2_temp       50.00
     2016-05-29 22:47:47   cpu2_temp_avg   49.8
     2016-05-29 22:47:47   cpu2_temp_stat  49.00 50.00 49.89
     2016-05-29 22:47:47   cpu3_freq       499
     2016-05-29 22:47:47   cpu3_freq_stat  499.00 504.00 499.01
     2016-05-29 22:47:47   cpu3_idle_stat  99.37 99.92 99.83
     2016-05-29 22:47:47   cpu3_temp       50.00
     2016-05-29 22:47:47   cpu3_temp_avg   49.8
     2016-05-29 22:47:47   cpu3_temp_stat  49.00 50.00 49.98
     2016-05-29 22:47:47   cpu4_temp       50.00
     2016-05-29 22:47:47   cpu4_temp_avg   49.8
     2016-05-29 22:47:47   cpu4_temp_stat  49.00 50.00 49.96
     2016-05-29 22:47:47   cpu_core_count  256
     2016-05-29 22:47:47   cpu_freq        499
     2016-05-29 22:47:47   cpu_freq_stat   499.00 612.00 499.19
     2016-05-29 22:47:47   cpu_idle_stat   99.32 99.90 99.79
     2016-05-29 22:45:47   cpu_model_name  Intel(R) Celeron(R) CPU  N2930  @ 1.83GHz
     2016-05-29 22:47:47   enp1s0          RX: 16.90 MB, TX: 10.85 MB, Total: 27.75 MB
     2016-05-29 22:47:47   enp1s0_diff     RX: 0.00 MB, TX: 0.01 MB, Total: 0.01 MB
     2016-05-29 22:47:47   enp1s0_ip       192.168.2.73
     2016-05-29 22:47:47   enp1s0_ip6      fe80::201:2eff:fe00:a188/64
     2016-05-29 22:47:47   enp1s0_rx       17723650
     2016-05-29 22:47:47   enp1s0_speed    1000
     2016-05-29 22:47:47   enp1s0_tx       11382215
     2016-05-29 22:47:47   fhemstarttime   1464554687
     2016-05-29 22:47:47   fhemstarttime_text 29.05.2016 22:44:47
     2016-05-29 22:47:47   fhemuptime      180
     2016-05-29 22:47:47   fhemuptime_text 0 days, 00 hours, 03 minutes
     2016-05-29 22:47:47   idletime        585 1.56 %
     2016-05-29 22:47:47   idletime_text   0 days, 00 hours, 09 minutes (1.56 %)
     2016-05-29 22:47:47   loadavg         0.07 0.04 0.05
     2016-05-29 22:45:47   perl_version    v5.22.1
     2016-05-29 22:47:47   ram             Total: 7875.16 MB, Used: 152.26 MB, 1.93 %, Free: 7722.90 MB
     2016-05-29 22:47:47   ram_used_stat   147.58 168.69 154.33
     2016-05-29 22:45:47   root            Total: 460886 MB, Used: 4310 MB, 1 %, Available: 433142 MB at /
     2016-05-29 22:47:47   starttime       1464517297
     2016-05-29 22:47:47   starttime_text  29.05.2016 12:21:37
     2016-05-29 22:47:47   stat_cpu        12876 654 10561 14989978 7755 0 307
     2016-05-29 22:47:47   stat_cpu0       2269 0 2492 3748716 1595 0 108
     2016-05-29 22:47:47   stat_cpu0_diff  0 0 4 5992 0 0 0
     2016-05-29 22:47:47   stat_cpu0_percent 0.00 0.00 0.07 99.93 0.00 0.00 0.00
     2016-05-29 22:47:47   stat_cpu0_text  user: 0.00 %, nice: 0.00 %, sys: 0.07 %, idle: 99.93 %, io: 0.00 %, irq: 0.00 %, sirq: 0.00 %
     2016-05-29 22:47:47   stat_cpu1       4306 2 2780 3745968 1690 0 83
     2016-05-29 22:47:47   stat_cpu1_diff  3 0 4 5991 0 0 0
     2016-05-29 22:47:47   stat_cpu1_percent 0.05 0.00 0.07 99.88 0.00 0.00 0.00
     2016-05-29 22:47:47   stat_cpu1_text  user: 0.05 %, nice: 0.00 %, sys: 0.07 %, idle: 99.88 %, io: 0.00 %, irq: 0.00 %, sirq: 0.00 %
     2016-05-29 22:47:47   stat_cpu2       3038 58 2511 3749364 1426 0 73
     2016-05-29 22:47:47   stat_cpu2_diff  1 0 5 5992 0 0 0
     2016-05-29 22:47:47   stat_cpu2_percent 0.02 0.00 0.08 99.90 0.00 0.00 0.00
     2016-05-29 22:47:47   stat_cpu2_text  user: 0.02 %, nice: 0.00 %, sys: 0.08 %, idle: 99.90 %, io: 0.00 %, irq: 0.00 %, sirq: 0.00 %
     2016-05-29 22:47:47   stat_cpu3       3262 593 2776 3745930 3042 0 41
     2016-05-29 22:47:47   stat_cpu3_diff  2 0 5 5986 4 0 0
     2016-05-29 22:47:47   stat_cpu3_percent 0.03 0.00 0.08 99.82 0.07 0.00 0.00
     2016-05-29 22:47:47   stat_cpu3_text  user: 0.03 %, nice: 0.00 %, sys: 0.08 %, idle: 99.82 %, io: 0.07 %, irq: 0.00 %, sirq: 0.00 %
     2016-05-29 22:47:47   stat_cpu_diff   6 0 19 23959 5 0 1
     2016-05-29 22:47:47   stat_cpu_percent 0.03 0.00 0.08 99.87 0.02 0.00 0.00
     2016-05-29 22:47:47   stat_cpu_text   user: 0.03 %, nice: 0.00 %, sys: 0.08 %, idle: 99.87 %, io: 0.02 %, irq: 0.00 %, sirq: 0.00 %
     2016-05-29 22:47:47   swap            Total: 8084.00 MB, Used: 0.00 MB,  0.00 %, Free: 8084.00 MB
     2016-05-29 22:47:47   swap_used_stat  0.00 0.00 0.00
     2016-05-29 22:47:47   uptime          37569
     2016-05-29 22:47:47   uptime_text     0 days, 10 hours, 26 minutes
     2016-05-29 22:47:47   wlp3s0          RX: 0.00 MB, TX: 0.00 MB, Total: 0 MB
     2016-05-29 22:47:47   wlp3s0_diff     RX: 0.00 MB, TX: 0.00 MB, Total: 0.00 MB
     2016-05-29 22:47:47   wlp3s0_rx       0
     2016-05-29 22:47:47   wlp3s0_speed    not available
     2016-05-29 22:47:47   wlp3s0_tx       0
   Helper:
     sys_cpu0_freq 1
     sys_cpu0_temp 0
     sys_cpu1_freq 1
     sys_cpu1_temp 1
     sys_cpu2_freq 1
     sys_cpu2_temp 1
     sys_cpu3_freq 1
     sys_cpu3_temp 1
     sys_cpu4_freq 0
     sys_cpu4_temp 1
     sys_cpu5_freq 0
     sys_cpu5_temp 0
     sys_cpu6_freq 0
     sys_cpu6_temp 0
     sys_cpu7_freq 0
     sys_cpu7_temp 0
     sys_cpu_freq_rpi_bbb 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:
       cpu0_freq  CPU frequency (core 0)
       cpu0_freq_stat CPU frequency (core 0) stat
       cpu0_idle_stat CPU0 min/max/avg (idle)
       cpu1_freq  CPU frequency (core 1)
       cpu1_freq_stat CPU frequency (core 1) stat
       cpu1_idle_stat CPU1 min/max/avg (idle)
       cpu1_temp  CPU temperature (core 1)
       cpu1_temp_avg Average CPU temperature (core 1)
       cpu1_temp_stat CPU temperature stat (core 1)
       cpu2_freq  CPU frequency (core 2)
       cpu2_freq_stat CPU frequency (core 2) stat
       cpu2_idle_stat CPU2 min/max/avg (idle)
       cpu2_temp  CPU temperature (core 2)
       cpu2_temp_avg Average CPU temperature (core 2)
       cpu2_temp_stat CPU temperature stat (core 2)
       cpu3_freq  CPU frequency (core 3)
       cpu3_freq_stat CPU frequency (core 3) stat
       cpu3_idle_stat CPU3 min/max/avg (idle)
       cpu3_temp  CPU temperature (core 3)
       cpu3_temp_avg Average CPU temperature (core 3)
       cpu3_temp_stat CPU temperature stat (core 3)
       cpu4_idle_stat CPU4 min/max/avg (idle)
       cpu4_temp  CPU temperature (core 4)
       cpu4_temp_avg Average CPU temperature (core 4)
       cpu4_temp_stat CPU temperature stat (core 4)
       cpu5_idle_stat CPU5 min/max/avg (idle)
       cpu6_idle_stat CPU6 min/max/avg (idle)
       cpu7_idle_stat CPU7 min/max/avg (idle)
       cpu_bogomips BogoMIPS
       cpu_core_count Number of CPU cores
       cpu_freq   CPU frequency
       cpu_freq_stat CPU frequency stat
       cpu_idle_stat CPU min/max/avg (idle)
       cpu_model_name CPU model name
       date       Date
       enp1s0     Ethernet
       enp1s0_diff Ethernet (diff)
       enp1s0_ip  Ethernet (IP)
       enp1s0_ip6 Ethernet (IP6)
       enp1s0_rx  Ethernet (RX)
       enp1s0_speed Ethernet (speed)
       enp1s0_tx  Ethernet (TX)
       fhemstarttime Fhem start time
       fhemstarttime_text Fhem start time
       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
       perl_version Perl Version
       ram        RAM
       ram_free   RAM free
       ram_free_percent RAM free %
       ram_total  RAM total
       ram_used   RAM used
       ram_used_stat RAM used stat
       root       Filesystem /
       starttime  System start time
       starttime_text System start time
       stat_cpu   CPU statistics
       stat_cpu0  CPU0 statistics
       stat_cpu0_diff CPU0 statistics (diff)
       stat_cpu0_percent CPU0 statistics (diff, percent)
       stat_cpu0_text CPU0 statistics (text)
       stat_cpu1  CPU1 statistics
       stat_cpu1_diff CPU1 statistics (diff)
       stat_cpu1_percent CPU1 statistics (diff, percent)
       stat_cpu1_text CPU1 statistics (text)
       stat_cpu2  CPU2 statistics
       stat_cpu2_diff CPU2 statistics (diff)
       stat_cpu2_percent CPU2 statistics (diff, percent)
       stat_cpu2_text CPU2 statistics (text)
       stat_cpu3  CPU3 statistics
       stat_cpu3_diff CPU3 statistics (diff)
       stat_cpu3_percent CPU3 statistics (diff, percent)
       stat_cpu3_text CPU3 statistics (text)
       stat_cpu4  CPU4 statistics
       stat_cpu4_diff CPU4 statistics (diff)
       stat_cpu4_percent CPU4 statistics (diff, percent)
       stat_cpu4_text CPU4 statistics (text)
       stat_cpu5  CPU5 statistics
       stat_cpu5_diff CPU5 statistics (diff)
       stat_cpu5_percent CPU5 statistics (diff, percent)
       stat_cpu5_text CPU5 statistics (text)
       stat_cpu6  CPU6 statistics
       stat_cpu6_diff CPU6 statistics (diff)
       stat_cpu6_percent CPU6 statistics (diff, percent)
       stat_cpu6_text CPU6 statistics (text)
       stat_cpu7  CPU7 statistics
       stat_cpu7_diff CPU7 statistics (diff)
       stat_cpu7_percent CPU7 statistics (diff, percent)
       stat_cpu7_text CPU7 statistics (text)
       stat_cpu_diff CPU statistics (diff)
       stat_cpu_idle_percent CPU statistics idle %
       stat_cpu_io_percent CPU statistics io %
       stat_cpu_irq_percent CPU statistics irq %
       stat_cpu_nice_percent CPU statistics nice %
       stat_cpu_percent CPU statistics (diff, percent)
       stat_cpu_sirq_percent CPU statistics sirq %
       stat_cpu_sys_percent CPU statistics sys %
       stat_cpu_text CPU statistics (text)
       stat_cpu_user_percent CPU statistics user %
       swap       swap
       swap_free  swap free
       swap_total swap total
       swap_used  swap used
       swap_used_percent swap used %
       swap_used_stat swap used stat
       uptime     System up time
       uptime_text System up time
       wlp3s0     WIFI
       wlp3s0_diff WIFI (diff)
       wlp3s0_ip  WIFI (IP)
       wlp3s0_ip6 WIFI (IP6)
       wlp3s0_rx  WIFI (RX)
       wlp3s0_speed WIFI (speed)
       wlp3s0_tx  WIFI (TX)
     Excludes:
Attributes:
   network-interfaces enp1s0:enp1s0:Ethernet,wlp3s0:wlp3s0:WIFI


Da hängt unten die geänderte SYSMON.pm drann
Antwort #1225 am: 29 Mai 2016, 22:42:16 »



VG
Frank
Debian Wheezy auf ZBOX nano/ Debian Bullseye auf 2.ter ZBOX nano F2F an 2x RaspiB
22Zoll ViewSonic als Infodislay (WVC)
3xHMLAN mit vccu ,fhem5.8, CCU2,
ECMD an AVR-NET-IO mit DAC u. ADC an Junkers Stetigregelung, Siemens LOGO!8, JeeLink uvm...

mahowi

CUBe (MAX): HT, FK | CUBe (SlowRF): ESA2000WZ
JeeLink: LaCrosse | nanoCUL433: Smartwares SHS-51001-EU, EM1000GZ
ZME_UZB1: GreenWave PowerNode, Popp Thermostat | SIGNALDuino: HE877, X10 MS14A, Revolt NC-5462,  IT Steckdosen + PIR
tado° | Milight | HUE, Lightify | SmarterCoffee

chris1284

hi,
irgendwie zeigt sysmon komische werte für die cpu beim hp microserver

cpu0_idle_stat 0.00 100.00 99.52
cpu1_idle_stat 30.23 99.98 99.62
cpu_core_count 512
cpu_idle_stat 52.44 99.82 99.59
cpu_temp   8.30
cpu_temp_avg 8.3
cpu_temp_stat 8.30 8.30 8.30


die werte werden zwar richitg gelesen aber irgenwie sind 8,3°c zu wenig^^
Zitat
root@SRV00:~# acpi -t
Thermal 0: ok, 8.3 degrees C

sensors zeigt es richtig

Zitatroot@SRV00:~# sensors
acpitz-virtual-0
Adapter: Virtual device
temp1:         +8.3°C  (crit = +31.3°C)

power_meter-acpi-0
Adapter: ACPI interface
power1:        0.00 W  (interval = 300.00 s)

coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:  +37.0°C  (high = +87.0°C, crit = +91.0°C)
Core 0:         +34.0°C  (high = +87.0°C, crit = +91.0°C)
Core 1:         +37.0°C  (high = +87.0°C, crit = +91.0°C)

kann ich sysmon sagen es oll nicht temp1 des virt. devices nehmen?

franky08

#1270
Du könntest für dich die cat .... Pfade zur Temp. anpassen, musst du mal suchen wie der Pfad ist (ab Zeile 3448, da werden die Temperaturen ausgelesen)

VG
Frank
Debian Wheezy auf ZBOX nano/ Debian Bullseye auf 2.ter ZBOX nano F2F an 2x RaspiB
22Zoll ViewSonic als Infodislay (WVC)
3xHMLAN mit vccu ,fhem5.8, CCU2,
ECMD an AVR-NET-IO mit DAC u. ADC an Junkers Stetigregelung, Siemens LOGO!8, JeeLink uvm...

roman1528

Zitat von: franky08 am 20 September 2016, 09:39:54
Jetzt scheint die Welt wieder io zu sein:

frankdonathsmbp:~ frdonath$ telnet -l pi 192.168.2.54
Trying 192.168.2.54...
Connected to raspberrypi2.fritz.box.
Escape character is '^]'.
Password:
Last login: Mon Sep 19 23:11:56 CEST 2016 from zotac2.fritz.box on pts/0
Linux raspberrypi 3.12.26+ #707 PREEMPT Sat Aug 30 17:39:19 BST 2014 armv6l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
pi@raspberrypi ~ $


Last login: Mon Sep 19 23:11:56 CEST 2016 from zotac2.fritz.box on pts/0

Da hat sich die Haupinstanz fhem (SYSMON) mit dem raspi verbunden, ging also

P.S. Kaum macht man's richtig, geht's auch, das war ein Fehler mit dem raspi, da hatte sich gestern Abend irgendetwas aufgehangen

Ist sie bei mir leider nicht...

über die konsole kann ich mich mit dem user pi per telnet verbinden... mit dem user fhem nicht... wird auch direkt vom host beendet.

melde ich mich jetzt per sysmon mit user pi an kommt, wie auch mit fhem, die verbindung zu stande (laut sysmon) aber auch keine werte.
i3-10305T 4x3GHz;8GB RAM;250GB & 1TB NVMe:
FHEM 6.2;FTUI;8" Tablet's+Fully;NsPanelPro;HUE;ESPRGBWW;HM(CCU3);Duofern; ASC;MQTT(Tasmota);netatmo;SONOS;eBus;DbLog;XiaomiDevice;NUT;ModbusAttr

RPi3+: FHEM 6.2;I²C;GPIO;RFID;G-Tag;XiaomiBTLESens
RPi3: FHEM 6.2;DIY Relais-Board;I²C;GPIO;RFID;Photovoltaik

chris1284

#1272
Zitat von: franky08 am 20 September 2016, 14:40:27
Du könntest für dich die cat .... Pfade zur Temp. anpassen, musst du mal suchen wie der Pfad ist (ab Zeile 3448, da werden die Temperaturen ausgelesen)

VG
Frank

ich habe ja nun auch gelesen das für den pi3 mit jessie auch jemand die phate anpassen müsste. das ist aber gefrickel un beim update wieder weg.
wäre da eine modul-lösung nicht besster?
zb ein attribut mit dem man zbdie cat-pfade sauber setzen kann, quasi eine art userconfig?

cat /sys/class/thermal/thermal_zone0/temp bringt den falschcen wert 8300
cat /sys/class/thermal/thermal_zone1/temp bringt den wert von core1 , wo core0 sich versteckt weiss ich nocht nicht.

die pfade scheinen an sich also grob zu passen

in dem fall wäre ehr ein attribut notwendig was sagt nutze sensors für temp abfragen

Wernieman

Deshalb habe ich mittlerweile die Rechnerüberwachung wieder vom FHEM entfernt, d.h. extern auslesen und dann nach FEHM reinpusten ...

@roman1528:
wenn pi kann, aber fhem nicht ... hast Du denn den User fhem überhaupt auf dem 2. System erzeugt?
Was sagen die "üblichen" Verdächtigen, d.h. Linux-Logfiles??
- Bitte um Input für Output
- When there is a Shell, there is a Way
- Wann war Dein letztes Backup?

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

Xguide

Habe es inzwischen auch mit der Telnetverbindung hinbekommen, also remote sysmon!
Bei mir hat es geholfen telnetd zu entfernen und neu zu installieren.


sudo apt-get remove telnetd
sudo apt-get install telnetd


Die Verbindung besteht nun zwischen einem Raspberry Pi 3 mit Jessie und fhem 5.7 zu einem Raspberry Pi 1 mit Jessie und fhem 5.7.
FHEM 5.9 - Intel NUC i3 mit Proxmox im Stretch Container
HomeMatic - VCCU mit 2 x HM-LAN-CFG
Module: SMA Peripheries - Sonos - IPCam(s) - Philips Hue - Sprinkler - TabletUI - DBlog -