<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:clearspace="http://www.jivesoftware.com/xmlns/clearspace/rss" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>ZenPacks : Printer Toner : Comments</title>
    <link>http://community.zenoss.org/docs/DOC-3424#comments</link>
    <description>Comments on : Printer Toner</description>
    <language>en</language>
    <pubDate>Thu, 04 Feb 2010 09:10:54 GMT</pubDate>
    <generator>Jive SBS 4.5.6.2  (http://jivesoftware.com/products/clearspace/)</generator>
    <dc:date>2010-02-04T09:10:54Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>RE: Printer Toner</title>
      <link>http://community.zenoss.org/docs/DOC-3424#comments-1716</link>
      <description>&lt;!-- [DocumentBodyStart:5ca6520b-b308-4e25-bc5a-8d536653ed86] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;unfortunately I added the plugin in the printer/laser class but when I click save it refresh the page without any change, the community.snmp.printertonermap doesnt show in the saved plugins ??&lt;/p&gt;&lt;p&gt;why ..........? anyone can help me&amp;#160; &lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:5ca6520b-b308-4e25-bc5a-8d536653ed86] --&gt;</description>
      <pubDate>Thu, 04 Feb 2010 09:10:54 GMT</pubDate>
      <author>community@zenoss.org</author>
      <guid>http://community.zenoss.org/docs/DOC-3424#comments-1716</guid>
      <dc:date>2010-02-04T09:10:54Z</dc:date>
      <clearspace:dateToText>4 years, 1 month ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>RE: Printer Toner</title>
      <link>http://community.zenoss.org/docs/DOC-3424#comments-1751</link>
      <description>&lt;!-- [DocumentBodyStart:001e5a2f-ac99-42e3-b1a4-c441ece64b74] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I added this Zenpack to but I have the following error :&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Traceback (most recent call last):&amp;#160;&amp;#160; File "/usr/local/zenoss/zenoss/Products/DataCollector/zenmodeler.py",&amp;#160; line 612, in processClient&amp;#160;&amp;#160;&amp;#160;&amp;#160; datamaps = plugin.process(device, results, self.log)&amp;#160;&amp;#160; File&amp;#160; "/usr/local/zenoss/zenoss/ZenPacks/ZenPacks.community.PrinterToner-1.40.4-py2.4.egg/ZenPacks/community/PrinterToner/modeler/plugins/community/snmp/PrinterTonerMap.py",&amp;#160; line 97, in process&amp;#160;&amp;#160;&amp;#160;&amp;#160; print "MAPS: ", om UnboundLocalError: local variable 'om' referenced before assignment.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;How can I fix that??&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Regards&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:001e5a2f-ac99-42e3-b1a4-c441ece64b74] --&gt;</description>
      <pubDate>Fri, 05 Feb 2010 11:10:46 GMT</pubDate>
      <author>community@zenoss.org</author>
      <guid>http://community.zenoss.org/docs/DOC-3424#comments-1751</guid>
      <dc:date>2010-02-05T11:10:46Z</dc:date>
      <clearspace:dateToText>4 years, 1 month ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>RE: Printer Toner</title>
      <link>http://community.zenoss.org/docs/DOC-3424#comments-1796</link>
      <description>&lt;!-- [DocumentBodyStart:6bfe0921-d008-4210-8146-0ff1f708ba34] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I also made this first: tried to change collector plugins set for working printer instance (and I also have seen disappearing plugin from list after pressing [save]).&lt;/p&gt;&lt;p&gt;Then I restarted Zenoss, deleted my printer device and re-added it from /Devices/Printer/Laser. After modelling I saw new tab: printer cartrige proper indicating my cartgige model, status and usage graph.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;NB: It may be not necessary to delete device, maybe restarting Zenoss is enough (I had the only printer in my environment and can't repeat experiment).&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Strange: I don't see collector plugin neither at printer device nor at /Devices/Printer/Laser class, but I'm new in Zenoss, is it normal ?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:6bfe0921-d008-4210-8146-0ff1f708ba34] --&gt;</description>
      <pubDate>Mon, 22 Feb 2010 10:01:12 GMT</pubDate>
      <author>community@zenoss.org</author>
      <guid>http://community.zenoss.org/docs/DOC-3424#comments-1796</guid>
      <dc:date>2010-02-22T10:01:12Z</dc:date>
      <clearspace:dateToText>4 years, 2 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>RE: Printer Toner</title>
      <link>http://community.zenoss.org/docs/DOC-3424#comments-1847</link>
      <description>&lt;!-- [DocumentBodyStart:4567b035-5025-41d8-8ec2-68066f10cf69] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Any help with this? Zenoss core 2.5&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Traceback (most recent call last):&lt;br/&gt;File "/usr/local/zenoss/zenoss/Products/DataCollector/zenmodeler.py", line 612, in processClient&lt;br/&gt;datamaps = plugin.process(device, results, self.log)&lt;br/&gt;File "/usr/local/zenoss/zenoss/ZenPacks/ZenPacks.community.PrinterToner-1.40.4-py2.4.egg/ZenPacks/community/PrinterToner/modeler/plugins/community/snmp/PrinterTonerMap.py", line 97, in process&lt;br/&gt;print "MAPS: ", om&lt;br/&gt;UnboundLocalError: local variable 'om' referenced before assignment&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:4567b035-5025-41d8-8ec2-68066f10cf69] --&gt;</description>
      <pubDate>Fri, 26 Mar 2010 15:49:58 GMT</pubDate>
      <author>community@zenoss.org</author>
      <guid>http://community.zenoss.org/docs/DOC-3424#comments-1847</guid>
      <dc:date>2010-03-26T15:49:58Z</dc:date>
      <clearspace:dateToText>3 years, 11 months ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>RE: Printer Toner</title>
      <link>http://community.zenoss.org/docs/DOC-3424#comments-1919</link>
      <description>&lt;!-- [DocumentBodyStart:412ff109-207f-4b85-837a-77478d622cb8] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;First of all, I would like to thank you very much for the plugin!&lt;/p&gt;&lt;p&gt;I have a little question/requirement: I am trying to use the plugin to monitor two Konica Minolta printers.&lt;/p&gt;&lt;p&gt;I think because of the bad minolta implementation of the snmp, in the equipment table I can see a lot of internal devices (that are suitable to deteriorate and to change) but both the maximum value and the current value are negatives (so, invalid). Do you think it would be useful to add a control in order to hide the equipments that have negative values? (otherwise, zxenoss always report them as "in alarm state")&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;Marco&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;P.S.&lt;/p&gt;&lt;p&gt;in case you need it, I can give you the entire output of the snmpwalk...&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:412ff109-207f-4b85-837a-77478d622cb8] --&gt;</description>
      <pubDate>Tue, 13 Apr 2010 07:40:22 GMT</pubDate>
      <author>community@zenoss.org</author>
      <guid>http://community.zenoss.org/docs/DOC-3424#comments-1919</guid>
      <dc:date>2010-04-13T07:40:22Z</dc:date>
      <clearspace:dateToText>3 years, 11 months ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>RE: Printer Toner</title>
      <link>http://community.zenoss.org/docs/DOC-3424#comments-1980</link>
      <description>&lt;!-- [DocumentBodyStart:51bb4fe8-3df1-4884-80db-a6e76bf3cdd1] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I don't know if Tonino is still working on this Zenpack, but I've been checking the __init__.py file which actually processes the update of the zProperties on the Printer.Laser class when installing or removing the pack. Right now, we can get errors while trying to update zCollectorPlugins. Also, the zPythonClass property in not reset after removing the pack.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;There are also other small details that I would be happy to discuss. In the mean time, here is a diff for the changes that a mentioned:&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;23,24c23,25&lt;br/&gt;&amp;lt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; new_plugin = "community.snmp.PrinterTonerMap"&lt;br/&gt;&amp;lt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; #object = app.zport.dmd.Devices.Printer.Laser&lt;br/&gt;---&lt;br/&gt;&amp;gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; new_plugin = 'community.snmp.PrinterTonerMap'&lt;br/&gt;&amp;gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; new_class = 'ZenPacks.community.PrinterToner.PrinterTonerDevice'&lt;br/&gt;&amp;gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; new_organizer = 'Devices/Printer/Laser'&lt;br/&gt;30,31c31,32&lt;br/&gt;&amp;lt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; dc._setProperty('zPythonClass', 'ZenPacks.community.PrinterToner.PrinterTonerDevice')&lt;br/&gt;&amp;lt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; self.modifyPlugins(app.zport.dmd.Devices.Printer.Laser,"add")&lt;br/&gt;---&lt;br/&gt;&amp;gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; self.modifyCollectorPlugins(dc, "add")&lt;br/&gt;&amp;gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; self.modifyPythonClass(dc, "add")&lt;br/&gt;35c36,38&lt;br/&gt;&amp;lt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; self.modifyPlugins(app.zport.dmd.Devices.Printer.Laser,"add")&lt;br/&gt;---&lt;br/&gt;&amp;gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; dc&amp;#160; = app.zport.dmd.Devices.getOrganizer('Devices/Printer/Laser')&lt;br/&gt;&amp;gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; self.modifyCollectorPlugins(dc, "add")&lt;br/&gt;&amp;gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; self.modifyPythonClass(dc, "add")&lt;br/&gt;38c41,43&lt;br/&gt;&amp;lt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; self.modifyPlugins(app.zport.dmd.Devices.Printer.Laser,"remove")&lt;br/&gt;---&lt;br/&gt;&amp;gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; dc&amp;#160; = app.zport.dmd.Devices.getOrganizer('Devices/Printer/Laser')&lt;br/&gt;&amp;gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; self.modifyCollectorPlugins(dc, "remove")&lt;br/&gt;&amp;gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; self.modifyPythonClass(dc, "remove")&lt;br/&gt;42,48c47,60&lt;br/&gt;&amp;lt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; def modifyPlugins(self, obj, action):&lt;br/&gt;&amp;lt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; newPlugins = []&lt;br/&gt;&amp;lt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; for plugin in obj.zCollectorPlugins:&lt;br/&gt;&amp;lt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; if plugin == self.new_plugin:&lt;br/&gt;&amp;lt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; continue&lt;br/&gt;&amp;lt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; else:&lt;br/&gt;&amp;lt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; newPlugins.append(plugin)&lt;br/&gt;---&lt;br/&gt;&amp;gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; def modifyCollectorPlugins(self, obj, action):&lt;br/&gt;&amp;gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; plugins = []&lt;br/&gt;&amp;gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; for plugin in obj.getProperty('zCollectorPlugins'):&lt;br/&gt;&amp;gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; if plugin != self.new_plugin:&lt;br/&gt;&amp;gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; plugins.append(plugin)&lt;br/&gt;&amp;gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; if action == "add":&lt;br/&gt;&amp;gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; plugins.append(self.new_plugin)&lt;br/&gt;&amp;gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; try: obj._delProperty('zCollectorPlugins')&lt;br/&gt;&amp;gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; except: pass&lt;br/&gt;&amp;gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; obj._setProperty('zCollectorPlugins', plugins)&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; def modifyPythonClass(self, obj, action):&lt;br/&gt;&amp;gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; try: obj._delProperty('zPythonClass')&lt;br/&gt;&amp;gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; except: pass&lt;br/&gt;50,51c62&lt;br/&gt;&amp;lt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; newPlugins.append(self.new_plugin)&lt;br/&gt;&amp;lt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; obj.zCollectorPlugins = newPlugins&lt;br/&gt;---&lt;br/&gt;&amp;gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; obj._setProperty('zPythonClass', self.new_class)&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:51bb4fe8-3df1-4884-80db-a6e76bf3cdd1] --&gt;</description>
      <pubDate>Thu, 29 Apr 2010 18:14:04 GMT</pubDate>
      <author>community@zenoss.org</author>
      <guid>http://community.zenoss.org/docs/DOC-3424#comments-1980</guid>
      <dc:date>2010-04-29T18:14:04Z</dc:date>
      <clearspace:dateToText>3 years, 10 months ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>RE: Printer Toner</title>
      <link>http://community.zenoss.org/docs/DOC-3424#comments-3316</link>
      <description>&lt;!-- [DocumentBodyStart:7b0b681a-a576-4c98-abbc-8ae68dd261e1] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I'm trying to get these modifications working, but it seems like uder the modifyPythonClass function, there is something missing. There is no branching based on action.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;If you have the whole modified file, could you post it?&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Help?&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;At this point I can't remove the ZenPack, and it's still not showing me the extra tab in the printers.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:7b0b681a-a576-4c98-abbc-8ae68dd261e1] --&gt;</description>
      <pubDate>Wed, 19 Jan 2011 16:53:29 GMT</pubDate>
      <author>community@zenoss.org</author>
      <guid>http://community.zenoss.org/docs/DOC-3424#comments-3316</guid>
      <dc:date>2011-01-19T16:53:29Z</dc:date>
      <clearspace:dateToText>3 years, 1 month ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>RE: Printer Toner</title>
      <link>http://community.zenoss.org/docs/DOC-3424#comments-5772</link>
      <description>&lt;!-- [DocumentBodyStart:154afab0-3f96-4d07-8653-23f5e8d8d509] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;In vmware appliance 3.2.1 It works better than nmsnetworkprinter zenpack. Before install is needed only rename to py2.6, and works without problem.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:154afab0-3f96-4d07-8653-23f5e8d8d509] --&gt;</description>
      <pubDate>Tue, 19 Jun 2012 10:10:42 GMT</pubDate>
      <author>community@zenoss.org</author>
      <guid>http://community.zenoss.org/docs/DOC-3424#comments-5772</guid>
      <dc:date>2012-06-19T10:10:42Z</dc:date>
      <clearspace:dateToText>1 year, 8 months ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

