Dec 1, 2013 4:41 AM
Trying to install the zenpack "HTTP Components"
-
Like (0)
Hello,
I'm new in ZenOSS I need monitoring urls in order to check if the aplication is working, so I'm trying to use the zenpack "HTTP Components" (docs/DOC-12940) I'm struggling unsuccessfully so far.
The installation process throws this error:
ERROR:zen.ZenPackCMD:Error installing ZenPack ZenPacks.community.zenHttpComponent-2.1.egg
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 243, in InstallEggAndZenPack
fromUI=fromUI)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 471, in InstallDistAsZenPack
zenPack, deferFileDeletion, existing = transactional_actions()
File "/opt/zenoss/lib/python/ZODB/transact.py", line 44, in g
r = f(*args, **kwargs)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 357, in transactional_actions
module = packEntry.load()
File "/opt/zenoss/lib/python/pkg_resources.py", line 1954, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/opt/zenoss/ZenPacks/ZenPacks.community.zenHttpComponent-2.1.egg/ZenPacks/community/zenHttpComponent/__init__.py", line 1, in <module>
from ZenPacks.community.ConstructionKit.Construct import *
File "/opt/zenoss/ZenPacks/ZenPacks.community.ConstructionKit-2.0.egg/ZenPacks/community/ConstructionKit/Construct.py", line 4, in <module>
from ZenPacks.community.ConstructionKit.CustomProperty import *
ImportError: No module named CustomProperty
ERROR:zen.ZenPackCmd:zenpack command failed
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 486, in <module>
zp.run()
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 164, in run
fromUI=self.options.fromui)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 259, in InstallEggAndZenPack
raise e
ImportError: No module named CustomProperty
I've given a try to the previous version "ZenPacks.community.zenHttpComponent-2.0.egg" but it does not work...
The zenpack "Constructionkit" is compatible with ZenOSS 4.2.x, but it has been tested with ZenOSS 4.2.4, and we're using ZenOSS 4.2.3. Do you use this zenpack over this ZenOSS version?
This is the environment:
- ZenPacks.community.ConstructionKit-2.0.egg
- ZenPacks.community.zenHttpComponent-2.1.egg
- ZenOSS 4.2.3
- CentOS 6.4
Thanks in advance!
This is a super ZenPack but it may be more than you need. I have 1.1.0 of the Construction Kit and 1.0.0 of the HttpComponent ZenPack working on Core 4.2.3.
However, if all you want to do is test a URL then you may find it easier to get started with ZenPacks.zenoss.HttpMonitor. This is one of standard bundle of Core ZenPacks that come from Zenoss and was probably installed when you installed your Zenoss Core. You can find basic instructions for it in the Zenoss Extended Monitoring guide.
The ZenPack you are working with is a community contribution and can do lots more for you - worth coming back to when you have spent a little more time with Zenoss.
Cheers,
Jane
Hello,
Thank you for your prompt response!
You are right, I have put the cart before the horse... I will try with HTTP Monitor. Maybe it isn't enough for all of our test, but it will be a good starting point.
Thanks again.
Do you actually have the file:
/opt/zenoss/ZenPacks/ZenPacks.community.ConstructionKit-2.0.egg/ZenPacks/community/ConstructionKit/CustomProperty.py
on your file system?
Joseph
I have just installed the ZenPacks.community.ConstructionKit-2.0 on my system and was running into the same error with the twill script component egg. Why is the CustomProperty.py not there and how do I get it?
I believe that I got it working. There were at least a dozen files that were not in /opt/zenoss/ZenPack/ZenPacks.community.ConstructionKit-2.0.egg/ZenPacks/community/ConstructionKit/ directory. I went here and copied and pasted all of the files in that directory in to the directory on my Zenoss instance. Once all of those files and directories were copied over I successfully installed the Synthetic Web Transaction Monitor. I haven't setup the monitor to see if I ran into any issues but so far it is looking promising.
I was able to install but the ZenPack failed. It looks like I am still missing some files.
I must be doing something wrong with the github links on the Wiki page...i changed it to use the SHA instead of the release tag (I was pretty sure all the files should be tagged but there must be something i'm missing).
Looks like that didn't work...something's wrong with my repo and not sure how to fix...any pointers?
looks like the files are in the repo, but not in the master (if you d/l direct from github)..
Thanks,
Joseph
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||