FHEM Forum

FHEM => Anfängerfragen => Thema gestartet von: Jogi am 02 Juni 2018, 13:22:15

Titel: [Erledigt] Sysmon: fs_root wird nicht aktualisiert in Reading geschrieben
Beitrag von: Jogi am 02 Juni 2018, 13:22:15
Hallo,
ich habe heute festgestellt, dass bei Sysmon das Reading von fs_root und fs_boot nicht aktualisiert wird.
Mache ich ein
get sysmon list
bekomme ich die aktuellen Werte. Das Reading verändert sich aber nicht und steht auf dem 13.05.2018.
Alle anderen Readings werden aktualisiert.
Sicher habe ich eine Fehler eingebaut. Aber wo?

Hier mal ein List:
Internals:
   DEF        1 1 1 10
   INTERVAL_BASE 60
   INTERVAL_MULTIPLIERS 1 1 1 10
   MODE       local
   NAME       sysmon
   NR         802
   STATE      Initialized
   TYPE       SYSMON
   READINGS:
     2018-06-02 13:20:17   cpu0_freq       1200
     2018-06-02 13:20:17   cpu0_freq_stat  600.00 1200.00 1097.32
     2018-06-02 13:20:17   cpu0_idle_stat  38.97 99.79 83.73
     2018-06-02 13:20:17   cpu1_freq       1200
     2018-06-02 13:20:17   cpu1_freq_stat  600.00 1200.00 1097.32
     2018-06-02 13:20:17   cpu1_idle_stat  52.83 99.87 97.39
     2018-06-02 13:20:17   cpu2_freq       1200
     2018-06-02 13:20:17   cpu2_freq_stat  600.00 1200.00 1097.32
     2018-06-02 13:20:17   cpu2_idle_stat  74.96 100.65 99.36
     2018-06-02 13:20:17   cpu3_freq       1200
     2018-06-02 13:20:17   cpu3_freq_stat  600.00 1200.00 1097.32
     2018-06-02 13:20:17   cpu3_idle_stat  45.02 99.92 99.09
     2018-06-02 13:12:53   cpu_bogomips    76.80
     2018-06-02 13:20:17   cpu_core_count  4
     2018-06-02 13:20:17   cpu_freq        1200
     2018-06-02 13:20:17   cpu_freq_stat   600.00 1200.00 1097.32
     2018-06-02 13:20:17   cpu_idle_stat   81.07 97.57 95.10
     2018-06-02 13:12:53   cpu_model_name  ARMv7 Processor rev 4 (v7l)
     2018-06-02 13:20:17   cpu_temp        52.62
     2018-06-02 13:20:17   cpu_temp_avg    52.4
     2018-06-02 13:20:17   cpu_temp_stat   28.94 58.00 52.39
     2018-06-02 13:20:17   eth0            RX: 2886.06 MB, TX: 1618.02 MB, Total: 4504.08 MB
     2018-06-02 13:20:17   eth0_diff       RX: 0.12 MB, TX: 0.06 MB, Total: 0.18 MB
     2018-06-02 13:20:17   eth0_ip         192.168.178.64
     2018-06-02 13:20:17   eth0_rx         3026257812
     2018-06-02 13:20:17   eth0_speed      100
     2018-06-02 13:20:17   eth0_tx         1696617850
     2018-06-02 13:20:17   fhemstarttime   1527937919
     2018-06-02 13:20:17   fhemstarttime_text 02.06.2018 13:11:59
     2018-06-02 13:20:17   fhemuptime      498
     2018-06-02 13:20:17   fhemuptime_text 0 days, 00 hours, 08 minutes
     2018-06-02 13:20:17   fs_boot         Total: 41 MB, Used: 22 MB, 53 %, Available: 20 MB at /boot
     2018-06-02 13:20:17   fs_root         Total: 7501 MB, Used: 2384 MB, 34 %, Available: 4781 MB at /
     2018-06-02 13:20:17   idletime        1226155 93.26 %
     2018-06-02 13:20:17   idletime_text   14 days, 04 hours, 35 minutes (93.26 %)
     2018-06-02 13:20:17   loadavg         0.18 0.19 0.18
     2018-06-02 13:12:53   perl_version    v5.24.1
     2018-06-02 13:20:17   ram             Total: 927.20 MB, Used: 100.24 MB, 10.81 %, Free: 142.61 MB
     2018-06-02 13:20:17   ram_used_stat   88.86 160.15 99.83
     2018-06-02 13:20:17   starttime       1526623703
     2018-06-02 13:20:17   starttime_text  18.05.2018 08:08:23
     2018-06-02 13:20:17   stat_cpu        22760663 0 2448354 490462364 161363 0 310943
     2018-06-02 13:20:17   stat_cpu0       18607604 0 1059523 101927932 139950 0 307430
     2018-06-02 13:20:17   stat_cpu0_diff  672 0 42 4843 7 0 8
     2018-06-02 13:20:17   stat_cpu0_percent 12.06 0.00 0.75 86.92 0.13 0.00 0.14
     2018-06-02 13:20:17   stat_cpu0_text  user: 12.06 %, nice: 0.00 %, sys: 0.75 %, idle: 86.92 %, io: 0.13 %, irq: 0.00 %, sirq: 0.14 %
     2018-06-02 13:20:17   stat_cpu1       1498931 0 613179 129216004 8313 0 1822
     2018-06-02 13:20:17   stat_cpu1_diff  287 0 24 5667 8 0 0
     2018-06-02 13:20:17   stat_cpu1_percent 4.79 0.00 0.40 94.67 0.13 0.00 0.00
     2018-06-02 13:20:17   stat_cpu1_text  user: 4.79 %, nice: 0.00 %, sys: 0.40 %, idle: 94.67 %, io: 0.13 %, irq: 0.00 %, sirq: 0.00 %
     2018-06-02 13:20:17   stat_cpu2       1886568 0 452473 128994344 9046 0 982
     2018-06-02 13:20:17   stat_cpu2_diff  1 0 10 5982 0 0 0
     2018-06-02 13:20:17   stat_cpu2_percent 0.02 0.00 0.17 99.82 0.00 0.00 0.00
     2018-06-02 13:20:17   stat_cpu2_text  user: 0.02 %, nice: 0.00 %, sys: 0.17 %, idle: 99.82 %, io: 0.00 %, irq: 0.00 %, sirq: 0.00 %
     2018-06-02 13:20:17   stat_cpu3       767560 0 323179 130324083 4053 0 709
     2018-06-02 13:20:17   stat_cpu3_diff  1 0 15 5985 0 0 0
     2018-06-02 13:20:17   stat_cpu3_percent 0.02 0.00 0.25 99.73 0.00 0.00 0.00
     2018-06-02 13:20:17   stat_cpu3_text  user: 0.02 %, nice: 0.00 %, sys: 0.25 %, idle: 99.73 %, io: 0.00 %, irq: 0.00 %, sirq: 0.00 %
     2018-06-02 13:20:17   stat_cpu_diff   961 0 91 22475 14 0 8
     2018-06-02 13:20:17   stat_cpu_percent 4.08 0.00 0.39 95.44 0.06 0.00 0.03
     2018-06-02 13:20:17   stat_cpu_text   user: 4.08 %, nice: 0.00 %, sys: 0.39 %, idle: 95.44 %, io: 0.06 %, irq: 0.00 %, sirq: 0.03 %
     2018-06-02 13:20:17   swap            Total: 100.00 MB, Used: 0.50 MB,  0.50 %, Free: 99.50 MB
     2018-06-02 13:20:17   swap_used_stat  0.00 0.50 0.41
     2018-06-02 13:20:17   uptime          1314713
     2018-06-02 13:20:17   uptime_text     15 days, 05 hours, 11 minutes
     2018-06-02 13:20:17   wlan0           RX: 0.00 MB, TX: 0.00 MB, Total: 0 MB
     2018-06-02 13:20:17   wlan0_diff      RX: 0.00 MB, TX: 0.00 MB, Total: 0.00 MB
     2018-06-02 13:20:17   wlan0_rx        0
     2018-06-02 13:20:17   wlan0_tx        0
   helper:
     net_eth0_stat_class 1
     net_wlan0_stat_class 1
     proc_fs    1
     sys_cpu0_freq 1
     sys_cpu0_temp 0
     sys_cpu1_freq 1
     sys_cpu1_temp 0
     sys_cpu2_freq 1
     sys_cpu2_temp 0
     sys_cpu3_freq 1
     sys_cpu3_temp 0
     sys_cpu4_freq 0
     sys_cpu4_temp 0
     sys_cpu5_freq 0
     sys_cpu5_temp 0
     sys_cpu6_freq 0
     sys_cpu6_temp 0
     sys_cpu7_freq 0
     sys_cpu7_temp 0
     sys_cpu_core_num 4
     sys_cpu_freq_rpi_bbb 1
     sys_cpu_num 1
     sys_cpu_temp_bbb 0
     sys_cpu_temp_rpi 1
     sys_fb     0
     sys_power_ac 0
     sys_power_bat 0
     sys_power_usb 0
     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)
       cpu2_freq  CPU frequency (core 2)
       cpu2_freq_stat CPU frequency (core 2) stat
       cpu2_idle_stat CPU2 min/max/avg (idle)
       cpu3_freq  CPU frequency (core 3)
       cpu3_freq_stat CPU frequency (core 3) stat
       cpu3_idle_stat CPU3 min/max/avg (idle)
       cpu4_idle_stat CPU4 min/max/avg (idle)
       cpu5_idle_stat CPU5 min/max/avg (idle)
       cpu6_idle_stat CPU6 min/max/avg (idle)
       cpu7_idle_stat CPU7 min/max/avg (idle)
       cpu_bogomips BogoMIPS
       cpu_core_count Number of CPU cores
       cpu_freq   CPU frequency
       cpu_freq_stat CPU frequency stat
       cpu_idle_stat CPU min/max/avg (idle)
       cpu_model_name CPU model name
       cpu_temp   CPU temperature
       cpu_temp_avg Average CPU temperature
       cpu_temp_stat CPU temperature stat
       date       Date
       eth0       Ethernet
       eth0_diff  Ethernet (diff)
       eth0_ip    Ethernet (IP)
       eth0_ip6   Ethernet (IP6)
       eth0_rx    Ethernet (RX)
       eth0_speed Ethernet (speed)
       eth0_tx    Ethernet (TX)
       fhemstarttime Fhem start time
       fhemstarttime_text Fhem start time
       fhemuptime System up time
       fhemuptime_text FHEM up time
       fs_boot    Filesystem /boot
       fs_boot_free Filesystem /boot (free)
       fs_boot_used Filesystem /boot (used)
       fs_boot_used_percent Filesystem /boot (used %)
       fs_root    Root
       fs_root_free Root (free)
       fs_root_used Root (used)
       fs_root_used_percent Root (used %)
       idletime   Idle time
       idletime_text Idle time
       io_sda     TEST
       io_sda_diff TEST
       io_sda_raw TEST
       loadavg    Load average
       loadavg_1  Load average 1
       loadavg_15 Load average 15
       loadavg_5  Load average 5
       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
       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
       wlan0      WiFi
       wlan0_diff WiFi (diff)
       wlan0_ip   WiFi (IP)
       wlan0_ip6  WiFi (IP6)
       wlan0_rx   WiFi (RX)
       wlan0_speed WiFi (speed)
       wlan0_tx   WiFi (TX)
     excludes:
     shadow_map:
       cpu0_idle_stat 38.97 99.79 83.56
       cpu1_idle_stat 52.83 99.87 96.31
       cpu2_idle_stat 74.96 100.65 98.66
       cpu3_idle_stat 45.02 99.92 98.54
       cpu_core_count 4
       cpu_idle_stat 81.07 97.57 94.46
       cpu_temp   52.08
       cpu_temp_avg 52.3
       cpu_temp_stat 28.94 58.00 52.31
       eth0       RX: 2885.50 MB, TX: 1617.55 MB, Total: 4503.05 MB
       eth0_diff  RX: 0.11 MB, TX: 0.06 MB, Total: 0.17 MB
       eth0_ip    192.168.178.64
       eth0_rx    3025665855
       eth0_speed 100
       eth0_tx    1696125092
       fhemstarttime 1527937919
       fhemstarttime_text 02.06.2018 13:11:59
       fhemuptime 242
       fhemuptime_text 0 days, 00 hours, 04 minutes
       fs_boot    Total: 41 MB, Used: 22 MB, 53 %, Available: 20 MB at /boot
       fs_root    Total: 7501 MB, Used: 2384 MB, 34 %, Available: 4781 MB at /
       idletime   1225916 93.26 %
       idletime_text 14 days, 04 hours, 31 minutes (93.26 %)
       loadavg    0.27 0.14 0.17
       ram        Total: 927.20 MB, Used: 81.57 MB, 8.80 %, Free: 161.34 MB
       ram_used_stat 81.57 160.15 104.96
       starttime  1526623703
       starttime_text 18.05.2018 08:08:23
       stat_cpu   22756517 0 2447899 490366782 161313 0 310870
       stat_cpu0  18603934 0 1059338 101908218 139914 0 307357
       stat_cpu0_diff 368 0 21 3653 2 0 4
       stat_cpu0_percent 9.09 0.00 0.52 90.24 0.05 0.00 0.10
       stat_cpu0_text user: 9.09 %, nice: 0.00 %, sys: 0.52 %, idle: 90.24 %, io: 0.05 %, irq: 0.00 %, sirq: 0.10 %
       stat_cpu1  1498604 0 613070 129190918 8305 0 1822
       stat_cpu1_diff 316 0 29 4082 0 0 0
       stat_cpu1_percent 7.14 0.00 0.66 92.21 0.00 0.00 0.00
       stat_cpu1_text user: 7.14 %, nice: 0.00 %, sys: 0.66 %, idle: 92.21 %, io: 0.00 %, irq: 0.00 %, sirq: 0.00 %
       stat_cpu2  1886552 0 452394 128968896 9046 0 982
       stat_cpu2_diff 2 0 18 4407 0 0 0
       stat_cpu2_percent 0.05 0.00 0.41 99.55 0.00 0.00 0.00
       stat_cpu2_text user: 0.05 %, nice: 0.00 %, sys: 0.41 %, idle: 99.55 %, io: 0.00 %, irq: 0.00 %, sirq: 0.00 %
       stat_cpu3  767427 0 323097 130298750 4047 0 709
       stat_cpu3_diff 4 0 21 4410 0 0 0
       stat_cpu3_percent 0.09 0.00 0.47 99.44 0.00 0.00 0.00
       stat_cpu3_text user: 0.09 %, nice: 0.00 %, sys: 0.47 %, idle: 99.44 %, io: 0.00 %, irq: 0.00 %, sirq: 0.00 %
       stat_cpu_diff 690 0 89 16551 1 0 4
       stat_cpu_percent 3.98 0.00 0.51 95.48 0.01 0.00 0.02
       stat_cpu_text user: 3.98 %, nice: 0.00 %, sys: 0.51 %, idle: 95.48 %, io: 0.01 %, irq: 0.00 %, sirq: 0.02 %
       swap       Total: 100.00 MB, Used: 0.50 MB,  0.50 %, Free: 99.50 MB
       swap_used_stat 0.00 0.50 0.21
       uptime     1314457
       uptime_text 15 days, 05 hours, 07 minutes
       wlan0      RX: 0.00 MB, TX: 0.00 MB, Total: 0 MB
       wlan0_diff RX: 0.00 MB, TX: 0.00 MB, Total: 0.00 MB
       wlan0_rx   0
       wlan0_tx   0
