Discussion:
Zenoss Core 4.2.3 and Printer Toner pack
Lotto
2013-02-04 06:10:31 UTC
Permalink
Lotto [http://community.zenoss.org/people/Lotto] created the discussion

"Zenoss Core 4.2.3 and Printer Toner pack"

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

--------------------------------------------------------------
I've deployed Zenoss Core 4.2.3 virtual appliance in VMWare ESXi 5.1 environment. I want to use it for printer monitoring.

I've found Printer Toner ZenPack. However, I cannot install it. I run command

*zenpack --install ZenPacks.community.PrinterToner-1.40.4-py2.4.egg*

and receive a lot of errors:

Link to http://pypi.python.org/simple/ZenPacks.community.PrinterToner/ http://pypi.python.org/simple/ZenPacks.community.PrinterToner/ ***BLOCKED*** by --allow-hosts
Couldn't find index page for 'ZenPacks.community.PrinterToner' (maybe misspelled?)
Link to http://pypi.python.org/simple/ http://pypi.python.org/simple/ ***BLOCKED*** by --allow-hosts
No local packages or download links found for ZenPacks.community.PrinterToner==1.40.4
Couldn't find index page for 'ZenPacks.community.PrinterToner' (maybe misspelled?)
No local packages or download links found for ZenPacks.community.PrinterToner==1.40.4
ERROR:zen.ZenPackCMD:Error installing ZenPack ZenPacks.community.PrinterToner-1.40.4-py2.4.egg
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 233, in InstallEggAndZenPack
    zpDists = InstallEgg(dmd, eggPath, link=link)
  File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 303, in InstallEgg
    DoEasyUninstall(eggPath)
  File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 919, in DoEasyUninstall
    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 <lambda>
    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 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
AttributeError: 'NoneType' object has no attribute 'clone'


Does it mean the pack cannot be used with the current Zenoss version?

Maybe there are other ZenPacks which can be used fo toner level monitoring?
--------------------------------------------------------------

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

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Andrew Kirch
2013-02-04 13:29:50 UTC
Permalink
Andrew Kirch [http://community.zenoss.org/people/akirch] created the discussion

"Re: Zenoss Core 4.2.3 and Printer Toner pack"

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

--------------------------------------------------------------
I'm not certain how far this zenpack went in development.  It isn't compatible with Zenoss 3 according to posts I've seen.  We have some additional information on it in our http://wiki.zenoss.org/Category:ZenPacks zenpack directory which might have a zenpack that would work better for you.
--------------------------------------------------------------

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

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Lotto
2013-02-05 04:02:50 UTC
Permalink
Lotto [http://community.zenoss.org/people/Lotto] created the discussion

"Re: Zenoss Core 4.2.3 and Printer Toner pack"

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

--------------------------------------------------------------
Andrew,

Thank you for answer. Unfortunately, there are no similar zenpacks in the directory.
--------------------------------------------------------------

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

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