SYSMON: Qnap NAS via Telnet monitoren

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

Vorheriges Thema - Nächstes Thema

hexenmeister

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

Michi240281

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

hexenmeister

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.


Michi240281

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

hexenmeister

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


Michi240281

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

hexenmeister

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.

Michi240281

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

hexenmeister

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


Michi240281

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

hexenmeister

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?

hexenmeister

Leider verstehe ich noch nicht, wie zuden besagten Warnings kommt. Dass alle drei Werte ungültig sind - ok, aber nur zwei davon???

Aladin222

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

hexenmeister


Aladin222

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.