Nov 30, 2009 9:52 AM
ZenPacks.community.PrinterToner Problem
-
Like (0)
I was able to install the Printer Toner ZenPack, then restart zenoss. but when I try to add it to zCollectorPlugins for Class /Devices /Printer /Laser it disapers after saving it.
Any sugegstions?
Is there a log somewhere?
Thanks
I've confirmed this, digging into it now to figure out what's going on.
-Matt
So there appears to be some issue with the way the CollectorPlugin is automatically being bound. When I remove that call, it seems to work for me. You have to manually add the 'community.snmp.PrinterTonerMap' via the zProperties, but I guess a manual step is better than broken. Please try the attached ZenPack and let me know if it works. I'll upgrade it accordingly on good feedback.
-Matt
First I have removed all my plugins, and just reinstaled the 2 WMi ones. I have restarted Zenoss between each install. Upon installing your file I get this:
so it looks like I may have some of the old still installed somewhere?
Not sure.
Just did a fresh install of Zenoss. I was able to install the Zenpack, and add it to /devies/printers/laser. I addded a fresh device .
I now have the toer tab. When I click on the Toner tab I get the folowing error
-C | '' |
---|
_ZopeId | '26938790A4J7Zg4VXWY' |
---|---|
__ginger_snap | 'NmI3MzYzNjg2ZDY5NzQ3NDozMDRkNjU2ZTMxMzIzMzI0' |
ys-detail_panel | 'o%3Acollapsed%3Db%253A1' |
ys-evconsole | 'o%3Acolumns%3Da%253Ao%25253Aid%25253Ds%2525253AeventState%25255Ewidth%25253Dn%2525253A60%255Eo%25253Aid%25253Ds%2525253Aseverity%25255Ewidth%25253Dn%2525253A60%255Eo%25253Aid%25253Ds%2525253Acomponent%25255Ewidth%25253Dn%2525253A100%255Eo%25253Aid%25253Ds%2525253AeventClass%25255Ewidth%25253Dn%2525253A100%255Eo%25253Aid%25253Ds%2525253Asummary%25255Ewidth%25253Dn%2525253A817%255Eo%25253Aid%25253Ds%2525253AfirstTime%25255Ewidth%25253Dn%2525253A120%255Eo%25253Aid%25253Ds%2525253AlastTime%25255Ewidth%25253Dn%2525253A120%255Eo%25253Aid%25253Ds%2525253Acount%25255Ewidth%25253Dn%2525253A60%5Esort%3Do%253Afield%253Ds%25253Aseverity%255Edirection%253Ds%25253ADESC%5Efilters%3Do%253AdisplayFilters%253Db%25253A1%255Eoptions%253Do%25253AeventState%25253Da%2525253An%252525253A0%2525255En%252525253A1%25255Eseverity%25253Da%2525253An%252525253A4%2525255En%252525253A3%2525255En%252525253A2' |
SESSION | <bound method SessionDataManager.getSessionData of <SessionDataManager at /session_data_manager>> |
---|
HTTP_ACCEPT | 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' |
---|---|
HTTP_ACCEPT_CHARSET | 'ISO-8859-1,utf-8;q=0.7,*;q=0.7' |
HTTP_USER_AGENT | 'Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)' |
HTTP_REFERER | 'http://10.0.0.136:8080/zport/dmd/Devices/Printer/Laser/devices/10.0.0.110' |
SERVER_NAME | '0.0.0.0' |
GATEWAY_INTERFACE | 'CGI/1.1' |
channel.creation_time | 1259855458 |
SERVER_SOFTWARE | 'Zope/(Zope 2.11.2-final, python 2.4.4, linux2) ZServer/1.1' |
REMOTE_ADDR | '10.0.0.29' |
HTTP_ACCEPT_LANGUAGE | 'en-us,en;q=0.5' |
SCRIPT_NAME | '' |
REQUEST_METHOD | 'GET' |
HTTP_HOST | '10.0.0.136:8080' |
HTTP_KEEP_ALIVE | '300' |
SERVER_PORT | '8080' |
SERVER_PROTOCOL | 'HTTP/1.1' |
PATH_TRANSLATED | '/zport/dmd/Devices/Printer/Laser/devices/10.0.0.110/viewPrinterToner' |
CONNECTION_TYPE | 'keep-alive' |
HTTP_ACCEPT_ENCODING | 'gzip,deflate' |
HTTP_COOKIE | 'ys-detail_panel=o%3Acollapsed%3Db%253A1; ys-evconsole=o%3Acolumns%3Da%253Ao%25253Aid%25253Ds%2525253AeventState%25255Ewidth%25253Dn%2525253A60%255Eo%25253Aid%25253Ds%2525253Aseverity%25255Ewidth%25253Dn%2525253A60%255Eo%25253Aid%25253Ds%2525253Acomponent%25255Ewidth%25253Dn%2525253A100%255Eo%25253Aid%25253Ds%2525253AeventClass%25255Ewidth%25253Dn%2525253A100%255Eo%25253Aid%25253Ds%2525253Asummary%25255Ewidth%25253Dn%2525253A817%255Eo%25253Aid%25253Ds%2525253AfirstTime%25255Ewidth%25253Dn%2525253A120%255Eo%25253Aid%25253Ds%2525253AlastTime%25255Ewidth%25253Dn%2525253A120%255Eo%25253Aid%25253Ds%2525253Acount%25255Ewidth%25253Dn%2525253A60%5Esort%3Do%253Afield%253Ds%25253Aseverity%255Edirection%253Ds%25253ADESC%5Efilters%3Do%253AdisplayFilters%253Db%25253A1%255Eoptions%253Do%25253AeventState%25253Da%2525253An%252525253A0%2525255En%252525253A1%25255Eseverity%25253Da%2525253An%252525253A4%2525255En%252525253A3%2525255En%252525253A2; __ginger_snap="NmI3MzYzNjg2ZDY5NzQ3NDozMDRkNjU2ZTMxMzIzMzI0"; _ZopeId="26938790A4J7Zg4VXWY"' |
PATH_INFO | '/zport/dmd/Devices/Printer/Laser/devices/10.0.0.110/viewPrinterToner' |
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||