#erledigt# Sysmon Fehlermeldungen nach Update

Begonnen von Helmi55, 23 Januar 2021, 15:27:56

Vorheriges Thema - Nächstes Thema

Helmi55

Hallo
hat mir keine Ruhe gelassen:

habe jetzt ein neues Testsystem mit neuestem Stand von buster light installiert und ein altes BU restored.
Auch hier kommen die Fehlermeldungen. Ich dachte vielleicht doch etwas mit dem OS zu tun - ohne Erfolg

2021.01.26 17:44:07 1: PERL WARNING: Argument "28.2089.45" isn't numeric in int at ./FHEM/42_SYSMON.pm line 1623.
2021.01.26 17:44:07 3: eval: {SYSMON_ShowValuesHTML('sysmon')}
2021.01.26 17:44:07 1: PERL WARNING: Use of uninitialized value $idle in division (/) at ./FHEM/42_SYSMON.pm line 1626.
2021.01.26 17:44:07 3: eval: {SYSMON_ShowValuesHTML('sysmon')}
2021.01.26 17:44:07 1: PERL WARNING: Use of uninitialized value $idle in division (/) at ./FHEM/42_SYSMON.pm line 1628.
2021.01.26 17:44:07 3: eval: {SYSMON_ShowValuesHTML('sysmon')}
2021.01.26 17:44:07 1: PERL WARNING: Use of uninitialized value $neuCPUuser in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 2209.
2021.01.26 17:44:07 3: eval: {SYSMON_ShowValuesHTML('sysmon')}
2021.01.26 17:44:07 1: PERL WARNING: Use of uninitialized value $neuCPUnice in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 2209.
2021.01.26 17:44:07 3: eval: {SYSMON_ShowValuesHTML('sysmon')}
2021.01.26 17:44:07 1: PERL WARNING: Use of uninitialized value $neuCPUsystem in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 2209.
2021.01.26 17:44:07 3: eval: {SYSMON_ShowValuesHTML('sysmon')}
2021.01.26 17:44:07 1: PERL WARNING: Use of uninitialized value $neuCPUidle in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 2209.
2021.01.26 17:44:07 3: eval: {SYSMON_ShowValuesHTML('sysmon')}
2021.01.26 17:44:07 1: PERL WARNING: Use of uninitialized value $neuCPUiowait in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 2209.
2021.01.26 17:44:07 3: eval: {SYSMON_ShowValuesHTML('sysmon')}
2021.01.26 17:44:07 1: PERL WARNING: Use of uninitialized value $neuCPUirq in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 2209.
2021.01.26 17:44:07 3: eval: {SYSMON_ShowValuesHTML('sysmon')}
2021.01.26 17:44:07 1: PERL WARNING: Use of uninitialized value $neuCPUsoftirq in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 2209.
2021.01.26 17:44:07 3: eval: {SYSMON_ShowValuesHTML('sysmon')}
2021.01.26 17:44:07 1: PERL WARNING: Argument "28.5190.38" isn't numeric in int at ./FHEM/42_SYSMON.pm line 1623.
2021.01.26 17:44:07 3: eval: {SYSMON_ShowValuesHTML('sysmon', ('date:Datum', 'uptime_text:System up time:', 'fhemuptime_text:FHEM up time:', 'cpu_temp:CPU Temperatur'))}


Danke für eure Unterstützung und hoffen auf "Hexenmeister"


System1 fhem 6.1 auf RPi 4B mit 4GB, HMUSBConfig, DS9490R-1Wire, Busware USB 868, Pool-Solarsteuerung mit FHEM. System2 fhem 6.1 auf RPi 4B mit 4GB (Bullseye) mit Busware USB 868 und 433 und HMUARTLGW für Haussteuerung

https://www.flickr.com/photos/canonhelmi/

hexenmeister

Hallo allerseits,

bin diese Woche leier etwas unter Strom, werde mir danach natürlich anschauen. Hoffentlich kann ich das nachstellen, sonst kann es schwierig werden - mittlerweile wird SYSMON auf sehr vielen unterschiedlichen Systemen eingesetzt.
Maintainer: MQTT_GENERIC_BRIDGE, SYSMON, SMARTMON, systemd_watchdog, MQTT, MQTT_DEVICE, MQTT_BRIDGE
Contrib: dev_proxy

hexenmeister

Zitat von: Helmi55 am 26 Januar 2021, 17:49:44
2021.01.26 17:44:07 1: PERL WARNING: Argument "28.2089.45" isn't numeric in int at ./FHEM/42_SYSMON.pm line 1623.


Hallo,