Attributes:
   event-on-update-reading cpu_temp,cpu_temp_avg,loadavg,ram,fs_root,fs_boot
   filesystems fs_boot:/boot,fs_root:/:Root
   group      CPU
   network-interfaces eth0:eth0:Ethernet,wlan0:wlan0:WiFi
   room       99.Programm


Danke für Tipps.
Titel: Antw:Sysmon: fs_root wird nicht aktualisiert in Reading geschrieben
Beitrag von: amenomade am 03 Juni 2018, 00:39:42
     2018-06-02 13:20:17   fs_boot         Total: 41 MB, Used: 22 MB, 53 %, Available: 20 MB at /boot
     2018-06-02 13:20:17   fs_root         Total: 7501 MB, Used: 2384 MB, 34 %, Available: 4781 MB at /

Was vom 13.05?
Titel: Antw:Sysmon: fs_root wird nicht aktualisiert in Reading geschrieben
Beitrag von: Jogi am 03 Juni 2018, 12:10:55
Zitat von: amenomade am 03 Juni 2018, 00:39:42
     2018-06-02 13:20:17   fs_boot         Total: 41 MB, Used: 22 MB, 53 %, Available: 20 MB at /boot
     2018-06-02 13:20:17   fs_root         Total: 7501 MB, Used: 2384 MB, 34 %, Available: 4781 MB at /

Was vom 13.05?
???
Du siehst mich ratlos und verwirrt. Du hast recht, plötzlich geht es?
Ich hatte mir das List nicht mehr angeschaut (hätte ich machen sollen!), sondern nur zuvor die Readings im Device. Da waren alle Werte aktuell außer den beiden.
Warum es jetzt aktuell ist, weiß ich nicht, aber egal, Hauptsache es funktioniert. Sorry für die Mühe und Danke für den Hinweis.

Gruß,
Jogi