Git Product home page Git Product logo

zenpacks.community.db2mon's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

zenpacks.community.db2mon's Issues

Eggified Zenpack doesn't install

First off, thanks for creating this.

zenoss zenoss-4.2.4

I eggified the zenpack and went to install it and I get this error:

[zenoss@zenoss ~]$ zenpack --install ZenPacks.community.DB2Mon-1.0-py2.6.egg

Link to http://pypi.python.org/simple/ZenPacks.community.DB2Mon/ _BLOCKED_ by --allow-hosts

Couldn't find index page for 'ZenPacks.community.DB2Mon' (maybe misspelled?)

Link to http://pypi.python.org/simple/ _BLOCKED_ by --allow-hosts

No local packages or download links found for ZenPacks.community.DB2Mon==1.0
Couldn't find index page for 'ZenPacks.community.DB2Mon' (maybe misspelled?)
No local packages or download links found for ZenPacks.community.DB2Mon==1.0
INFO:zen.ZenPackCMD:/home/zenoss/ZenPacks.community.DB2Mon-1.0-py2.6.egg not found by easy_install. Continuing to remove.
ERROR:zen.ZenPackCMD:Error installing ZenPack ZenPacks.community.DB2Mon-1.0-py2.6.egg
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 237, in InstallEggAndZenPack
zpDists = InstallEgg(dmd, eggPath, link=link)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 306, in InstallEgg
zpDists = DoEasyInstall(eggPath)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 657, in DoEasyInstall
easy_install.main(args)
File "/opt/zenoss/lib/python/setuptools/command/easy_install.py", line 1712, in main
with_ei_usage(lambda:
File "/opt/zenoss/lib/python/setuptools/command/easy_install.py", line 1700, in with_ei_usage
return f()
File "/opt/zenoss/lib/python/setuptools/command/easy_install.py", line 1716, in
distclass=DistributionWithoutHelpCommands, **kw
File "/opt/zenoss/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/opt/zenoss/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/opt/zenoss/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/opt/zenoss/lib/python/setuptools/command/easy_install.py", line 211, in run
self.easy_install(spec, not self.no_deps)
File "/opt/zenoss/lib/python/setuptools/command/easy_install.py", line 427, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "/opt/zenoss/lib/python/setuptools/command/easy_install.py", line 478, in install_item
self.process_distribution(spec, dist, deps)
File "/opt/zenoss/lib/python/setuptools/command/easy_install.py", line 519, in process_distribution
[requirement], self.local_index, self.easy_install
File "/opt/zenoss/lib/python/pkg_resources.py", line 563, in resolve
dist = best[req.key] = env.best_match(req, self, installer)
File "/opt/zenoss/lib/python/pkg_resources.py", line 799, in best_match
return self.obtain(req, installer) # try and download/install
File "/opt/zenoss/lib/python/pkg_resources.py", line 811, in obtain
return installer(requirement)
File "/opt/zenoss/lib/python/setuptools/command/easy_install.py", line 434, in easy_install
self.local_index
File "/opt/zenoss/lib/python/setuptools/package_index.py", line 475, in fetch_distribution
return dist.clone(location=self.download(dist.location, tmpdir))
AttributeError: 'NoneType' object has no attribute 'clone'
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 164, in run
fromUI=self.options.fromui)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 263, in InstallEggAndZenPack
raise e
AttributeError: 'NoneType' object has no attribute 'clone'

Db2 Map model not working

I have the Zenpack installed:

Zenoss 4.2.4-1859

I ran the modeler which told me to install:

https://code.google.com/p/ibm-db/

to get the DSN in there and connect to a remote DB.

I have the clidriver for db2 extracted and in the home variable for the zenoss user. Any tips you can give me with the configuration of the dbd api and clidriver to get it to interface with the zenpack?

Will not work on a DB in Roll forward state or not active

In the modeler, you will not be able to run this statement if the DB is in a roll forward state or not active as in a db that is a slave:

SELECT DB_NAME, DB_STATUS, SERVER_PLATFORM FROM SYSIBMADM.SNAPDB

To get that info you have to take a metrics snapshot of the DB.

So in its current form, the zenpack will not work on a non-active db2 instance

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.