es ist mir leider schleierhaft, warum dein System die Werte so 'illegal' liefert. Habe so was noch nie gesehen. Eigentlich kann SYSMON hier nichts damit anfangen.
Ich habe testweise einen Hack für uptime / idle eingebaut, probiere bitte die angehängte Version aus. Für proc/stat wird das so nicht ohne weiteres gehen. Unerkannte Werte werden daher jetzt ignoriert - da ist mir leider nicht besseres eingefallen.

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

Helmi55

Hallo Alexander,
Danke für deine Zeit und Hilfe.
Also ich habe das System upgedated und dann dein File eingespielt und einen Neustart gemacht.

Sieht gut aus - keine Fehlermeldungen mehr von SYSMON

einzig ist mir dies aufgefallen:
2021.02.13 10:23:10 0: Featurelevel: 6
2021.02.13 10:23:10 0: Server started with 312 defined entities (fhem.pl:23613/2021-01-25 perl:5.028001 os:linux user:fhem pid:567)
2021.02.13 10:23:11 3: CUL_HM set AbstellraumLicht statusRequest noArg
2021.02.13 10:23:11 1: HMLAN_Parse: HMUSB new condition ok
2021.02.13 10:23:11 2: FULLY: [FullyGarage] Error during request http://10.0.0.199:2323/?cmd=deviceInfo&password=123&type=json. http://10.0.0.199:2323/?cmd=deviceInfo&password=123&type=json: empty answer received
2021.02.13 10:23:12 3: CUL_HM set Abstellraum_Schloss statusRequest noArg
2021.02.13 10:23:12 3: CUL_HM set AbstellraumLicht off noArg
2021.02.13 10:23:12 3: CUL_HM set AbstellraumLicht off noArg
2021.02.13 10:23:23 0: HourCounter CN.PoolPumpe Run.598 first run done countsOverall:467
2021.02.13 10:23:23 0: HourCounter CN.SolarPumpe Run.598 first run done countsOverall:6460
2021.02.13 10:23:23 0: HourCounter CN.WPPool Run.598 first run done countsOverall:223
2021.02.13 10:23:23 0: HourCounter CN.GartenLicht Run.598 first run done countsOverall:595
2021.02.13 10:23:23 3: CUL_HM set GaragenLicht statusRequest noArg
2021.02.13 10:23:29 1: PERL WARNING: Number found where operator expected at (eval 254) line 1, near "--0.625"
2021.02.13 10:23:29 1: PERL WARNING: (Missing operator before 0.625?)
2021.02.13 10:23:29 1: PERL WARNING: Argument "Can't modify constant item in postdecrement (--) at (eva..." isn't numeric in sprintf at (eval 255) line 1.
2021.02.13 10:23:29 3: eval: sprintf("%.1f",ReadingsVal("SolarDiff","state",0))
2021.02.13 10:23:33 3: MQTT2_DEVICE set AR_Heizung on
2021.02.13 10:23:36 3: CUL_HM set GaragenTorAntrieb statusRequest noArg
2021.02.13 10:23:38 3: CUL_HM set AbstellraumLicht off noArg
2021.02.13 10:23:38 3: CUL_HM set Garagenlicht_innen statusRequest noArg
2021.02.13 10:23:39 3: CUL_HM set AbstellraumLicht off noArg
2021.02.13 10:23:39 3: CUL_HM set GartenLicht statusRequest noArg
2021.02.13 10:23:40 3: CUL_HM set PoolPumpe statusRequest noArg
2021.02.13 10:23:41 3: CUL_HM set SolarPumpe statusRequest noArg
2021.02.13 10:23:42 3: CUL_HM set WPPool statusRequest noArg
2021.02.13 10:23:44 3: CUL_HM set Roboter statusRequest noArg
2021.02.13 10:23:45 3: CUL_HM set Pool_auf statusRequest noArg
2021.02.13 10:23:46 3: CUL_HM set Reserve statusRequest noArg
2021.02.13 10:23:47 3: CUL_HM set PoolRollladen statusRequest noArg
2021.02.13 10:23:48 3: CUL_HM set PoolGrasBewaesserung statusRequest noArg
2021.02.13 10:23:49 3: CUL_HM set Poolbeleuchtung statusRequest noArg
pos: 2
2021.02.13 10:24:29 3: SI_Liquid_Check: WasserstandBrunnen Get <sensor_lesen> called
2021.02.13 10:24:56 2: AttrTemplates: got 217 entries
pos: 3
pos: 3
pos: 3
pos: 3
pos: 3
pos: 3
pos: 3
2021.02.13 10:31:12 3: CUL_HM set Abstellraum_Schloss unlock 0
2021.02.13 10:31:12 3: CUL_HM set AbstellraumLicht off noArg
pos: 3
pos: 3
pos: 3
pos: 3
pos: 3
pos: 3
2021.02.13 10:37:14 3: CUL_HM set AbstellraumLicht on noArg
2021.02.13 10:37:45 3: CUL_HM set AbstellraumLicht on noArg
pos: 3
pos: 3
pos: 4
pos: 4
pos: 4
pos: 4
pos: 4
pos: 4
pos: 4
2021.02.13 10:46:45 3: CUL_HM set Abstellraum_Schloss lock noArg
2021.02.13 10:46:55 3: CUL_HM set AbstellraumLicht off noArg
pos: 4
pos: 4
pos: 4
pos: 4
pos: 4
pos: 4
pos: 4
pos: 4
pos: 4
pos: 4
pos: 4


