Archived community.zenoss.org | full text search
Skip navigation
1371 Views 7 Replies Latest reply: Dec 6, 2013 12:33 PM by j053ph4 RSS
argmac Newbie 2 posts since
Nov 9, 2013
Currently Being Moderated

Dec 1, 2013 4:41 AM

Trying to install the zenpack "HTTP Components"

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!

  • jcurry ZenossMaster 1,021 posts since
    Apr 15, 2008
    Currently Being Moderated
    1. Dec 1, 2013 5:12 AM (in response to argmac)
    Re: Trying to install the zenpack "HTTP Components"

    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

  • j053ph4 Rank: Green Belt 290 posts since
    Dec 19, 2008
    Currently Being Moderated
    3. Dec 3, 2013 2:53 PM (in response to argmac)
    Re: Trying to install the zenpack "HTTP Components"

    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

  • John Komara Rank: White Belt 8 posts since
    Oct 29, 2013
    Currently Being Moderated
    4. Dec 5, 2013 2:20 PM (in response to j053ph4)
    Re: Trying to install the zenpack "HTTP Components"

    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?

  • John Komara Rank: White Belt 8 posts since
    Oct 29, 2013
    Currently Being Moderated
    5. Dec 5, 2013 3:09 PM (in response to argmac)
    Re: Trying to install the zenpack "HTTP Components"

    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.

  • John Komara Rank: White Belt 8 posts since
    Oct 29, 2013
    Currently Being Moderated
    6. Dec 6, 2013 12:25 PM (in response to John Komara)
    Re: Trying to install the zenpack "HTTP Components"

    I was able to install but the ZenPack failed. It looks like I am still missing some files.

  • j053ph4 Rank: Green Belt 290 posts since
    Dec 19, 2008
    Currently Being Moderated
    7. Dec 6, 2013 12:33 PM (in response to argmac)
    Re: Trying to install the zenpack "HTTP Components"

    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

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points