JosefJezek / ZenPacks.community.Synology

Monitoring for Synology Servers
GNU General Public License v2.0
0 stars 1 forks source link

SSD disk in Warning #2

Open capoitaly opened 9 years ago

capoitaly commented 9 years ago

Hi, thank you very much for your great work! I'm using your ZenPack on a Synology RS3412RP with 2 SSD disks configured as SSD cache. SSD disks immediately gone in Warning with the following error: threshold of Disk Status Change exceeded: current value 3.000000

JosefJezek commented 9 years ago

See http://ukdl.synology.com/download/Document/MIBGuide/Synology_DiskStation_MIB_Guide.pdf

Key word: diskStatus ;-)

ship-apalacios commented 8 years ago

Greetings,

Do you still support this wonderful ZenPack? Specifically under zenoss_core-4.2.5-2108?

Asking because I'm trying to do a large-scale Zenoss-4.2.5 deployment across +25 datacenters and, after reading your instructions (and trying different things/tricks), haven't been able to "zenpack -v 5 --install /tmp/ZenPacks/ZenPacks.community.Synology-1.0.0.zip" (as zenoss user).

I've installed other ZenPacks no-problem; With yours, I get:

ERROR zen.ZenPackCmd: zenpack command failed
Traceback (most recent call last):

File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 487, in zp.run() File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 183, in run self.install(packName) File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 325, in install zp.install(self.app) File "/opt/zenoss/Products/ZenModel/ZenPack.py", line 240, in install loader.load(self, app) File "/opt/zenoss/Products/ZenModel/ZenPackLoader.py", line 315, in load registerSkin(app.zport.dmd, skinsDir) File "/opt/zenoss/Products/ZenUtils/Skins.py", line 66, in registerSkin addDirectoryViews(skinstool, path, dict(name=root)) File "/opt/zenoss/lib/python/Products/CMFCore/DirectoryView.py", line 612, in addDirectoryViews package = getPackageName(_prefix) File "/opt/zenoss/lib/python/Products/CMFCore/utils.py", line 867, in getPackageName return getContainingPackage(module) File "/opt/zenoss/lib/python/Products/CMFCore/utils.py", line 847, in getContainingPackage mod = sys.modules[name] in KeyError: 'ZenPacks.community.Synology-1.0.0'

I must be missing something silly; Thanks in advance for your help!

frankyjoa commented 8 years ago

https://github.com/JosefJezek/ZenPacks.community.Synology#zenpacks

Have you installed the required ZenPack ConstructionKit?

ship-apalacios commented 8 years ago

Thx for your reply; Yes, I've installed the required ZenPack http://wiki.zenoss.org/download/zenpacks/ZenPacks.community.ConstructionKit/2.5/ZenPacks.community.ConstructionKit-2.5.egg Name ZenPacks.community.ConstructionKit Version 2.5 Author Joseph Anderson

I've even tried doing all of this from scratch (new server, fresh Zenoss-4.2.5 install with nothing else); Tried recompressing your ZIP image as ZenPacks.community.Synology-1.0.0-py2.7.zip thinking there might be some Zenoss script looking for the python version (when using the GUI to install your ZenPack) but, no luck. Will try again from scratch and see. Any ideas are welcome; Thanks again for your help!

frankyjoa commented 8 years ago

I installed the ConstructionKit and Synology pack on 4.2.5 last week without any problems. The only difference I see from your comment is that I used cli ton install. (git/clone/zenpack --link...)

Give it a try.

cd /opt/zenoss/ZenPacks/ git clone https://github.com/j053ph4/ZenPacks.community.ConstructionKit.git zenpack --link --install /opt/zenoss/ZenPacks/ZenPacks.community.ConstructionKit zenoss restart git clone https://github.com/JosefJezek/ZenPacks.community.Synology.git zenpack --link --install ZenPacks.community.Synology zenoss restart

ship-apalacios commented 8 years ago

Will do and let you know; BTW, I'm using RedHat 6.7 with "limited" Internet access in which I have to manually download RPMs/files to then manually do installs... Will try to get full Internet access and then try using standard GitHub as you suggested; This will take me some time, but will definitively let you know; Thanks!

ship-apalacios commented 8 years ago

EUREKA!! Using suggested "git clone" commands instead of the "download" button did the trick!!!

  1. Downloaded ConstructionKit and your Synology ZenPacks using suggested "git clone" commands.
  2. Remote-copied ZenPacks onto Zenoss server as follow: scp -r ZenPacks.community.ConstructionKit ZenPacks.community.Synology root@MyZenossServer:/opt/zenoss/ZenPacks/
  3. chown -R zenoss:zenoss /opt/zenoss/ZenPacks/ZenPacks.community.ConstructionKit /opt/zenoss/ZenPacks/ZenPacks.community.Synology
  4. Ran following commands as user zenoss (su - zenoss): cd /opt/zenoss/ZenPacks zenpack --link --install ZenPacks.community.ConstructionKit zenoss restart zenpack --link --install ZenPacks.community.Synology zenoss restart

Now I can model/monitor my Synology devices! Thanks for your help! And for such great ZenPack!