Diese Einträge pos: 2, 3, 4

Das hatte ich vorher nicht?

Gruß
helmut
System1 fhem 6.1 auf RPi 4B mit 4GB, HMUSBConfig, DS9490R-1Wire, Busware USB 868, Pool-Solarsteuerung mit FHEM. System2 fhem 6.1 auf RPi 4B mit 4GB (Bullseye) mit Busware USB 868 und 433 und HMUARTLGW für Haussteuerung

https://www.flickr.com/photos/canonhelmi/

Helmi55

#34
Servus alexander

habe jetzt noch einmal getestet:
Mit der alten Version kommen diese Pos Logeinträge nicht
2021.02.14 11:53:18 1: PERL WARNING: Argument "1467.735311.92" isn't numeric in int at ./FHEM/42_SYSMON.pm line 1623.
2021.02.14 11:53:18 1: PERL WARNING: Use of uninitialized value $idle in division (/) at ./FHEM/42_SYSMON.pm line 1626.
2021.02.14 11:53:18 1: PERL WARNING: Use of uninitialized value $idle in division (/) at ./FHEM/42_SYSMON.pm line 1628.
2021.02.14 11:53:18 1: PERL WARNING: Use of uninitialized value $neuCPUuser in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 2209.
2021.02.14 11:53:18 1: PERL WARNING: Use of uninitialized value $neuCPUnice in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 2209.
2021.02.14 11:53:18 1: PERL WARNING: Use of uninitialized value $neuCPUsystem in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 2209.
2021.02.14 11:53:18 1: PERL WARNING: Use of uninitialized value $neuCPUidle in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 2209.
2021.02.14 11:53:18 1: PERL WARNING: Use of uninitialized value $neuCPUiowait in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 2209.
2021.02.14 11:53:18 1: PERL WARNING: Use of uninitialized value $neuCPUirq in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 2209.
2021.02.14 11:53:18 1: PERL WARNING: Use of uninitialized value $neuCPUsoftirq in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 2209.
2021.02.14 11:53:50 3: SI_Liquid_Check: WasserstandBrunnen Get <sensor_lesen> called
2021.02.14 11:54:18 1: PERL WARNING: Argument "1527.715525.19" isn't numeric in int at ./FHEM/42_SYSMON.pm line 1623.
2021.02.14 11:54:18 1: PERL WARNING: Use of uninitialized value $idle in division (/) at ./FHEM/42_SYSMON.pm line 1626.
2021.02.14 11:54:18 1: PERL WARNING: Use of uninitialized value $idle in division (/) at ./FHEM/42_SYSMON.pm line 1628.
2021.02.14 11:54:18 1: PERL WARNING: Use of uninitialized value $neuCPUuser in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 2209.
2021.02.14 11:54:18 1: PERL WARNING: Use of uninitialized value $neuCPUnice in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 2209.
2021.02.14 11:54:18 1: PERL WARNING: Use of uninitialized value $neuCPUsystem in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 2209.
2021.02.14 11:54:18 1: PERL WARNING: Use of uninitialized value $neuCPUidle in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 2209.
2021.02.14 11:54:18 1: PERL WARNING: Use of uninitialized value $neuCPUiowait in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 2209.
2021.02.14 11:54:18 1: PERL WARNING: Use of uninitialized value $neuCPUirq in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 2209.
2021.02.14 11:54:18 1: PERL WARNING: Use of uninitialized value $neuCPUsoftirq in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 2209.
2021.02.14 11:55:18 1: PERL WARNING: Argument "1587.745741.97" isn't numeric in int at ./FHEM/42_SYSMON.pm line 1623.
2021.02.14 11:55:18 1: PERL WARNING: Use of uninitialized value $idle in division (/) at ./FHEM/42_SYSMON.pm line 1626.
2021.02.14 11:55:18 1: PERL WARNING: Use of uninitialized value $idle in division (/) at ./FHEM/42_SYSMON.pm line 1628.
2021.02.14 11:55:18 1: PERL WARNING: Use of uninitialized value $neuCPUuser in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 2209.
2021.02.14 11:55:18 1: PERL WARNING: Use of uninitialized value $neuCPUnice in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 2209.
2021.02.14 11:55:18 1: PERL WARNING: Use of uninitialized value $neuCPUsystem in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 2209.
2021.02.14 11:55:18 1: PERL WARNING: Use of uninitialized value $neuCPUidle in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 2209.
2021.02.14 11:55:18 1: PERL WARNING: Use of uninitialized value $neuCPUiowait in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 2209.
2021.02.14 11:55:18 1: PERL WARNING: Use of uninitialized value $neuCPUirq in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 2209.
2021.02.14 11:55:18 1: PERL WARNING: Use of uninitialized value $neuCPUsoftirq in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 2209.

