Discussion:
Reload all Eggs from Install
Dave Klotz
2013-07-02 17:47:41 UTC
Permalink
Dave Klotz [http://community.zenoss.org/people/covertequation] created the discussion

"Reload all Eggs from Install"

To view the discussion, visit: http://community.zenoss.org/message/73812#73812

--------------------------------------------------------------
Hi,

Due to a RabbitMQ crash, I was forced to do a repair of my zenoss install (one "head unit" and a collector)

Afer I completed the repair, my build did indeed work (I can use PING and it is collecting traps on the collector like a champ) however it looks like any of my ZenPacks loaded into whatever populates the UI.

I see the default ZenPacks in /opt/zenoss/ZenPacks/ as *.egg directories. If I try running zenpack --install, I ether get permission denied messages as the "zenoss" user, or as "root" I get:

File "/opt/zenoss/lib/python/Products/CMFCore/DirectoryView.py", line 621, in addDirectoryViews
     raise ValueError('Not a registered directory: %s' % reg_key)
ValueError: Not A registered Directory: Zenpacks.zenoss.HttpMonitor:/opt/zenoss/Products/ZenPacks.zenoss.HttpMonitor-2.1.0-py2.7.egg/skins

Not eactly sure what do do from here. Would like to reload all the ZenPacks as a batch, or at very least get HttpMonitor reloaded.

Any suggestions would be appreciated.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73812#73812]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
covertequation
2013-07-02 18:55:13 UTC
Permalink
covertequation [http://community.zenoss.org/people/covertequation] created the discussion

"Re: Reload all Eggs from Install"

To view the discussion, visit: http://community.zenoss.org/message/73813#73813

--------------------------------------------------------------
Tried installing it as root using the form:

zenpack --install=Zenpacks.zenoss.HttpMonitor-2.1.0-py2.7.egg/ZenPacks/zenoss/HttpMonitor/

and seem to get a slightly better error:

zen.AddToPack: Loaded 10 objects into the ZODB database
.....
AttributeError: 'module' object has no attribute '__file__'


Seems likek at least it gets to the ZODB, but is still not finishing cleanly..
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73813#73813]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
hydruid
2013-07-03 14:06:24 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: Reload all Eggs from Install"

To view the discussion, visit: http://community.zenoss.org/message/73831#73831

--------------------------------------------------------------
I recommend that you extract them from the Install RPM, copy them to a folder (e.g. /home/zenoss/zenpacks), and install them one at a time as the zenoss user.

This will save you a ton of time ;)

zenpack --install ZenPacks.zenoss.PySamba-1.0.0-py2.7-linux-x86_64.egg
zenpack --install ZenPacks.zenoss.WindowsMonitor-1.0.5-py2.7.egg
zenpack --install ZenPacks.zenoss.ActiveDirectory-2.1.0-py2.7.egg
zenpack --install ZenPacks.zenoss.ApacheMonitor-2.1.3-py2.7.egg
zenpack --install ZenPacks.zenoss.DellMonitor-2.2.0-py2.7.egg
zenpack --install ZenPacks.zenoss.DeviceSearch-1.2.0-py2.7.egg
zenpack --install ZenPacks.zenoss.DigMonitor-1.1.0-py2.7.egg
zenpack --install ZenPacks.zenoss.DnsMonitor-2.1.0-py2.7.egg
zenpack --install ZenPacks.zenoss.EsxTop-1.1.0-py2.7.egg
zenpack --install ZenPacks.zenoss.FtpMonitor-1.1.0-py2.7.egg
zenpack --install ZenPacks.zenoss.HPMonitor-2.1.0-py2.7.egg
zenpack --install ZenPacks.zenoss.HttpMonitor-2.1.0-py2.7.egg
zenpack --install ZenPacks.zenoss.IISMonitor-2.0.2-py2.7.egg
zenpack --install ZenPacks.zenoss.IRCDMonitor-1.1.0-py2.7.egg
zenpack --install ZenPacks.zenoss.JabberMonitor-1.1.0-py2.7.egg
zenpack --install ZenPacks.zenoss.LDAPMonitor-1.4.0-py2.7.egg
zenpack --install ZenPacks.zenoss.LinuxMonitor-1.2.0-py2.7.egg
zenpack --install ZenPacks.zenoss.ZenossVirtualHostMonitor-2.4.0-py2.7.egg
zenpack --install ZenPacks.zenoss.MSExchange-2.0.4-py2.7.egg
zenpack --install ZenPacks.zenoss.MSMQMonitor-1.2.1-py2.7.egg
zenpack --install ZenPacks.zenoss.MySqlMonitor-2.2.0-py2.7.egg
zenpack --install ZenPacks.zenoss.MSSQLServer-2.0.3-py2.7.egg
zenpack --install ZenPacks.zenoss.NNTPMonitor-1.1.0-py2.7.egg
zenpack --install ZenPacks.zenoss.NtpMonitor-2.2.0-py2.7.egg
zenpack --install ZenPacks.zenoss.XenMonitor-1.1.0-py2.7.egg
zenpack --install ZenPacks.zenoss.ZenAWS-1.1.0-py2.7.egg
zenpack --install ZenPacks.zenoss.ZenJMX-3.9.3-py2.7.egg
zenoss restart
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73831#73831]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...