Hallo,
seit dem ich letzte Woche meinen Pi auf Stretch gebracht habe liefert mir die Synology keine Werte mehr. Im Log erscheint folgende Meldung:
PERL WARNING: Use of uninitialized value in split at ./FHEM/32_SYSSTAT.pm line 469
aber auch:
Synology: got empty result from snmp query No response from remote host "192.168.178.33"
SMNP ist auf der Synology natürlich nach wie vor aktiv.
Hat jemand eine Idee?
Vielen Dank schon mal.
Thomas
Hallo ThomaMagnum,
hast Du das Problem gelöst? Bei mir läuft auch nach Update auf Stretch snmp zur Synology nicht mehr!
Unter dem SYSTAT sind alle snmp-Attribute verschwunden und ich kann diese nicht mehr mehr vergeben:
defmod Synology SYSSTAT 300 600 192.168.178.30
attr Synology room System
attr Synology synologytemperature 1
verschwunden:
attr Synology snmp 1
attr Synology snmpCommunity public
attr Synology snmpVersion 2
attr Synology mibs .1.3.6.1.4.1.6574.2.1.1.6.0:temp_hdd1 ,.1.3.6.1.4.1.6574.2.1.1.5.0:state_hdd1
Versuch diese neu anzulegen:
attr Synology snmpCommunity public
scheitert:
Synology: unknown attribute snmpCommunity. Type 'attr Synology ?' for a detailed list.
Gruß
Moewe
hmmm bei mir dasselbe
Hat jemand dafür eine Lösung?
Danke
Nachdem ich nochmal
Die Pakete installiert hatte
Notes:
This module needs Sys::Statistics::Linux on Linux.
It can be installed with 'cpan install Sys::Statistics::Linux'
or on debian with 'apt-get install libsys-statistics-linux-perl'
To monitor a target by snmp Net::SNMP hast to be installed.
die waren nicht mehr vorhanden und ich das Device komplett neu angelegt habe läuft es wieder
Kann ich bestätigen, war bei mir auch so. Allerdings brauche ich die Define's nicht alle wieder neu anlegen.
(Attribute stehen ja weiterhin in der fhem.cfg drin)
Nach einem Reboot war alles wie immer :)
Folgendes habe ich zuvor nochmal installiert:
cpan install Sys::Statistics::Linux
sudo apt-get install -y snmpd snmp snmp-mibs-downloader
sudo cpan install use Net::SNMP
Bei einem größerem Upgrade (also perl), wird und kann cpan nicht aktuallisiert werden, d.h. die Module können dann nicht mehr vorhanden sein!
Also sollte man sich immer reiflich überlegen, ob man cpan verwendet.
Also nicht:
cpan install Sys::Statistics::Linux
besser:
apt-get install libsys-statistics-linux-perl
Analog mit Net::SNMP