jump to the top




und danach wieder deine neue Version eingespielt - ohne Fehlermeldungen, dafür aber mit diesen pos:4 Meldungen?

Nachtrag:  hab jetzt SYSMON, RPiDaten und SysValues auf disable1 gesetzt und Ruhe ist im Logfile
Daher meine Vermutung - es kann nur aus dem SYSMON Modul kommen - keine Ahnung warum.


Danke für deine Unterstützung


Gruß
Helmut
System1 fhem 6.1 auf RPi 4B mit 4GB, HMUSBConfig, DS9490R-1Wire, Busware USB 868, Pool-Solarsteuerung mit FHEM. System2 fhem 6.1 auf RPi 4B mit 4GB (Bullseye) mit Busware USB 868 und 433 und HMUARTLGW für Haussteuerung

https://www.flickr.com/photos/canonhelmi/

hexenmeister

Moin!

Sehr komisch, auf Anhieb sagt es mir nichts. Schaue mir morgen mal genauer an.
Maintainer: MQTT_GENERIC_BRIDGE, SYSMON, SMARTMON, systemd_watchdog, MQTT, MQTT_DEVICE, MQTT_BRIDGE
Contrib: dev_proxy

hexenmeister

Arrrgh! Debugausgabe drin vergessen  >:(
Probiere bitte die angehängte Version, sollte sauber sein. Wenn alles passt, werde ich diese ins Repo einchecken.
Maintainer: MQTT_GENERIC_BRIDGE, SYSMON, SMARTMON, systemd_watchdog, MQTT, MQTT_DEVICE, MQTT_BRIDGE
Contrib: dev_proxy

Helmi55

Servus und herzlichen Dank

Ruhe ist. Keine Fehlermeldungen mehr.
Kannst du mMn einchecken

Nice Weekend
Helmut
System1 fhem 6.1 auf RPi 4B mit 4GB, HMUSBConfig, DS9490R-1Wire, Busware USB 868, Pool-Solarsteuerung mit FHEM. System2 fhem 6.1 auf RPi 4B mit 4GB (Bullseye) mit Busware USB 868 und 433 und HMUARTLGW für Haussteuerung

https://www.flickr.com/photos/canonhelmi/

hexenmeister

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

Helmi55

danke

Heute ein update gefahren und alles Bestens

LG Helmut
System1 fhem 6.1 auf RPi 4B mit 4GB, HMUSBConfig, DS9490R-1Wire, Busware USB 868, Pool-Solarsteuerung mit FHEM. System2 fhem 6.1 auf RPi 4B mit 4GB (Bullseye) mit Busware USB 868 und 433 und HMUARTLGW für Haussteuerung

https://www.flickr.com/photos/canonhelmi/

Helmi55

#40
Guten Morgen,

ich habe schon wieder seit einigen Tagen Fehlermeldungen:
2021.05.24 01:49:16 1: PERL WARNING: Use of uninitialized value in int at ./FHEM/42_SYSMON.pm line 3647.
2021.05.24 01:49:16 1: PERL WARNING: Use of uninitialized value $val in int at ./FHEM/42_SYSMON.pm line 1782.
2021.05.24 01:49:16 1: PERL WARNING: Use of uninitialized value in int at ./FHEM/42_SYSMON.pm line 3538.
2021.05.24 01:49:16 1: PERL WARNING: Use of uninitialized value $entry in index at ./FHEM/42_SYSMON.pm line 2203.
2021.05.24 01:49:16 1: PERL WARNING: Use of uninitialized value $free_version in substitution (s///) at ./FHEM/42_SYSMON.pm line 2290.
2021.05.24 01:49:16 1: PERL WARNING: Use of uninitialized value $free_version in numeric gt (>) at ./FHEM/42_SYSMON.pm line 2291.


Ich kann daraus nichts deuten ? 

Kann mir bitte jemand weiterhelfen?

ja das Moduls SYSMON ist das vom 20.2.21 und das System ist up to date

LG
Helmut
System1 fhem 6.1 auf RPi 4B mit 4GB, HMUSBConfig, DS9490R-1Wire, Busware USB 868, Pool-Solarsteuerung mit FHEM. System2 fhem 6.1 auf RPi 4B mit 4GB (Bullseye) mit Busware USB 868 und 433 und HMUARTLGW für Haussteuerung

https://www.flickr.com/photos/canonhelmi/